mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 00:36:34 +00:00
New icon for "on" state of smoke device (#10013)
This commit is contained in:
parent
8408d25cef
commit
5893559951
@ -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":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user