1
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:
Marius 2019-12-03 01:19:56 +01:00 committed by Paulus Schoutsen
parent 76aaf8b560
commit 9587afc5ce

View File

@ -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."""