Hi,
I have several Ulanzi clocks in use.
To save power, I want to turn off the clock display (matrix) when I leave the house.
Now I’m doing it in an automation with 5 identical actions.
Turn off the living room matrix, set the brightness to 0.
Repeat this 5 times for the different clocks.
Could this perhaps be simplified by creating a group?
Or like with a domain lights, where you define “Lights Off” once and then only have to add the individual lights.
Please rephrase your post in English.
Not sure if this is what you mean but the entity_id:
of an action can take a list of entities and will perform the action on each of them.
Loose example:
- action: integration.action
data:
brightness: 0
target:
entity_id:
- domain.entity_one
- domain.entity_two
- domain.entity_three
- domain.entity_four
- domain.entity_five
Might help if you post your code for clarity.