use extend for correct compile

This commit is contained in:
Frank "PHiAX" Weggelaar 2026-01-30 23:59:00 +01:00
parent 84d5b204e6
commit fb37f6c0fe

View file

@ -36,12 +36,12 @@ sun:
- light.turn_on:
id: light_switch
# time:
# - platform: sntp
# on_time:
# - seconds: 0
# minutes: 30
# hours: 23
# then:
# - light.turn_off:
# id: light_switch
time:
- id: !extend sntp_time
on_time:
- seconds: 0
minutes: 30
hours: 23
then:
- light.turn_off:
id: light_switch