volvooncall: icon and unit were mixed
This commit is contained in:
parent
c88527ce79
commit
5da110d764
1 changed files with 2 additions and 2 deletions
|
@ -34,9 +34,9 @@ class VolvoSensor(VolvoEntity):
|
|||
@property
|
||||
def unit_of_measurement(self):
|
||||
"""Return the unit of measurement."""
|
||||
return RESOURCES[self._attribute][2]
|
||||
return RESOURCES[self._attribute][3]
|
||||
|
||||
@property
|
||||
def icon(self):
|
||||
"""Return the icon."""
|
||||
return RESOURCES[self._attribute][3]
|
||||
return RESOURCES[self._attribute][2]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue