I agree. To extend it even more I think Home Assistant should be able to identify what entities are in the Area so we can call services like. Turn off all lights in the Area, play/stop music in an Area or whats the temperature in an Area. So far I have had no use at all for Areas and I have a hard time understanding what they are good for.
Sure we still have groups but I thought that Areas would grow to be “smart”-groups.
Hey look at that! Thanks for bringing this to my intention. Lets try to get that in the documentation. To be honest the documentation does not cover areas at all right now.
Ah so if it’s possible, I’d say we should add this as a type to the automation/script action UI then, unless there are unintended consequences of this?
There shouldn’t be, but it’s remained undocumented since introduced and has had some bugs in the past (like when turning off switches in an area would turn off every switch).
Unfortunately it seems to be a feature that was introduced and semi-abandoned, which is why I up-voted this suggestion.
Is there a domain (might be wrong term) for areas (like states?) eg areas.device_platform.device_name.area - so we can derive areas inside jinga2/scripts/automations?
Or can we have area as an attribute of an entity? (although you then run the risk of it being removed by other attribute/state updates for the entity I guess)
Currently I have automations to send notifications when my leak sensors (around ten) detect something, and being able to access the area in a template would allow me to group them and great simplify things.