mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Remove unit of measurement
This commit is contained in:
parent
41849eab06
commit
e866eeb518
@ -62,11 +62,6 @@ class MoonSensor(Entity):
|
|||||||
else:
|
else:
|
||||||
return 'New moon'
|
return 'New moon'
|
||||||
|
|
||||||
@property
|
|
||||||
def unit_of_measurement(self):
|
|
||||||
"""Return the unit the value is expressed in."""
|
|
||||||
return 'Phase'
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def icon(self):
|
def icon(self):
|
||||||
"""Icon to use in the frontend, if any."""
|
"""Icon to use in the frontend, if any."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user