mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
delete incorrect "mdi:brightness-3" (#29309)
delete incorrect 'mdi:brightness-3' in final ``` def icon(self): """Icon to use in the frontend, if any.""" return MOON_ICONS.get(self.state, "mdi:brightness-3") ``` which still shows in the sensors attributes
This commit is contained in:
parent
76aaf8b560
commit
9587afc5ce
@ -81,7 +81,7 @@ class MoonSensor(Entity):
|
|||||||
@property
|
@property
|
||||||
def icon(self):
|
def icon(self):
|
||||||
"""Icon to use in the frontend, if any."""
|
"""Icon to use in the frontend, if any."""
|
||||||
return MOON_ICONS.get(self.state, "mdi:brightness-3")
|
return MOON_ICONS.get(self.state)
|
||||||
|
|
||||||
async def async_update(self):
|
async def async_update(self):
|
||||||
"""Get the time and updates the states."""
|
"""Get the time and updates the states."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user