Logbook: fix custom Icon (#7175)

This commit is contained in:
Zack Barett
2020-10-01 06:55:27 -05:00
committed by GitHub
parent ec920093d4
commit 2c827bab9a
3 changed files with 4 additions and 2 deletions

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-off" : "hass:power-on";
return is_off ? "hass:power-plug" : "hass:power-plug-off";
case "gas":
case "problem":
case "safety":