Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.dynalite.bridge.DynaliteBridge Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, dict[str, Any] config)
 
None add_devices_when_registered (self, list[DynaliteBaseDevice] devices)
 
bool async_setup (self)
 
None handle_notification (self, DynaliteNotification notification)
 
None register_add_devices (self, str platform, Callable async_add_devices)
 
None reload_config (self, MappingProxyType[str, Any] config)
 
None update_device (self, DynaliteBaseDevice|None device=None)
 
str update_signal (self, DynaliteBaseDevice|None device=None)
 

Public Attributes

 dynalite_devices
 
 hass
 
 host
 

Detailed Description

Manages a single Dynalite bridge.

Definition at line 27 of file bridge.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.dynalite.bridge.DynaliteBridge.__init__ (   self,
HomeAssistant  hass,
dict[str, Any]  config 
)
Initialize the system based on host parameter.

Definition at line 30 of file bridge.py.

Member Function Documentation

◆ add_devices_when_registered()

None homeassistant.components.dynalite.bridge.DynaliteBridge.add_devices_when_registered (   self,
list[DynaliteBaseDevice]  devices 
)
Add the devices to HA if the add devices callback was registered, otherwise queue until it is.

Definition at line 104 of file bridge.py.

◆ async_setup()

bool homeassistant.components.dynalite.bridge.DynaliteBridge.async_setup (   self)
Set up a Dynalite bridge.

Definition at line 44 of file bridge.py.

◆ handle_notification()

None homeassistant.components.dynalite.bridge.DynaliteBridge.handle_notification (   self,
DynaliteNotification  notification 
)
Handle a notification from the platform and issue events.

Definition at line 77 of file bridge.py.

◆ register_add_devices()

None homeassistant.components.dynalite.bridge.DynaliteBridge.register_add_devices (   self,
str  platform,
Callable  async_add_devices 
)
Add an async_add_entities for a category.

Definition at line 98 of file bridge.py.

◆ reload_config()

None homeassistant.components.dynalite.bridge.DynaliteBridge.reload_config (   self,
MappingProxyType[str, Any]  config 
)
Reconfigure a bridge when config changes.

Definition at line 50 of file bridge.py.

◆ update_device()

None homeassistant.components.dynalite.bridge.DynaliteBridge.update_device (   self,
DynaliteBaseDevice | None   device = None 
)
Call when a device or all devices should be updated.

Definition at line 64 of file bridge.py.

◆ update_signal()

str homeassistant.components.dynalite.bridge.DynaliteBridge.update_signal (   self,
DynaliteBaseDevice | None   device = None 
)
Create signal to use to trigger entity update.

Definition at line 55 of file bridge.py.

Member Data Documentation

◆ dynalite_devices

homeassistant.components.dynalite.bridge.DynaliteBridge.dynalite_devices

Definition at line 37 of file bridge.py.

◆ hass

homeassistant.components.dynalite.bridge.DynaliteBridge.hass

Definition at line 32 of file bridge.py.

◆ host

homeassistant.components.dynalite.bridge.DynaliteBridge.host

Definition at line 35 of file bridge.py.


The documentation for this class was generated from the following file: