mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Merge pull request #5975 from fabaff/unit-moon
Remove unit of measurement
This commit is contained in:
commit
6005933451
@ -62,11 +62,6 @@ class MoonSensor(Entity):
|
||||
else:
|
||||
return 'New moon'
|
||||
|
||||
@property
|
||||
def unit_of_measurement(self):
|
||||
"""Return the unit the value is expressed in."""
|
||||
return 'Phase'
|
||||
|
||||
@property
|
||||
def icon(self):
|
||||
"""Icon to use in the frontend, if any."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user