Fix spelling schedule_update_ha_state (#4415)

This commit is contained in:
Paulus Schoutsen 2016-11-16 08:26:29 -08:00 committed by GitHub
parent 1fff6ce438
commit f006b00dc1
15 changed files with 29 additions and 29 deletions

View file

@ -66,9 +66,9 @@ class DemoSwitch(SwitchDevice):
def turn_on(self, **kwargs):
"""Turn the switch on."""
self._state = True
self.shedule_update_ha_state()
self.schedule_update_ha_state()
def turn_off(self, **kwargs):
"""Turn the device off."""
self._state = False
self.shedule_update_ha_state()
self.schedule_update_ha_state()