💡 Smart lux dimmer - Adjust light brightness depending on light sensor value

Hi,

Sorry for no getting back to you earlier. It’s been a very busy couple of months.

It would be interesting to see the traces from this automation so we can see which value it tried to pass to the light. Do you still have those by any chance?

hi,

i have notice you should change light_value_2 selector max to 255


because 100 is around only 38% of light

You’re right. with the ‘brightness_pct’ property being deprecated it’s only possible to use a value of 0-255. It’s fixed now.

NEW RELEASE

09/01/2025 - Version 4.3

  • Updated the code so that users can use percentage values for the light’s brightness settings again, which is more intuitive than a 0-255 value.

The same changes have been made to the simple version (V2.0), but without a version number change.

Is it possible to temporary disable the automation in case someone turn on the lights manually?

1 Like

You could set a condition for this.

Manually turn on the light → turn on a toggle helper (input_boolean) → set condition to not run when the helper is on.