예제 #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()