Fix spelling schedule_update_ha_state (#4415)

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

No files matched your search

@@ -149,11 +149,11 @@ class CommandSwitch(SwitchDevice):
if (CommandSwitch._switch(self._command_on) and
not self._command_state):
self._state = True
self.shedule_update_ha_state()
self.schedule_update_ha_state()
def turn_off(self, **kwargs):
"""Turn the device off."""
if (CommandSwitch._switch(self._command_off) and
not self._command_state):
self._state = False
self.shedule_update_ha_state()
self.schedule_update_ha_state()