Пример #1
0
 def write(self, status):
     picontrol.setlight(status)
     self.status = status
Пример #2
0
 def __init__(self):
     self.name = "Light"
     picontrol.setlight(False)
     self.status = False