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

Classes

class  WallboxSwitch
 

Functions

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

Variables

 key
 
 translation_key
 
 WallboxCoordinator
 

Detailed Description

Home Assistant component for accessing the Wallbox Portal API. The switch component creates a switch entity.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.wallbox.switch.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)

Definition at line 31 of file switch.py.

Variable Documentation

◆ key

homeassistant.components.wallbox.switch.key

Definition at line 25 of file switch.py.

◆ translation_key

homeassistant.components.wallbox.switch.translation_key

Definition at line 26 of file switch.py.

◆ WallboxCoordinator

Create wallbox sensor entities in HASS.

Definition at line 35 of file switch.py.