Skip to content

Instantly share code, notes, and snippets.

@aderusha
Last active February 3, 2026 20:18
Show Gist options
  • Select an option

  • Save aderusha/4f25658dbb855675b5b5ccf296fd801b to your computer and use it in GitHub Desktop.

Select an option

Save aderusha/4f25658dbb855675b5b5ccf296fd801b to your computer and use it in GitHub Desktop.
Home Assistant Blueprint: Link Multiple Switches v1.0.1
@thephenakist
Copy link

Could someone explain what the last condition meant to do? I can't understand the intent..

It looks like the last condition is intended to prevent recursion (i.e. infinite toggling of the switch state). The effectiveness of this condition will depend on the to_state's context parent ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment