I am trying to set up a motion-activated lighting automation combined with Adaptive Lighting, but I ran into a strange issue, and I’m not sure if it’s a bug or a misconfiguration on my part.
I have an Inovelli light switch connected to Home Assistant (via Matter integration). On the switch itself, I have the transition time set to 1 second for both off > on and on > off, so the lightbulbs gradually turn on and off. Before I added Adaptive Lighting into the mix, my automation would honor that setting, and the lights would gradually turn on and off over a 1-second period. When I added Adaptive Lighting, any time the lights turn on from either the automation or using the UI, they turn on instantly with a flicker. They still turn off gradually as expected. If I disable Adaptive Lighting for that switch, the lights gradually turn on and off as expected.
Here is my automation:
alias: Office Lighting Automation
description: ""
triggers:
- trigger: state
entity_id:
- binary_sensor.office_motion_sensor_motion
to: "on"
id: motion_on
- trigger: state
entity_id:
- binary_sensor.office_motion_sensor_motion
id: motion_off
to: "off"
for:
hours: 0
minutes: 2
seconds: 0
- trigger: state
entity_id:
- input_select.office_activity_mode
to: Conference Mode
id: videoconference_mode
- trigger: state
entity_id:
- input_select.office_activity_mode
to: "Just chillin' "
id: default_mode
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id:
- motion_on
sequence:
- action: light.turn_on
metadata: {}
data: {}
target:
entity_id: light.office_light_switch_light_1
- conditions:
- condition: trigger
id:
- motion_off
sequence:
- action: light.turn_off
metadata: {}
data: {}
target:
device_id: a31eae032212e44bbab4298885ded4a9
- conditions:
- condition: trigger
id:
- videoconference_mode
sequence:
- action: light.turn_on
metadata: {}
data:
brightness_pct: 25
transition: 1
target:
device_id: a31eae032212e44bbab4298885ded4a9
- conditions:
- condition: trigger
id:
- default_mode
sequence:
- action: adaptive_lighting.set_manual_control
metadata: {}
data:
manual_control: false
entity_id: switch.adaptive_lighting_office
mode: single
Also, in the Adaptive Lighting configuration for this switch, I have the ‘initial_transition’ set to 1, but that does not seem to do anything regardless of what it is set at.
Do I have something misconfigured? What I’d like to have happen is for the lights to honor the hardware setting of dim on/dim off regardless of how they are turned on/off.
Please let me know if I can provide any additional information. Your help is appreciated!