Reset Battery Icons to default

I have my Ring security system tied in a through MQTT. That set all of the icons for battery entities to mdi:information-outline.

I have customized all entities with device_class: battery. But now, instead of having the better, updated battery icon that updates based on %, I’m still stuck with mdi:information-outline. No matter what I try, I can’t get the icon to change globally to be the dynamic battery after a reset. I’m sure it’s easy, but what am I doing wrong?

Try device_class: battery instead of domain.

D’oh, that’s what I have, I used the wrong terminology in the post. Sorry! I’ve changed the top post accordingly.

What is the state of your battery sensor?

Here’s everything from the developer’s tab for one of them. When I delete the ‘icon: mdi:information-outline’ its perfect, until I reset

batteryLevel: 100
batteryStatus: full
commStatus: ok
firmwareStatus: up-to-date
lastCommTime: ‘2021-06-08T22:01:42Z’
lastUpdate: ‘2021-06-08T22:01:42Z’
linkQuality: ok
serialNumber: ##### Redacted
tamperStatus: ok
unit_of_measurement: ‘%’
friendly_name: Dining Room Window Left Info
icon: mdi:information-outline
device_class: battery

Specifically, this entity’s state is 100

So it is supplying the correct state and unit of measurement for the battery device class but overwriting the icon. Not sure how you would block this. You might have to manually configure the device in yaml rather than relying on discovery, if that is what you are doing.

I did rely on automatic discovery for the Ring alarm system. It seems that’s the only way to integrate the door sensors, alarm, motion sensors, etc. I’ll have to figure out how to configure manually I guess.

So it uses mqtt? If so download and install mqtt explorer on your pc. Then trigger the sensors from ring, you will see the message that each sends. Then disable the sensor and add it manually.

1 Like