|
| 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) |
| |
Manages a single Dynalite bridge.
Definition at line 27 of file bridge.py.
◆ __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.
◆ 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.
◆ dynalite_devices
| homeassistant.components.dynalite.bridge.DynaliteBridge.dynalite_devices |
◆ hass
| homeassistant.components.dynalite.bridge.DynaliteBridge.hass |
◆ host
| homeassistant.components.dynalite.bridge.DynaliteBridge.host |
The documentation for this class was generated from the following file:
- core/homeassistant/components/dynalite/bridge.py