diff --git a/config/packages/modules/lighting/temperature.yaml b/config/packages/modules/lighting/temperature.yaml index b2d765f..bc15d07 100644 --- a/config/packages/modules/lighting/temperature.yaml +++ b/config/packages/modules/lighting/temperature.yaml @@ -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: