Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.network.network.Network Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass)
 
None async_configure (self)
 
None async_load (self)
 
None async_reconfig (self, dict[str, Any] config)
 
None async_setup (self)
 
list[str] configured_adapters (self)
 

Public Attributes

 adapters
 

Private Member Functions

None _async_save (self)
 

Private Attributes

 _data
 
 _store
 

Detailed Description

Network helper class for the network integration.

Definition at line 37 of file network.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.network.network.Network.__init__ (   self,
HomeAssistant  hass 
)
Initialize the Network class.

Definition at line 40 of file network.py.

Member Function Documentation

◆ _async_save()

None homeassistant.components.network.network.Network._async_save (   self)
private
Save preferences.

Definition at line 76 of file network.py.

◆ async_configure()

None homeassistant.components.network.network.Network.async_configure (   self)
Configure from storage.

Definition at line 60 of file network.py.

◆ async_load()

None homeassistant.components.network.network.Network.async_load (   self)
Load config.

Definition at line 71 of file network.py.

◆ async_reconfig()

None homeassistant.components.network.network.Network.async_reconfig (   self,
dict[str, Any]  config 
)
Reconfigure network.

Definition at line 65 of file network.py.

◆ async_setup()

None homeassistant.components.network.network.Network.async_setup (   self)
Set up the network config.

Definition at line 53 of file network.py.

◆ configured_adapters()

list[str] homeassistant.components.network.network.Network.configured_adapters (   self)
Return the configured adapters.

Definition at line 49 of file network.py.

Member Data Documentation

◆ _data

homeassistant.components.network.network.Network._data
private

Definition at line 74 of file network.py.

◆ _store

homeassistant.components.network.network.Network._store
private

Definition at line 42 of file network.py.

◆ adapters

homeassistant.components.network.network.Network.adapters

Definition at line 56 of file network.py.


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