You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
742 B
43 lines
742 B
<<: !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 |