mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 18:36:35 +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 ||
|
||||
unit === temperatureUnits.UNIT_TEMP_F) {
|
||||
return 'mdi:thermometer';
|
||||
} else if (unit === 'Mouse' ||
|
||||
unit === 'Mice') {
|
||||
} else if (unit === 'Mice') {
|
||||
return 'mdi:mouse-variant';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user