Esphome
This commit is contained in:
@@ -85,6 +85,28 @@ sensor:
|
||||
i2c_id: bus_a
|
||||
address: 0x76
|
||||
update_interval: 1s
|
||||
|
||||
# - platform: gpio
|
||||
# id: switch_output1
|
||||
# name: "a8-output1"
|
||||
# pin:
|
||||
# pcf8574: pcf8574_hub_out_1
|
||||
# number: 0
|
||||
# mode: OUTPUT
|
||||
# inverted: true
|
||||
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: switch_output1
|
||||
pin: GPIO5
|
||||
inverted: True
|
||||
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: "Pin GPIO21"
|
||||
pin: GPIO21
|
||||
|
||||
web_server:
|
||||
port: 80
|
||||
|
||||
Reference in New Issue
Block a user