Esempio n. 1
0
 def __init__(self, tesla_device, controller):
     """Initialize the Tesla device."""
     super().__init__(tesla_device, controller)
     self.entity_id = ENTITY_ID_FORMAT.format(self.tesla_id)
     self._target_temperature = None
     self._temperature = None
     self._name = self.tesla_device.name
Esempio n. 2
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)
Esempio n. 3
0
 def __init__(self, tuya):
     """Init climate device."""
     super().__init__(tuya)
     self.entity_id = ENTITY_ID_FORMAT.format(tuya.object_id())
     self.operations = []
Esempio n. 4
0
 def __init__(
     self, vera_device: veraApi.VeraThermostat, controller_data: ControllerData
 ):
     """Initialize the Vera device."""
     VeraDevice.__init__(self, vera_device, controller_data)
     self.entity_id = ENTITY_ID_FORMAT.format(self.vera_id)
Esempio n. 5
0
 def __init__(self, tesla_device, controller):
     """Initialize the Tesla device."""
     super().__init__(tesla_device, controller)
     self.entity_id = ENTITY_ID_FORMAT.format(self.tesla_id)
     self._target_temperature = None
     self._temperature = None
Esempio n. 6
0
 def __init__(self, tuya, platform):
     """Init climate device."""
     super().__init__(tuya, platform)
     self.entity_id = ENTITY_ID_FORMAT.format(tuya.object_id())
     self.operations = [HVAC_MODE_OFF]
Esempio n. 7
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)
Esempio n. 8
0
 def __init__(self, hass, homee_node, cube):
     HomeeDevice.__init__(self, hass, homee_node, cube)
     self.entity_id = ENTITY_ID_FORMAT.format(self.homee_id)
Esempio n. 9
0