I created this script but it doesn’t change the light brightness for some reason. I’ve tried using the
brightness_step_pct as well as just
brightness_step but neither have worked. Can anyone see why this wouldn’t work? The lights I’m trying to work with are Wiz which unfortunately don’t support transitions, hence using a script.
daves_bedside_lamp_transition_off: alias: Daves Bedside Lamp Transition Off sequence: - condition: state entity_id: light.daves_bedside_lamp state: 'on' - alias: "repeat the dim down of daves lamp" repeat: sequence: - service: light.turn_on data: entity_id: light.daves_bedside_lamp brightness_step: -1 - delay: "00:00:10" until: - condition: numeric_state entity_id: light.daves_bedside_lamp attribute: brightness below: 1 - service: light.turn_off data: entity_id: - light.daves_bedside_lamp