taschenbier
3 years ago
1 changed files with 43 additions and 0 deletions
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
<<: !include secrets.yaml |
||||
|
||||
esphome: |
||||
name: tmechen_esphome_schaltertest |
||||
platform: ESP8266 |
||||
board: d1_mini |
||||
|
||||
wifi: |
||||
ssid: $wifi_ssid |
||||
password: $wifi_password |
||||
|
||||
ota: |
||||
password: $ota_password |
||||
|
||||
logger: |
||||
|
||||
mqtt: |
||||
broker: $mqtt_host |
||||
port: $mqtt_port |
||||
username: $mqtt_user |
||||
password: $mqtt_password |
||||
client_id: lugsaar_esphome_3-button-board |
||||
topic_prefix: buttons |
||||
|
||||
binary_sensor: |
||||
- platform: gpio |
||||
pin: |
||||
number: GPIO12 |
||||
inverted: True |
||||
mode: INPUT_PULLUP |
||||
name: button_yellow |
||||
- platform: gpio |
||||
pin: |
||||
number: GPIO13 |
||||
inverted: True |
||||
mode: INPUT_PULLUP |
||||
name: button_green |
||||
- platform: gpio |
||||
pin: |
||||
number: GPIO14 |
||||
inverted: True |
||||
mode: INPUT_PULLUP |
||||
name: button_red |
Loading…
Reference in new issue