From b31d896ba4f192b85f466e044d37375648f4d4c9 Mon Sep 17 00:00:00 2001 From: taschenbier Date: Thu, 28 Oct 2021 23:01:36 +0200 Subject: [PATCH] adding 3-button-board --- 3-button-board.yaml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 3-button-board.yaml diff --git a/3-button-board.yaml b/3-button-board.yaml new file mode 100644 index 0000000..47160ab --- /dev/null +++ b/3-button-board.yaml @@ -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 \ No newline at end of file