def update(self): verisure.update_smartplug()
def turn_off(self): """ Set smartplug status off. """ verisure.MY_PAGES.smartplug.set(self._id, 'off') verisure.MY_PAGES.smartplug.wait_while_updating(self._id, 'off') verisure.update_smartplug()