maxwroc/battery-state-card

Can't implicitly include

Closed this issue · 2 comments

type: custom:battery-state-card
filter:
  include:
      - name: "attributes.device_class"
        value: "battery"
  exclude:
      - name: "entity_id"
        value: "*blah*"

will work

but

type: custom:battery-state-card
filter:
  exclude:
      - name: "entity_id"
        value: "*blah*"

will not. Not sure if this is a bug or just something that needs to be explicitly made clear in the documentation.

I thought that the info in the docs is clear but if not please propose what should be added/changed

Screenshot_2024-10-20-18-51-09-04_40deb401b9ffe8e1df2f1cc5ba480b12

Okay, I missed that! My bad.