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:
1 parent
76aaf8b560
commit
9587afc5ce
1 file changed
+1
-1
@@ -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."""
|
||||
|
||||
Reference in new issue
Block a user