Ejemplo n.º 1
0
 def __init__(self, tesla_device, controller):
     """Initialise of the lock."""
     self._state = None
     super().__init__(tesla_device, controller)
     self.entity_id = ENTITY_ID_FORMAT.format(self.tesla_id)
Ejemplo n.º 2
0
 def __init__(self, tesla_device, controller):
     """Initialise of the lock."""
     self._state = None
     super().__init__(tesla_device, controller)
     self.entity_id = ENTITY_ID_FORMAT.format(self.tesla_id)
Ejemplo n.º 3
0
 def __init__(self, vera_device: veraApi.VeraLock,
              controller_data: ControllerData) -> None:
     """Initialize the Vera device."""
     self._state = None
     VeraDevice.__init__(self, vera_device, controller_data)
     self.entity_id = ENTITY_ID_FORMAT.format(self.vera_id)
Ejemplo n.º 4
0
 def __init__(self, vera_device, controller):
     """Initialize the Vera device."""
     self._state = None
     VeraDevice.__init__(self, vera_device, controller)
     self.entity_id = ENTITY_ID_FORMAT.format(self.vera_id)
Ejemplo n.º 5
0
 def __init__(self, vera_device, controller):
     """Initialize the Vera device."""
     self._state = None
     VeraDevice.__init__(self, vera_device, controller)
     self.entity_id = ENTITY_ID_FORMAT.format(self.vera_id)
Ejemplo n.º 6
0
Archivo: lock.py Proyecto: jbouwh/core
 def __init__(self, fibaro_device: DeviceModel | SceneModel) -> None:
     """Initialize the Fibaro device."""
     super().__init__(fibaro_device)
     self.entity_id = ENTITY_ID_FORMAT.format(self.ha_id)