Disable Fluxer during other automations

Following scenario:

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.

How to avoid that?

1 Like

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

   action:
     # turn up lights .......
     - service: switch.turn_on
       entity_id: switch.fluxer

I’m not sure if that’s exactly how to do it but you get the idea as fluxer is only a switch just like any other in HASS