From 9587afc5ced570600a9f2955fc4f18923fadf519 Mon Sep 17 00:00:00 2001 From: Marius <33354141+Mariusthvdb@users.noreply.github.com> Date: Tue, 3 Dec 2019 01:19:56 +0100 Subject: [PATCH] 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 --- homeassistant/components/moon/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/moon/sensor.py b/homeassistant/components/moon/sensor.py index dac7d36eda5..3a7dd9e2084 100644 --- a/homeassistant/components/moon/sensor.py +++ b/homeassistant/components/moon/sensor.py @@ -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."""