jrel
(Jan)
1
Hey, the following is not working but calling the routine manually works fine. So sun trigger has an issue:
alias: WZ SZ - sundown an
description: ''
trigger:
- platform: sun
event: sunset
offset: '-50'
condition: []
action:
- type: turn_on
device_id: X
entity_id: light.sz
domain: light
brightness_pct: 40
mode: single
Tried different and no offset. Did not change anything.
123
(Taras)
2
Express the amount of offset in HH:MM:SS
format. For example, an offset of 50 minutes is:
offset: '00:50:00'
For more information, refer to Sun Trigger.
jrel
(Jan)
3
yeah tried that already.
But still - no difference.
123
(Taras)
4
Copy-paste this into the Template Editor and confirm it reports a valid sunrise time for tomorrow morning at your location:
{{ state_attr('sun.sun', 'next_rising') | as_datetime | as_local }}
If it doesn’t then it implies the system clock isn’t set correctly and/or the timezone offset is incorrect.