Simple Actionable notification not able to select a group as target to perform an action

Hello,

I hope someone can help me with this simple automation.
I am trying using a NFC tag and what I want is when I go to bed and place my phone over the tag to receive an actionable notification so I can turn off all lights in the house with just one button.
The actionable configuration works when testing with just one device. But now I have created a group and I want to perform the action on the group, but I can’t select it as target entity or device using the Call Service - Light - Turn Off
I do see the lights seperately in the list of entities but not the group.
When I go to Developer Tools - States, I can see and select the group as an entity.
Anyone has any ideas ?

Regards,

Stefan

The light.turn_off service only works for light entities.

You have two options,

  1. Use the homeassistant.turn_off service, this works with all entities that have a binary state, including groups.

or

  1. Create a light group instead of a group (a light entity made of other lights) and use the light.turn_off service.

The advantage of a light group is that you can control the colour and other attributes of all the lights at once too.

Thank you so much for this info, this is great !
I am using the first option and I am able to select the custom group to perform the action on !
I’m still learing and I like it more and more :slight_smile: