Fix spelling schedule_update_ha_state (#4415)
This commit is contained in:
1 parent
1fff6ce438
commit
f006b00dc1
15 files changed
+29
-29
No files matched your search
@@ -77,10 +77,10 @@ class RPiGPIOSwitch(ToggleEntity):
|
||||
"""Turn the device on."""
|
||||
rpi_gpio.write_output(self._port, 0 if self._invert_logic else 1)
|
||||
self._state = True
|
||||
self.shedule_update_ha_state()
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
def turn_off(self):
|
||||
"""Turn the device off."""
|
||||
rpi_gpio.write_output(self._port, 1 if self._invert_logic else 0)
|
||||
self._state = False
|
||||
self.shedule_update_ha_state()
|
||||
self.schedule_update_ha_state()
|
||||
Reference in new issue
Block a user