Fix reversal in power icon (#7188)

This commit is contained in:
J. Nick Koston 2020-10-01 11:24:13 -05:00 committed by Bram Kragten
parent 98a64e3114
commit 0164bafbf1

View File

@ -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":