Fix spelling schedule_update_ha_state (#4415)
This commit is contained in:
parent
1fff6ce438
commit
f006b00dc1
15 changed files with 29 additions and 29 deletions
|
@ -36,13 +36,13 @@ class VeraSwitch(VeraDevice, SwitchDevice):
|
|||
"""Turn device on."""
|
||||
self.vera_device.switch_on()
|
||||
self._state = STATE_ON
|
||||
self.shedule_update_ha_state()
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
def turn_off(self, **kwargs):
|
||||
"""Turn device off."""
|
||||
self.vera_device.switch_off()
|
||||
self._state = STATE_OFF
|
||||
self.shedule_update_ha_state()
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
@property
|
||||
def current_power_mwh(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue