It would be very handy to select all entity_ids of a class by using a wildcard.
I’m developing a custom component ‘petpointer’. It tracks my cat and its GPS collar data.
At the moment it consists of this items:
petpointer.battery_state
petpointer.last_contact
petpointer.last_lat
petpointer.last_lon
petpointer.last_position
petpointer.last_satellite_count
Now I want to create a group with
petpointer_group:
name: 'Blüemli'
view: no
entities:
- petpointer.battery_state
- petpointer.last_contact
- petpointer.last_lat
- petpointer.last_lon
- petpointer.last_position
- petpointer.last_satellite_count
and have to repeat all those entities instead of using a simple wildcard as for exampel with petpointer.*
. With this wildcard it would be only:
petpointer_group:
name: 'Blüemli'
view: no
entities:
- petpointer.*
And with further developing all new items of this class are grouped automatically as desired.
There already exists a topic but it’s not the same underlying idea: State trigger - entity_id wildcard
I’d like to hear what you are thinking about it!