Skip to content

Instantly share code, notes, and snippets.

@andiaa734
andiaa734 / HA_Sync_brightness_lights.yaml
Last active November 22, 2023 13:15
HA_Sync_brightness_lights.yaml
blueprint:
name: Link brightness of Multiple lights
description: |
## Link brightness of Multiple lights v1.0.0
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.
You can select any entity, but only entities supported by the `homeassistant.turn_on` or `homeassistant.turn_off` service calls will work.
### Requirements
* All selected entities MUST suport `homeassistant.turn_on` and `homeassistant.turn_off` or errors will be logged and the blueprint will not work.
* Requires Home Assistant 2022.5.0 or newer.