Flux: Update when turning on a light

Tags: #<Tag:0x00007f739b37bde0>

I really like the flux component, but I see a major disadvantage: When turning on a light, it takes up to the configured interval (default 30s) to update the color temperature.

It would be possible, to fix this using an automation that calls the update service whenever a light is turned on. This would require to list the managed light entities in two places of the configuration.

This is why I wondered: Wouldn’t it be nice to have an option

auto_update: true # default false

that configures exactly this automation? When True, in addition to the fixed interval, the color temperature would be adjusted for each managed light that turn from off (or unavailable) to on.