diff --git a/src/common/entity/binary_sensor_icon.ts b/src/common/entity/binary_sensor_icon.ts index c1eb694afe..845e096403 100644 --- a/src/common/entity/binary_sensor_icon.ts +++ b/src/common/entity/binary_sensor_icon.ts @@ -7,6 +7,8 @@ export const binarySensorIcon = (state: HassEntity) => { switch (state.attributes.device_class) { case "battery": return activated ? "hass:battery" : "hass:battery-outline"; + case "battery_charging": + return activated ? "hass:battery" : "hass:battery-charging"; case "cold": return activated ? "hass:thermometer" : "hass:snowflake"; case "connectivity":