use platform isntead of trigger
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user