github iantrich/config-template-card 2.2.0

one hour ago

New

  • Wildcards in entities (#239, closes #95). An entity id containing * watches every entity that matches it, so a card wrapping auto-entities can watch sensor.*_actueel without writing a template:

    type: custom:config-template-card
    entities:
      - input_number.power_threshold
      - sensor.*_actueel
    card:
      type: custom:auto-entities
      ...

    * matches any characters and everything else must match exactly. Matches are checked again on every state update, so entities added later are watched too. Patterns also work inside templates (sensor.${ROOM}_*) and in dashboard or view config_template_card_entities. A bare * watches every entity, so the card logs a warning if you use it. For anything * can't express, use a template; see Wildcards in entities in the README.

Thanks to @Mariusthvdb for the request and @ildar170975 for the template workaround that held things over until now.

Upgrading

Update through HACS, then clear your browser or app cache. The browser console should show Version 2.2.0.

Don't miss a new config-template-card release

NewReleases is sending notifications on new releases.