From 85b7433bc418df561530b8a75c53c96963c67742 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 29 Apr 2017 22:42:12 -0700 Subject: [PATCH] Update sensehat.py --- homeassistant/components/light/sensehat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/light/sensehat.py b/homeassistant/components/light/sensehat.py index c4aad134b0b..869963d3545 100644 --- a/homeassistant/components/light/sensehat.py +++ b/homeassistant/components/light/sensehat.py @@ -86,12 +86,12 @@ class SenseHatLight(Light): def should_poll(self): """Return if we should poll this device.""" return False - + @property def assumed_state(self) -> bool: """Return True if unable to access real state of the entity.""" return True - + def turn_on(self, **kwargs): """Instruct the light to turn on and set correct brightness & color.""" self._brightness = kwargs.get(ATTR_BRIGHTNESS, 255)