@eleson wrote:
I am a newbie exploring rules, and I don’t get light groups to work.
This works:
Configuration.yaml: group: !include groups.yaml light: !include lights.yaml automation: !include automations.yaml automations.yaml - id: id_LivingRoomEvening alias: LivingRoomEvening trigger: - at: '23:36' platform: time action: service: light.turn_off entity_id: light.zipato_bulb_2_level
But this doesn’t: (trying to use lights group)
Configuration.yaml: group: !include groups.yaml light: !include lights.yaml automation: !include automations.yaml automations.yaml - id: id_LivingRoomEvening alias: LivingRoomEvening trigger: - at: '23:36' platform: time action: service: light.turn_off entity_id: light.Outdoor_allLamps lights.yaml - platform: group name: Outdoor_allLamps entities: - light.zipato_bulb_2_level
Why doesn’t the second alternative work and how should it be written?
Posts: 7
Participants: 2