mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Fix automation
This commit is contained in:
@@ -59,7 +59,7 @@ automation:
|
|||||||
entity_id: group.bedroom_windows
|
entity_id: group.bedroom_windows
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_datetime.alarm_time')[0:2] | int >= now().hour }}"
|
value_template: "{{ now().hour >= states('input_datetime.alarm_time')[0:2]|int }}"
|
||||||
- condition: not
|
- condition: not
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
|
|||||||
Reference in New Issue
Block a user