mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-17 06:16:33 +00:00
replace default switch icon
to make it stand out against a power entity which uses the same mdiFlash https://github.com/home-assistant/core/issues/67620#issuecomment-1061949527 suggest the Outline version, so create a subtle difference with the on/off icons.
This commit is contained in:
parent
68e7ce1883
commit
86dbf99ebe
@ -9,7 +9,6 @@ import {
|
||||
mdiCast,
|
||||
mdiCastConnected,
|
||||
mdiClock,
|
||||
mdiFlash,
|
||||
mdiGestureTapButton,
|
||||
mdiLanConnect,
|
||||
mdiLanDisconnect,
|
||||
@ -23,6 +22,7 @@ import {
|
||||
mdiRestart,
|
||||
mdiToggleSwitch,
|
||||
mdiToggleSwitchOff,
|
||||
mdiToggleSwitchOutline,
|
||||
mdiCheckCircleOutline,
|
||||
mdiCloseCircleOutline,
|
||||
mdiWeatherNight,
|
||||
@ -108,7 +108,7 @@ export const domainIcon = (
|
||||
case "switch":
|
||||
return compareState === "on" ? mdiToggleSwitch : mdiToggleSwitchOff;
|
||||
default:
|
||||
return mdiFlash;
|
||||
return mdiToggleSwitchOutline;
|
||||
}
|
||||
|
||||
case "sensor": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user