diff --git a/esphome/deurbel.yml b/esphome/deurbel.yml index 989656a..71c9b00 100644 --- a/esphome/deurbel.yml +++ b/esphome/deurbel.yml @@ -1,5 +1,5 @@ esphome: - name: deurbel + name: deurbelletje esp8266: board: d1_mini @@ -7,6 +7,17 @@ esp8266: # Enable logging logger: +time: + - platform: homeassistant + id: homeassistant_time + +text_sensor: + - platform: version + name: Doorbell ESPHome version + +sensor: + - platform: uptime + name: Doorbell Uptime # Enable Home Assistant API api: password: "ncc1701D" @@ -27,6 +38,10 @@ captive_portal: binary_sensor: - platform: gpio - pin: D3 + pin: + number: D4 + mode: INPUT_PULLUP + inverted: true + filters: + - delayed_off: 3000ms # prevents from re-ringing within 3 seconds name: "deurbelsignaal" - device_class: opening