use platform isntead of trigger

This commit is contained in:
2025-12-13 15:00:07 +01:00
parent 9e1909e690
commit 770e5a1884

View File

@@ -148,14 +148,14 @@ variables:
{% endif %} {% endif %}
triggers: triggers:
- trigger: state - platform: state
entity_id: entity_id:
- !input window_sensor - !input window_sensor
from: "off" from: "off"
to: "on" to: "on"
for: !input window_delay_open for: !input window_delay_open
id: FENSTER_OPEN id: FENSTER_OPEN
- trigger: state - platform: state
entity_id: entity_id:
- !input window_sensor - !input window_sensor
from: "on" from: "on"