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

Classes

class  FloSwitch
 

Functions

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

Variables

string ATTR_REVERT_TO_MODE = "revert_to_mode"
 
string ATTR_SLEEP_MINUTES = "sleep_minutes"
 
string SERVICE_RUN_HEALTH_TEST = "run_health_test"
 
string SERVICE_SET_AWAY_MODE = "set_away_mode"
 
string SERVICE_SET_HOME_MODE = "set_home_mode"
 
string SERVICE_SET_SLEEP_MODE = "set_sleep_mode"
 

Detailed Description

Switch representing the shutoff valve for the Flo by Moen integration.

Function Documentation

◆ async_setup_entry()

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

Definition at line 28 of file switch.py.

Variable Documentation

◆ ATTR_REVERT_TO_MODE

string homeassistant.components.flo.switch.ATTR_REVERT_TO_MODE = "revert_to_mode"

Definition at line 20 of file switch.py.

◆ ATTR_SLEEP_MINUTES

string homeassistant.components.flo.switch.ATTR_SLEEP_MINUTES = "sleep_minutes"

Definition at line 21 of file switch.py.

◆ SERVICE_RUN_HEALTH_TEST

string homeassistant.components.flo.switch.SERVICE_RUN_HEALTH_TEST = "run_health_test"

Definition at line 25 of file switch.py.

◆ SERVICE_SET_AWAY_MODE

string homeassistant.components.flo.switch.SERVICE_SET_AWAY_MODE = "set_away_mode"

Definition at line 23 of file switch.py.

◆ SERVICE_SET_HOME_MODE

string homeassistant.components.flo.switch.SERVICE_SET_HOME_MODE = "set_home_mode"

Definition at line 24 of file switch.py.

◆ SERVICE_SET_SLEEP_MODE

string homeassistant.components.flo.switch.SERVICE_SET_SLEEP_MODE = "set_sleep_mode"

Definition at line 22 of file switch.py.