volvooncall: icon and unit were mixed

This commit is contained in:
Erik Eriksson 2017-02-23 13:27:17 +01:00 committed by GitHub
parent c88527ce79
commit 5da110d764

View File

@ -34,9 +34,9 @@ class VolvoSensor(VolvoEntity):
@property @property
def unit_of_measurement(self): def unit_of_measurement(self):
"""Return the unit of measurement.""" """Return the unit of measurement."""
return RESOURCES[self._attribute][2] return RESOURCES[self._attribute][3]
@property @property
def icon(self): def icon(self):
"""Return the icon.""" """Return the icon."""
return RESOURCES[self._attribute][3] return RESOURCES[self._attribute][2]