Skip to content

Instantly share code, notes, and snippets.

@dbrand666
Forked from aderusha/link_multiple_devices.yaml
Last active June 18, 2025 01:03
Show Gist options
  • Save dbrand666/b731672b2a282b9afd51a97e6e5c2b2b to your computer and use it in GitHub Desktop.
Save dbrand666/b731672b2a282b9afd51a97e6e5c2b2b to your computer and use it in GitHub Desktop.
Select multiple entities to link their on/off state. If any selected entity is turned on or off, the other selected entities will be sent a matching on or off command.
@davidswelt
Copy link

This simple task turns out to be quite problematic.

I'm linking two basic Tapo switches using this blueprint. It works, slowly (multi-second delay much of the time), and sometimes it fails to turn on the second light altogether. This is the error I'm getting in that case:

Stopped because an error was encountered at June 17, 2025 at 8:58:01 PM (runtime: 9.54 seconds)
Unable to communicate with the device async_turn_on: ('Unable to query the device: 192.168.68.91: ', TimeoutError())

This task works perfectly and fast when implemented via the Tapo app.

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