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

Classes

class  FreeboxSwitch
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list SWITCH_DESCRIPTIONS
 

Detailed Description

Support for Freebox Delta, Revolution and Mini 4K.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.freebox.switch.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the switch.

Definition at line 31 of file switch.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 19 of file switch.py.

◆ SWITCH_DESCRIPTIONS

list homeassistant.components.freebox.switch.SWITCH_DESCRIPTIONS
Initial value:
1 = [
2  SwitchEntityDescription(
3  key="wifi",
4  name="Freebox WiFi",
5  entity_category=EntityCategory.CONFIG,
6  )
7 ]

Definition at line 22 of file switch.py.