fredck / lightener

Magically control the state and brightness of lights in Home Assistant.
MIT License
109 stars 2 forks source link

Lightener percentage is not set correctly with non-dimmable lights #97

Closed MacrosorcH closed 10 months ago

MacrosorcH commented 10 months ago

When a Lightener group is a mix of dimmable and non-dimmable lights, setting Lightener percentage works well only with dimmable lights. When you are in a percentage range reserved to a non-dimmable lights, instead, changing percentage doesn't work and the Lightener percentage gets stuck to the value at which the light was turned on.

Please refer to the sample video below.

https://github.com/fredck/lightener/assets/17884387/2d29189a-c146-44b7-9da8-a6f6f625dfe2

Lightener version: v2.2.1

Lightener configuration in the example is the following:

Thank you for the great work! Lightener is super-cool!