Use sunset event

This commit is contained in:
2020-05-16 14:33:22 +03:00
parent 77c222c696
commit a40272f5e3
@@ -37,10 +37,8 @@ automation:
- alias: Lighting · Temperature · Adjust based on time
# TODO: this trigger is not good. Figure out something else.
trigger:
platform: state
entity_id: sun.sun
from: "above_horizon"
to: "below_horiozon"
platform: sun
event: sunset
action:
- service: script.lighting_temperature_adjust
data: