1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

Allow tm1637 to use pins from IO expanders (#1058)

* Allow tm1637 to use pins from IO expanders

* Add test for io expander pins
This commit is contained in:
Jesse Hills
2020-05-19 10:13:29 +12:00
committed by GitHub
parent 7fa5cab8e3
commit 26d6738abb
2 changed files with 12 additions and 2 deletions

View File

@@ -1478,6 +1478,16 @@ display:
intensity: 3
lambda: |-
it.print("1234");
- platform: tm1637
clk_pin:
mcp23017: mcp23017_hub
number: 1
dio_pin:
mcp23017: mcp23017_hub
number: 2
intensity: 3
lambda: |-
it.print("1234");
- platform: nextion
lambda: |-
it.set_component_value("gauge", 50);