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

Classes

class  DROPSwitch
 
class  DROPSwitchEntityDescription
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string BYPASS_SWITCH = "bypass"
 
string WATER_SWITCH = "water"
 

Detailed Description

Support for DROP switches.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.drop_connect.switch.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the DROP switches from config entry.

Definition at line 67 of file switch.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 26 of file switch.py.

◆ BYPASS_SWITCH

string homeassistant.components.drop_connect.switch.BYPASS_SWITCH = "bypass"

Definition at line 32 of file switch.py.

◆ WATER_SWITCH

string homeassistant.components.drop_connect.switch.WATER_SWITCH = "water"

Definition at line 31 of file switch.py.