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.
This commit is contained in:
Ben Melchior
2026-04-20 21:00:56 +02:00
parent 56e3da75a0
commit 52b0376aca
16 changed files with 472 additions and 920 deletions
+5
View File
@@ -0,0 +1,5 @@
# Gitignore settings for ESPHome
# This is an example and may include too much for your use-case.
# You can modify this file to suit your needs.
/.esphome/
/secrets.yaml
+50
View File
@@ -0,0 +1,50 @@
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
+61
View File
@@ -0,0 +1,61 @@
esphome:
name: fenstersensor
friendly_name: Fenstersensor
esp32:
board: esp32dev
variant: esp32
framework:
type: arduino
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: 8s
esp32_ext1_wakeup:
pins:
- number: GPIO4
allow_other_uses: true
- number: GPIO13
allow_other_uses: true
mode: ANY_HIGH
binary_sensor:
- platform: gpio
pin:
number: GPIO4
mode: INPUT_PULLUP
inverted: true
allow_other_uses: true
name: "Fenster 1"
device_class: window
filters:
- delayed_on: 50ms
- delayed_off: 50ms
- platform: gpio
pin:
number: GPIO13
mode: INPUT_PULLUP
inverted: true
allow_other_uses: true
name: "Fenster 2"
device_class: window
filters:
- delayed_on: 50ms
- delayed_off: 50ms