Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.streamlabswater Namespace Reference

Namespaces

 binary_sensor
 
 config_flow
 
 const
 
 coordinator
 
 entity
 
 sensor
 

Functions

bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

string ATTR_AWAY_MODE = "away_mode"
 
string AWAY_MODE_AWAY = "away"
 
string AWAY_MODE_HOME = "home"
 
string CONF_LOCATION_ID = "location_id"
 
dictionary ISSUE_PLACEHOLDER = {"url": "/config/integrations/dashboard/add?domain=streamlabswater"}
 
string SERVICE_SET_AWAY_MODE = "set_away_mode"
 
 SET_AWAY_MODE_SCHEMA
 

Detailed Description

Support for Streamlabs Water Monitor devices.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.streamlabswater.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up StreamLabs from a config entry.

Definition at line 33 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.streamlabswater.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 58 of file __init__.py.

Variable Documentation

◆ ATTR_AWAY_MODE

string homeassistant.components.streamlabswater.ATTR_AWAY_MODE = "away_mode"

Definition at line 14 of file __init__.py.

◆ AWAY_MODE_AWAY

string homeassistant.components.streamlabswater.AWAY_MODE_AWAY = "away"

Definition at line 16 of file __init__.py.

◆ AWAY_MODE_HOME

string homeassistant.components.streamlabswater.AWAY_MODE_HOME = "home"

Definition at line 17 of file __init__.py.

◆ CONF_LOCATION_ID

string homeassistant.components.streamlabswater.CONF_LOCATION_ID = "location_id"

Definition at line 19 of file __init__.py.

◆ ISSUE_PLACEHOLDER

dictionary homeassistant.components.streamlabswater.ISSUE_PLACEHOLDER = {"url": "/config/integrations/dashboard/add?domain=streamlabswater"}

Definition at line 21 of file __init__.py.

◆ SERVICE_SET_AWAY_MODE

string homeassistant.components.streamlabswater.SERVICE_SET_AWAY_MODE = "set_away_mode"

Definition at line 15 of file __init__.py.

◆ SET_AWAY_MODE_SCHEMA

homeassistant.components.streamlabswater.SET_AWAY_MODE_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(ATTR_AWAY_MODE): vol.In([AWAY_MODE_AWAY, AWAY_MODE_HOME]),
4  vol.Optional(CONF_LOCATION_ID): cv.string,
5  }
6 )

Definition at line 23 of file __init__.py.