esphome: name: shys_klingel_d1mini platform: ESP8266 board: d1_mini wifi: ssid: !secret WLanSSID password: !secret WLanPassword ap: ssid: "SHYS_Klingel" password: "gWef1LCbEILB" captive_portal: logger: api: password: !secret HA_API_Password ota: password: !secret HA_OTA_Password binary_sensor: - platform: gpio id: door_bell_button name: "Klingeltaster" pin: D3 filters: - invert: - delayed_off: 500ms on_press: then: - switch.turn_on: beeper on_release: then: - switch.turn_off: beeper switch: - platform: gpio pin: D4 id: beeper name: "Piezzo Beeper"