lovelace-battery-entity icon indicating copy to clipboard operation
lovelace-battery-entity copied to clipboard

Custom color and threshold values.

Open Tom-ahawk opened this issue 6 years ago • 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 : )

Tom-ahawk avatar Mar 26 '19 15:03 Tom-ahawk

#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

cbulock avatar Mar 26 '19 15:03 cbulock