Manages a Axis device.
Definition at line 23 of file hub.py.
◆ __init__()
Initialize the device.
Definition at line 26 of file hub.py.
◆ async_new_address_callback()
Handle signals of device getting new address.
Called when config entry is updated.
This is a static method because a class method (bound method),
cannot be used with weak references.
Definition at line 60 of file hub.py.
◆ async_update_device_registry()
| None homeassistant.components.axis.hub.hub.AxisHub.async_update_device_registry |
( |
|
self | ) |
|
Update device registry.
Definition at line 75 of file hub.py.
◆ available()
| bool homeassistant.components.axis.hub.hub.AxisHub.available |
( |
|
self | ) |
|
Connection state to the device.
Definition at line 43 of file hub.py.
◆ setup()
| None homeassistant.components.axis.hub.hub.AxisHub.setup |
( |
|
self | ) |
|
Set up the device events.
Definition at line 92 of file hub.py.
◆ shutdown()
| None homeassistant.components.axis.hub.hub.AxisHub.shutdown |
( |
|
self, |
|
|
Event |
event |
|
) |
| |
Stop the event stream.
Definition at line 97 of file hub.py.
◆ signal_new_address()
| str homeassistant.components.axis.hub.hub.AxisHub.signal_new_address |
( |
|
self | ) |
|
Device specific event to signal a change in device address.
Definition at line 55 of file hub.py.
◆ signal_reachable()
| str homeassistant.components.axis.hub.hub.AxisHub.signal_reachable |
( |
|
self | ) |
|
Device specific event to signal a change in connection status.
Definition at line 50 of file hub.py.
◆ teardown()
| None homeassistant.components.axis.hub.hub.AxisHub.teardown |
( |
|
self | ) |
|
Reset this device to default state.
Definition at line 102 of file hub.py.
◆ api
| homeassistant.components.axis.hub.hub.AxisHub.api |
◆ config
| homeassistant.components.axis.hub.hub.AxisHub.config |
◆ entity_loader
| homeassistant.components.axis.hub.hub.AxisHub.entity_loader |
◆ event_source
| homeassistant.components.axis.hub.hub.AxisHub.event_source |
◆ fw_version
| homeassistant.components.axis.hub.hub.AxisHub.fw_version |
◆ hass
| homeassistant.components.axis.hub.hub.AxisHub.hass |
◆ product_type
| homeassistant.components.axis.hub.hub.AxisHub.product_type |
◆ unique_id
| homeassistant.components.axis.hub.hub.AxisHub.unique_id |
The documentation for this class was generated from the following file:
- core/homeassistant/components/axis/hub/hub.py