diff --git a/src/common/entity/binary_sensor_icon.ts b/src/common/entity/binary_sensor_icon.ts index 5442e432ff..b2ee9567cd 100644 --- a/src/common/entity/binary_sensor_icon.ts +++ b/src/common/entity/binary_sensor_icon.ts @@ -17,8 +17,9 @@ export const binarySensorIcon = (state: HassEntity) => { return is_off ? "hass:door-closed" : "hass:door-open"; case "garage_door": return is_off ? "hass:garage" : "hass:garage-open"; - case "gas": case "power": + return is_off ? "hass:power-off" : "hass:power-on"; + case "gas": case "problem": case "safety": case "smoke":