Support for Adaptive Lighting Custom Component
What's Changed
This release starts the support to use Adaptive Lighting custom component to control your brightness and color control for automation, motion or mode with setting state to 'adaptive'.
There is no need to configure Adaptive Lighting with 'detect_non_ha_changes' when you set it up. Lightwand will set manual control in the provided switch "Adaptive Lighting" that you'll need to define in your room with:
adaptive_switch: switch.adaptive_lighting_yourNameThe normal 'automations' is a list. Minimum configuration is with:
automations:
- state: adaptiveTo use when motion configure with:
motionlights:
state: adaptiveBoth 'automations' and 'motionlights' support list with times and states so you can configure Adaptive Lighting only to be active during specific times if needed to.
To use in mode configure with:
light_modes:
- mode: your_mode
state: adaptiveAutomatic setting of Adaptive Lighting's "Sleep Mode" is not implemented. If you plan to use this make sure that your automation or mode is set to the adaptive state.
I do not use Adaptive Lighting actively so please report any unwanted behaviour.
Other bugfixes:
- Zigbee2mqtt version 2.0.0 does no longer support 'illuminance_lux' for illuminance values. This has been updated in the code to support 'illuminance'.
- Fixed bug where motion was already detected resulting in not turning brightness up when selecting new light mode with higher brightness.