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