Пример #1
0
 def update(self):
     verisure.update_smartplug()
Пример #2
0
 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()