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:
@@ -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
|
||||
Reference in New Issue
Block a user