Grouping device_trackers for use in automation conditions

I have a bunch of device_trackers I use to detect presence. The vast majority of the time it is the same 8 or 10 device trackers I use over and over. For instance, if all of the following 10 device trackers show as not_home, turn off all lights. Is there a way to group these device trackers so I can reference a single entity in a condition? Groups seem to not be an option as Groups seem to have a very narrow use case. I poked at Templates a bit but they seem they may also be the wrong tool - or at least I can’t see how they will work. Any ideas on how to achieve this?

With a Group, but apparently you have dismissed it because it has a “very narrow use case”. Can you explain what that narrow case might be and why it fails to meet your requirements?

Could you be wanting grouping them as person?

2 Likes

Yes, this is exactly what I needed. Many of the YAML only things like this aren’t obvious. Thank you!