From 9ae8bd238b5c96f96c1cc46fc40dc5b8222d7607 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 1 Oct 2020 11:24:13 -0500 Subject: [PATCH] Fix reversal in power icon (#7188) --- src/common/entity/binary_sensor_icon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/entity/binary_sensor_icon.ts b/src/common/entity/binary_sensor_icon.ts index 1affd4016f..1e0c5c5c7a 100644 --- a/src/common/entity/binary_sensor_icon.ts +++ b/src/common/entity/binary_sensor_icon.ts @@ -18,7 +18,7 @@ export const binarySensorIcon = (state?: string, stateObj?: HassEntity) => { case "garage_door": return is_off ? "hass:garage" : "hass:garage-open"; case "power": - return is_off ? "hass:power-plug" : "hass:power-plug-off"; + return is_off ? "hass:power-plug-off" : "hass:power-plug"; case "gas": case "problem": case "safety":