[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:
Correl Roush 2018-12-31 15:05:10 -05:00
parent 118367194c
commit 2c3b7fbb7b
1 changed files with 1 additions and 1 deletions

View File

@ -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'