New icon for "on" state of smoke device (#10013)

This commit is contained in:
Jaroslav Hanslík 2021-09-13 12:50:57 +02:00 committed by GitHub
parent 8408d25cef
commit 5893559951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,9 @@ export const binarySensorIcon = (state?: string, stateObj?: HassEntity) => {
case "gas": case "gas":
case "problem": case "problem":
case "safety": case "safety":
case "smoke":
return is_off ? "hass:check-circle" : "hass:alert-circle"; return is_off ? "hass:check-circle" : "hass:alert-circle";
case "smoke":
return is_off ? "hass:check-circle" : "hass:smoke";
case "heat": case "heat":
return is_off ? "hass:thermometer" : "hass:fire"; return is_off ? "hass:thermometer" : "hass:fire";
case "light": case "light":