[sonos] Fix night mode automation
Did not work, as the automation was set to run at 22:30, but set night mode to HOUR > 22.
This commit is contained in:
parent
118367194c
commit
2c3b7fbb7b
|
@ -5,7 +5,7 @@ automation:
|
|||
entity_id: media_player.den
|
||||
data_template:
|
||||
night_sound: >-
|
||||
{{ now().hour > 22 }}
|
||||
{{ now().hour >= 22 }}
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '22:30:00'
|
||||
|
|
Loading…
Reference in New Issue