Bidirection switch and light sync

Hey all,

I made a blueprint that keeps a wall switch (or any toggleable switch/light) in sync with a light or switch group. I made it to keep my TS0012 wall switch’s LED matched to my smart lights — but it works with any controller and any target (even single lights or switches).

It syncs in both directions:

  • Toggling the wall switch toggles the group
  • Changing the group (via Alexa, app, etc.) updates the wall switch state

There’s built-in loop protection so it only sends commands when needed.

Great for wall switches that aren’t physically wired to loads, or for making a virtual switch behave like a master control.

Gist here: Bidirection switch and light sync.yaml

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

1 Like