Files
hass/esphome/archive/reedsensor.yaml
T
Ben Melchior 52b0376aca Update Home Assistant configuration and automations
- Updated .ha_run.lock to reflect the new Home Assistant version 2026.4.2.
- Enhanced automations.yaml with improved entity targeting and additional automation actions for window shading.
- Refactored configuration.yaml to include templates from a separate file for better organization.
- Added new ESPHome configurations for window sensors and updated KNX configurations for door contacts and buttons.
- Removed deprecated pv_to_dhw.yaml package to streamline the project.
2026-04-20 21:00:56 +02:00

50 lines
818 B
YAML

esphome:
name: fenstersensor
friendly_name: Fenstersensor
esp8266:
board: d1_mini
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
min_auth_mode: WPA2
api:
encryption:
key: !secret api_key
ota:
- platform: esphome
password: !secret ota_password
logger:
deep_sleep:
id: deep_sleep_control
run_duration: 15s
sleep_duration: 60min
binary_sensor:
- platform: gpio
pin:
number: D1
mode: INPUT_PULLUP
inverted: true
name: "Fenster 1"
device_class: window
filters:
- delayed_on: 50ms
- delayed_off: 50ms
- platform: gpio
pin:
number: D2
mode: INPUT_PULLUP
inverted: true
name: "Fenster 2"
device_class: window
filters:
- delayed_on: 50ms
- delayed_off: 50ms