mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02: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
|
||||
def icon(self):
|
||||
"""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):
|
||||
"""Get the time and updates the states."""
|
||||
|
Loading…
Reference in New Issue
Block a user