Skip to content

Instantly share code, notes, and snippets.

@aderusha
Last active April 17, 2024 19:59
Show Gist options
  • Save aderusha/4f25658dbb855675b5b5ccf296fd801b to your computer and use it in GitHub Desktop.
Save aderusha/4f25658dbb855675b5b5ccf296fd801b to your computer and use it in GitHub Desktop.
Home Assistant Blueprint: Link Multiple Switches v1.0.1
@msavazzi
Copy link

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

@kingy444
Copy link

kingy444 commented Feb 2, 2023

Can i suggest updating the domain filter to allow binding a switch to a light state aswell - basically allows a physical switch to control the state of the light and the state of the light to switch - so it doesnt matter which entity is switched

          domain: 
            - switch
            - light

@kingy444
Copy link

This one too to prevent unavailable states

trigger:
- platform: state
  entity_id: !input switches
  to:
    - 'off'
    - 'on'

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