Skip to content

2.2.0

Latest

Choose a tag to compare

@iantrich iantrich released this 19 Nov 05:08
· 1 commit to master since this release
96f3168

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.