WTH can't i target labeled devices/entities in a specific area?

We have labels and we have areas, so why the heck can’t i target all labeled items in an area?

Christmas time is the time of temporary entities moving in to home assistant, to make automations easier to manage it would be awesome if i could just have all my christmas stuff labeled with “christmas” in the apropriate area, and then run my automations against e.g all things labeled “Christmas” in “the office”. The current implementation will target all entities labeled “Christmas” AND all entities in “the office”. Current workaround is to also label all stuff with “Christmas [Room]” and use that, but it seems redundant since the information is already present.

Came here looking for this functionality. Looks like we can’t do this yet.
I would love to have a label like night light and apply it to lights that should turn on only at night and then target them per area

While it can’t be done with the selector, it can be done with a pretty simple template to define the entities.

{{ area_entities('living room') 
| select('in', label_entities('night lights')) | list }}

In the Automation editor it looks like:

1 Like

I really need to stop being scared of templates and learn them already. Seem pretty powerful