Hub device representing Bond Bridge.
Definition at line 135 of file utils.py.
◆ __init__()
| None homeassistant.components.bond.utils.BondHub.__init__ |
( |
|
self, |
|
|
Bond |
bond, |
|
|
str |
host |
|
) |
| |
Initialize Bond Hub.
Definition at line 138 of file utils.py.
◆ bond_id()
| str | None homeassistant.components.bond.utils.BondHub.bond_id |
( |
|
self | ) |
|
Return unique Bond ID for this hub.
Definition at line 189 of file utils.py.
◆ devices()
| list[BondDevice] homeassistant.components.bond.utils.BondHub.devices |
( |
|
self | ) |
|
Return a list of all devices controlled by this hub.
Definition at line 234 of file utils.py.
◆ fw_ver()
| str | None homeassistant.components.bond.utils.BondHub.fw_ver |
( |
|
self | ) |
|
Return this hub firmware version.
Definition at line 224 of file utils.py.
◆ is_bridge()
| bool homeassistant.components.bond.utils.BondHub.is_bridge |
( |
|
self | ) |
|
Return if the Bond is a Bond Bridge.
Definition at line 239 of file utils.py.
◆ location()
| str | None homeassistant.components.bond.utils.BondHub.location |
( |
|
self | ) |
|
Get the location of this bridge.
Definition at line 217 of file utils.py.
◆ make()
| str homeassistant.components.bond.utils.BondHub.make |
( |
|
self | ) |
|
Return this hub make.
Definition at line 205 of file utils.py.
◆ mcu_ver()
| str | None homeassistant.components.bond.utils.BondHub.mcu_ver |
( |
|
self | ) |
|
Return this hub hardware version.
Definition at line 229 of file utils.py.
◆ model()
| str | None homeassistant.components.bond.utils.BondHub.model |
( |
|
self | ) |
|
Return this hub model.
Definition at line 200 of file utils.py.
◆ name()
| str homeassistant.components.bond.utils.BondHub.name |
( |
|
self | ) |
|
Get the name of this bridge.
Definition at line 210 of file utils.py.
◆ setup()
| None homeassistant.components.bond.utils.BondHub.setup |
( |
|
self, |
|
|
int | None |
max_devices = None |
|
) |
| |
Read hub version information.
Definition at line 146 of file utils.py.
◆ target()
| str | None homeassistant.components.bond.utils.BondHub.target |
( |
|
self | ) |
|
Return this hub target.
Definition at line 195 of file utils.py.
◆ _bridge
| homeassistant.components.bond.utils.BondHub._bridge |
|
private |
◆ _devices
| homeassistant.components.bond.utils.BondHub._devices |
|
private |
◆ _version
| homeassistant.components.bond.utils.BondHub._version |
|
private |
◆ host
| homeassistant.components.bond.utils.BondHub.host |
The documentation for this class was generated from the following file:
- core/homeassistant/components/bond/utils.py