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…
Reference in New Issue