Battery charging status not working
rcdailey opened this issue · 4 comments
rcdailey commented
Describe what is wrong
I do not see a charging indicator on my card.
YAML configuration
- type: custom:battery-state-card
title: Battery Levels
filter:
include:
- name: entity_id
value: "*battery_level*"
tap_action:
action: more-info
charging_state:
attribute: # whenever one of below attributes is matching
- name: "Battery State"
value: "Charging"
- name: "is_charging"
value: true
state: # or if entity state matches one of the following
- "charging"
- "Charging"
color_gradient:
- "#ff0000" # red
- "#ffff00" # yellow
- "#00ff00" # green
Screenshot
Version
2.1.0
maxwroc commented
It looks like it is a bug. When you have the charging attribute specified it doesn't look at the state. I will fix it
rcdailey commented
Thanks. Worth noting I took that yaml from your examples.
MihaiKrieger commented
Hello. This doesn't look like it's been fixed. I am using v2.1.1 and I tried all possible combinations in then YAML code.
The charging phone does not get the secondary info based on it's state.