Condition for low battery

Found it just before you posted.

It appears to be built on the one I recommended. This was done because support and updates for the original card seems to be non-existent. So yeah, @rajan go with the state-card one instead.

My bad. Apologies @SKAL

I installed HACS & Battery State Card … it works OK with color_thresholds.
But I need it with horizontal view (due to my layout).
Can that be done?

You might be able to use the entity view of that card with:

or

Or even the core:

My Battery State Card looks like this:

color_thresholds:
  - color: red
    value: 10
  - color: yellow
    value: 40
  - color: green
    value: 100
entities:
  - sensor.ute_battery_level
  - sensor.vardagsrum_battery_level
  - sensor.raivo_battery_level
  - sensor.anne_battery_level
  - sensor.sovrum_battery_level
type: 'custom:battery-state-card'

and you recommend to use glance card like this …

type: glance
entities:
  - entity: sensor.raivo_2
  - entity: sensor.raivo_3

I tried to use the glance card but how do I specify that I have both type: glance and type: ‘custom:battery-state-card’ … not so familiar with yaml yet

Like this:

type: glance
entities:
  - type: custom:battery-state-card
    entity: sensor.raivo_2
  - type: custom:battery-state-card
    entity: sensor.raivo_3

But I just tried it. It only works with the entities card. You’ll have to submit a feature request for the entity view to work with glance cards.

OK … thanks