Deurbel: Naar D4

This commit is contained in:
Bart Geesink 2023-11-26 14:58:19 +01:00
parent c2c4837654
commit 02a6850909

View File

@ -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