cbulock/lovelace-battery-entity

Custom color and threshold values.

Tom-ahawk opened this issue · 1 comments

  1. Being able to user select the colors would be nice, so the colors could be adapted to user themes.
  2. Would be nice to custom set the threshold values
  3. I have a water sensor which can run on batteries and cord. When used with cord, the battery value is constant 4%. Would be nice to have a “ignore_value” parameter. When this is set, the card for the sensor would display battery full. When the value suddenly differs from the “ignore_value” (the sensor is on battery power) the usual logic is applied for displaying the sensor battery level.

Just my 50 cent : )

#2 is currently possible

- type: custom:battery-entity
  entity: sensor.front_door_lock_battery
  warning: 20
  critical: 5

I'll see about the possibility of implementing the other ideas