예제 #1
0
 def __init__(self, vera_device, controller):
     """Initialize the light."""
     self._state = False
     self._color = None
     self._brightness = None
     VeraDevice.__init__(self, vera_device, controller)
     self.entity_id = ENTITY_ID_FORMAT.format(self.vera_id)
예제 #2
0
 def __init__(self, vera_device, controller):
     """Initialize the sensor."""
     self.current_value = None
     self._temperature_units = None
     self.last_changed_time = None
     VeraDevice.__init__(self, vera_device, controller)
     self.entity_id = ENTITY_ID_FORMAT.format(self.vera_id)
예제 #3
0
 def __init__(self, vera_device, controller):
     """Initialize the Vera device."""
     VeraDevice.__init__(self, vera_device, controller)
     self.entity_id = ENTITY_ID_FORMAT.format(self.vera_id)
예제 #4
0
 def __init__(self, vera_device, controller):
     """Initialize the Vera device."""
     VeraDevice.__init__(self, vera_device, controller)
예제 #5
0
 def __init__(self, vera_device, controller):
     """Initialize the binary_sensor."""
     self._state = False
     VeraDevice.__init__(self, vera_device, controller)
     self.entity_id = ENTITY_ID_FORMAT.format(self.vera_id)
예제 #6
0
 def __init__(self, vera_device, controller):
     """Initialize the light."""
     self._state = False
     VeraDevice.__init__(self, vera_device, controller)
예제 #7
0
 def __init__(self, vera_device, controller):
     """Initialize the Vera device."""
     self._state = None
     VeraDevice.__init__(self, vera_device, controller)
예제 #8
0
 def __init__(self, vera_device, controller):
     """Initialize the sensor."""
     self.current_value = None
     self._temperature_units = None
     VeraDevice.__init__(self, vera_device, controller)
예제 #9
0
 def __init__(self, vera_device, controller):
     """Initialize the binary_sensor."""
     self._state = False
     VeraDevice.__init__(self, vera_device, controller)