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

Classes

class  GeniusSwitch
 

Functions

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

Variables

string GH_ON_OFF_ZONE = "on / off"
 
string SVC_SET_SWITCH_OVERRIDE = "set_switch_override"
 
 VolDictType
 

Detailed Description

Support for Genius Hub switch/outlet devices.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.geniushub.switch.async_setup_entry ( HomeAssistant  hass,
GeniusHubConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Genius Hub switch entities.

Definition at line 31 of file switch.py.

Variable Documentation

◆ GH_ON_OFF_ZONE

string homeassistant.components.geniushub.switch.GH_ON_OFF_ZONE = "on / off"

Definition at line 19 of file switch.py.

◆ SVC_SET_SWITCH_OVERRIDE

string homeassistant.components.geniushub.switch.SVC_SET_SWITCH_OVERRIDE = "set_switch_override"

Definition at line 21 of file switch.py.

◆ VolDictType

homeassistant.components.geniushub.switch.VolDictType

Definition at line 23 of file switch.py.