Exemple #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
Exemple #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)
Exemple #3
0
 def __init__(self, tuya):
     """Init climate device."""
     super().__init__(tuya)
     self.entity_id = ENTITY_ID_FORMAT.format(tuya.object_id())
     self.operations = []
Exemple #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)
Exemple #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
 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]
 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)
 def __init__(self, hass, homee_node, cube):
     HomeeDevice.__init__(self, hass, homee_node, cube)
     self.entity_id = ENTITY_ID_FORMAT.format(self.homee_id)
Exemple #9
0