@crillux wrote:
I am trying to learn how to script in HA but here is something I don’t understand. This script does not work and it seems that it has to do with the two entities in the switch.turn_on service call. Is it not possible to have more than 1 entity in a service call?
twilight_lights: sequence: - service: homeassistant.turn_on data: entity_id: group.fonsterbelysning - service: switch.turn_on data: - entity_id: switch.vardagsrum_skap - entity_id: switch.allrum_bordslampa - service: light.turn_on data: entity_id: light.hall_garderob brightness_pct: 2
Posts: 6
Participants: 3