mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-10 10:56:34 +00:00
Unit fix
This commit is contained in:
parent
bf6dafe825
commit
e3f58ea779
@ -17,8 +17,7 @@ export default function stateIcon(state) {
|
|||||||
if (unit === temperatureUnits.UNIT_TEMP_C ||
|
if (unit === temperatureUnits.UNIT_TEMP_C ||
|
||||||
unit === temperatureUnits.UNIT_TEMP_F) {
|
unit === temperatureUnits.UNIT_TEMP_F) {
|
||||||
return 'mdi:thermometer';
|
return 'mdi:thermometer';
|
||||||
} else if (unit === 'Mouse' ||
|
} else if (unit === 'Mice') {
|
||||||
unit === 'Mice') {
|
|
||||||
return 'mdi:mouse-variant';
|
return 'mdi:mouse-variant';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user