Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.fritz.coordinator Namespace Reference

Classes

class  AvmWrapper
 
class  ClassSetupMissing
 
class  ConnectionInfo
 
class  Device
 
class  FritzBoxTools
 
class  FritzData
 
class  FritzDevice
 
class  HostInfo
 
class  Interface
 
class  SwitchInfo
 
class  UpdateCoordinatorDataType
 

Functions

None _ha_is_stopping (str activity)
 
bool _is_tracked (str mac, ValuesView current_devices)
 
bool device_filter_out_from_trackers (str mac, FritzDevice device, ValuesView current_devices)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 HostAttributes
 

Detailed Description

Support for AVM FRITZ!Box classes.

Function Documentation

◆ _ha_is_stopping()

None homeassistant.components.fritz.coordinator._ha_is_stopping ( str  activity)
private
Inform that HA is stopping.

Definition at line 80 of file coordinator.py.

◆ _is_tracked()

bool homeassistant.components.fritz.coordinator._is_tracked ( str  mac,
ValuesView  current_devices 
)
private
Check if device is already tracked.

Definition at line 56 of file coordinator.py.

◆ device_filter_out_from_trackers()

bool homeassistant.components.fritz.coordinator.device_filter_out_from_trackers ( str  mac,
FritzDevice  device,
ValuesView  current_devices 
)
Check if device should be filtered out from trackers.

Definition at line 61 of file coordinator.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.fritz.coordinator._LOGGER = logging.getLogger(__name__)
private

Definition at line 53 of file coordinator.py.

◆ HostAttributes

homeassistant.components.fritz.coordinator.HostAttributes
Initial value:
1 = TypedDict(
2  "HostAttributes",
3  {
4  "Index": int,
5  "IPAddress": str,
6  "MACAddress": str,
7  "Active": bool,
8  "HostName": str,
9  "InterfaceType": str,
10  "X_AVM-DE_Port": int,
11  "X_AVM-DE_Speed": int,
12  "X_AVM-DE_UpdateAvailable": bool,
13  "X_AVM-DE_UpdateSuccessful": str,
14  "X_AVM-DE_InfoURL": str | None,
15  "X_AVM-DE_MACAddressList": str | None,
16  "X_AVM-DE_Model": str | None,
17  "X_AVM-DE_URL": str | None,
18  "X_AVM-DE_Guest": bool,
19  "X_AVM-DE_RequestClient": str,
20  "X_AVM-DE_VPN": bool,
21  "X_AVM-DE_WANAccess": str,
22  "X_AVM-DE_Disallow": bool,
23  "X_AVM-DE_IsMeshable": str,
24  "X_AVM-DE_Priority": str,
25  "X_AVM-DE_FriendlyName": str,
26  "X_AVM-DE_FriendlyNameIsWriteable": str,
27  },
28 )

Definition at line 116 of file coordinator.py.