Fix reversal in power icon (#7188)

This commit is contained in:
J. Nick Koston 2020-10-01 11:24:13 -05:00 committed by GitHub
parent 0171f3aec7
commit 9ae8bd238b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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