1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Fix pin/component switchup in SX1509 pin configuration (#2593)

This commit is contained in:
Oxan van Leeuwen
2021-10-21 19:55:19 +02:00
committed by GitHub
parent 8735d3b83e
commit c0fc5b48ae
3 changed files with 13 additions and 2 deletions

View File

@@ -59,6 +59,10 @@ tuya:
pipsolar:
id: inverter0
sx1509:
- id: sx1509_hub
address: 0x3E
sensor:
- platform: homeassistant
entity_id: sensor.hello_world
@@ -209,6 +213,7 @@ sensor:
- or:
- throttle: "20min"
- delta: 0.02
#
# platform sensor.apds9960 requires component apds9960
#
@@ -308,6 +313,11 @@ binary_sensor:
y_max: 212
on_state:
- lambda: 'ESP_LOGI("main", "key0: %s", (x ? "touch" : "release"));'
- platform: gpio
name: GPIO SX1509 test
pin:
sx1509: sx1509_hub
number: 3
climate:
- platform: tuya