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

Classes

class  AquaLogicSwitch
 

Functions

None async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 PLATFORM_SCHEMA
 
dictionary SWITCH_TYPES
 

Detailed Description

Support for AquaLogic switches.

Function Documentation

◆ async_setup_platform()

None homeassistant.components.aqualogic.switch.async_setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  async_add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the switch platform.

Definition at line 45 of file switch.py.

Variable Documentation

◆ PLATFORM_SCHEMA

homeassistant.components.aqualogic.switch.PLATFORM_SCHEMA
Initial value:
1 = SWITCH_PLATFORM_SCHEMA.extend(
2  {
3  vol.Optional(CONF_MONITORED_CONDITIONS, default=list(SWITCH_TYPES)): vol.All(
4  cv.ensure_list, [vol.In(SWITCH_TYPES)]
5  )
6  }
7 )

Definition at line 36 of file switch.py.

◆ SWITCH_TYPES

dictionary homeassistant.components.aqualogic.switch.SWITCH_TYPES
Initial value:
1 = {
2  "lights": "Lights",
3  "filter": "Filter",
4  "filter_low_speed": "Filter Low Speed",
5  "aux_1": "Aux 1",
6  "aux_2": "Aux 2",
7  "aux_3": "Aux 3",
8  "aux_4": "Aux 4",
9  "aux_5": "Aux 5",
10  "aux_6": "Aux 6",
11  "aux_7": "Aux 7",
12 }

Definition at line 23 of file switch.py.