I have the fluxer.component activated (Fluxer) as well as the automation “Dim lights when playing media”.
HASS does both well individually. But during playback when the lights are dimmed - fluxer “resets” them to the fluxer state.
Turn off the fluxer automation, from the doc page…
If you don’t wish to have flux update on 30 second intervals, you can leave the switch turned off and use automation rules that call the service switch.flux_update whenever you want the lights updated.
So use your automation that dims the lights to turn off fluxer when playback starts and turn it back on when playback is finished or paused.
So as part of the dim lights for movie automation action:
action:
# dim lights it's movie time! ..............
- service: switch.turn_off
entity_id: switch.fluxer
and similar for the pause/idle automation when you turn the lights back on