Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.broadlink.updater.BroadlinkUpdateManager Class Reference
Inheritance diagram for homeassistant.components.broadlink.updater.BroadlinkUpdateManager:
[legend]
Collaboration diagram for homeassistant.components.broadlink.updater.BroadlinkUpdateManager:
[legend]

Public Member Functions

None __init__ (self, BroadlinkDevice[_ApiT] device)
 
dict[str, Any]|None async_fetch_data (self)
 
dict[str, Any]|None async_update (self)
 

Public Attributes

 available
 
 coordinator
 
 device
 
 last_update
 

Static Public Attributes

 SCAN_INTERVAL = timedelta(minutes=1)
 

Detailed Description

Representation of a Broadlink update manager.

Implement this class to manage fetching data from the device and to
monitor device availability.

Definition at line 51 of file updater.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.broadlink.updater.BroadlinkUpdateManager.__init__ (   self,
BroadlinkDevice[_ApiT device 
)
Initialize the update manager.

Definition at line 60 of file updater.py.

Member Function Documentation

◆ async_fetch_data()

◆ async_update()

dict[str, Any] | None homeassistant.components.broadlink.updater.BroadlinkUpdateManager.async_update (   self)
Fetch data from the device and update availability.

Definition at line 73 of file updater.py.

Member Data Documentation

◆ available

homeassistant.components.broadlink.updater.BroadlinkUpdateManager.available
Fetch data from the device and update availability.

Definition at line 87 of file updater.py.

◆ coordinator

homeassistant.components.broadlink.updater.BroadlinkUpdateManager.coordinator

Definition at line 63 of file updater.py.

◆ device

homeassistant.components.broadlink.updater.BroadlinkUpdateManager.device
Initialize the update manager.

Definition at line 62 of file updater.py.

◆ last_update

homeassistant.components.broadlink.updater.BroadlinkUpdateManager.last_update

Definition at line 104 of file updater.py.

◆ SCAN_INTERVAL

homeassistant.components.broadlink.updater.BroadlinkUpdateManager.SCAN_INTERVAL = timedelta(minutes=1)
static

Definition at line 58 of file updater.py.


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