change offset to after_offset so validation will pass (#7975)

This commit is contained in:
John Shahawy 2018-12-30 04:12:06 -05:00 committed by Fabian Affolter
parent 6c80a604e2
commit faa201ff7c
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F

View File

@ -44,7 +44,7 @@ And then of course turn off the lamp when it stops raining but only if it's with
condition:
- condition: sun
after: 'sunset'
offset: '-01:00:00'
after_offset: '-01:00:00'
action:
service: light.turn_off
entity_id: light.couch_lamp