mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
added icon
This commit is contained in:
parent
3e51d0b539
commit
f3db4306c2
@ -53,6 +53,11 @@ class EliqSensor(Entity):
|
|||||||
""" Returns the name. """
|
""" Returns the name. """
|
||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
|
@property
|
||||||
|
def icon(self):
|
||||||
|
""" Returns icon. """
|
||||||
|
return "mdi:speedometer"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def unit_of_measurement(self):
|
def unit_of_measurement(self):
|
||||||
""" Unit of measurement of this entity, if any. """
|
""" Unit of measurement of this entity, if any. """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user