mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 10:48:01 +02:00
Update sensehat.py
This commit is contained in:
@ -105,10 +105,10 @@ class SenseHatLight(Light):
|
||||
int(self._rgb_color[2] * percent_bright))
|
||||
|
||||
self._is_on = True
|
||||
this.schedule_update_ha_state()
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
def turn_off(self, **kwargs):
|
||||
"""Instruct the light to turn off."""
|
||||
self._sensehat.clear()
|
||||
self._is_on = False
|
||||
this.schedule_update_ha_state()
|
||||
self.schedule_update_ha_state()
|
||||
|
Reference in New Issue
Block a user