Allow wildcard for entity selection in config files

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!

Just now I see there is Wildcard operators for groups.
Giving my vote over there.

I found another request for enabling wildcards here: Wildcard entities in groups

I think there is a need for this feature. Are there any plans on this?

I noticed that wildcards are allowed in customizations now (don’t know since when actually…).

  customize_glob:
    "light.kitchen_*":
      icon: mdi:description

light.kitchen_* <— That’s very nice!

Since 0.42.0 there is a new group filled with all my zwave devices. It would be super handy to select all of my zwave devices like with a simple “zwave.*”.

Side note: Whats the entity_id of the zwave groupe itself? I’m talking about this one:

This is very much wanted by me as well. Would be such much easier to configure!

Did this get added to HASS ?

This was declined because of the config editor i think