basnijholt / adaptive-lighting

Adaptive Lighting custom component for Home Assistant
https://basnijholt.github.io/adaptive-lighting/
Apache License 2.0
1.9k stars 136 forks source link

Add `adapt_only_on_bare_turn_on` which instantly triggers `manual_control` when turning on with brightness or color #709

Closed basnijholt closed 1 year ago

basnijholt commented 1 year ago

This PR adds a configuration option adapt_only_on_bare_turn_on, which when enabled doesn't adapt lights when initially turning them when there is color or brightness in the service_data.

To not change the behavior for anyone, the option is false by default.

Closes #12, #89, #271, #314, #416, #435, #528, #581

TheAlphaLaw commented 1 year ago

@basnijholt Is it possible to add a feature that let's you select whether brightness or temperature triggers this? For example, I may want to call the light to 100% brightness but still want the temperature to adapt or vice versa.

This feature is exactly what my wife has been asking for :) Thank you!

basnijholt commented 1 year ago

@TheAlphaLaw that’s a good idea. However, this would be quite some work and require fixing: