mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
Fix automation
This commit is contained in:
@@ -59,7 +59,7 @@ automation:
|
||||
entity_id: group.bedroom_windows
|
||||
condition:
|
||||
- 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
|
||||
conditions:
|
||||
- condition: state
|
||||
|
||||
Reference in New Issue
Block a user