Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/common/entity/binary_sensor_icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:flash" : "hass:flash-off";
Comment thread
ludeeus marked this conversation as resolved.
Outdated
case "cold":
return activated ? "hass:thermometer" : "hass:snowflake";
case "connectivity":
Expand Down