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
@@ -119,7 +119,7 @@ class SCSGateSwitch(SwitchDevice):
|
||||
ToggleStatusTask(target=self._scs_id, toggled=True))
|
||||
|
||||
self._toggled = True
|
||||
self.shedule_update_ha_state()
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
def turn_off(self, **kwargs):
|
||||
"""Turn the device off."""
|
||||
@@ -129,7 +129,7 @@ class SCSGateSwitch(SwitchDevice):
|
||||
ToggleStatusTask(target=self._scs_id, toggled=False))
|
||||
|
||||
self._toggled = False
|
||||
self.shedule_update_ha_state()
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
def process_event(self, message):
|
||||
"""Handle a SCSGate message related with this switch."""
|
||||
|
||||
Reference in new issue
Block a user