Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.freebox.router Namespace Reference

Classes

class  FreeboxRouter
 

Functions

Freepybox get_api (HomeAssistant hass, str host)
 
tuple[bool, list[dict[str, Any]]] get_hosts_list_if_supported (Freepybox fbx_api)
 
bool is_json (str json_str)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Represent the Freebox router and its devices and sensors.

Function Documentation

◆ get_api()

Freepybox homeassistant.components.freebox.router.get_api ( HomeAssistant  hass,
str  host 
)
Get the Freebox API.

Definition at line 56 of file router.py.

◆ get_hosts_list_if_supported()

tuple[bool, list[dict[str, Any]]] homeassistant.components.freebox.router.get_hosts_list_if_supported ( Freepybox  fbx_api)
Hosts list is not supported when freebox is configured in bridge mode.

Definition at line 68 of file router.py.

◆ is_json()

bool homeassistant.components.freebox.router.is_json ( str  json_str)
Validate if a String is a JSON value or not.

Definition at line 42 of file router.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.freebox.router._LOGGER = logging.getLogger(__name__)
private

Definition at line 39 of file router.py.