Skip to content

Instantly share code, notes, and snippets.

@aderusha
Last active March 16, 2026 00:57
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
@fugato44

fugato44 commented Oct 4, 2024

Copy link
Copy Markdown

The last condition for me causes a 30% of failures in the sync of the entities. I think is not usefull and when removed everything works fine becasue the save exist if on the state

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

@thephenakist

Copy link
Copy Markdown

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