Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.hive.const Namespace Reference

Variables

string ATTR_MODE = "mode"
 
string ATTR_ONOFF = "on_off"
 
string ATTR_TIME_PERIOD = "time_period"
 
string CONF_CODE = "2fa"
 
string CONF_DEVICE_NAME = "device_name"
 
int CONFIG_ENTRY_VERSION = 1
 
string DEFAULT_NAME = "Hive"
 
string DOMAIN = "hive"
 
dictionary PLATFORM_LOOKUP
 
list PLATFORMS
 
string SERVICE_BOOST_HEATING_OFF = "boost_heating_off"
 
string SERVICE_BOOST_HEATING_ON = "boost_heating_on"
 
string SERVICE_BOOST_HOT_WATER = "boost_hot_water"
 
list WATER_HEATER_MODES = ["on", "off"]
 

Detailed Description

Constants for Hive.

Variable Documentation

◆ ATTR_MODE

string homeassistant.components.hive.const.ATTR_MODE = "mode"

Definition at line 5 of file const.py.

◆ ATTR_ONOFF

string homeassistant.components.hive.const.ATTR_ONOFF = "on_off"

Definition at line 7 of file const.py.

◆ ATTR_TIME_PERIOD

string homeassistant.components.hive.const.ATTR_TIME_PERIOD = "time_period"

Definition at line 6 of file const.py.

◆ CONF_CODE

string homeassistant.components.hive.const.CONF_CODE = "2fa"

Definition at line 8 of file const.py.

◆ CONF_DEVICE_NAME

string homeassistant.components.hive.const.CONF_DEVICE_NAME = "device_name"

Definition at line 9 of file const.py.

◆ CONFIG_ENTRY_VERSION

int homeassistant.components.hive.const.CONFIG_ENTRY_VERSION = 1

Definition at line 10 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.hive.const.DEFAULT_NAME = "Hive"

Definition at line 11 of file const.py.

◆ DOMAIN

string homeassistant.components.hive.const.DOMAIN = "hive"

Definition at line 12 of file const.py.

◆ PLATFORM_LOOKUP

dictionary homeassistant.components.hive.const.PLATFORM_LOOKUP
Initial value:
1 = {
2  Platform.ALARM_CONTROL_PANEL: "alarm_control_panel",
3  Platform.BINARY_SENSOR: "binary_sensor",
4  Platform.CLIMATE: "climate",
5  Platform.LIGHT: "light",
6  Platform.SENSOR: "sensor",
7  Platform.SWITCH: "switch",
8  Platform.WATER_HEATER: "water_heater",
9 }

Definition at line 22 of file const.py.

◆ PLATFORMS

list homeassistant.components.hive.const.PLATFORMS
Initial value:
1 = [
2  Platform.ALARM_CONTROL_PANEL,
3  Platform.BINARY_SENSOR,
4  Platform.CLIMATE,
5  Platform.LIGHT,
6  Platform.SENSOR,
7  Platform.SWITCH,
8  Platform.WATER_HEATER,
9 ]

Definition at line 13 of file const.py.

◆ SERVICE_BOOST_HEATING_OFF

string homeassistant.components.hive.const.SERVICE_BOOST_HEATING_OFF = "boost_heating_off"

Definition at line 33 of file const.py.

◆ SERVICE_BOOST_HEATING_ON

string homeassistant.components.hive.const.SERVICE_BOOST_HEATING_ON = "boost_heating_on"

Definition at line 32 of file const.py.

◆ SERVICE_BOOST_HOT_WATER

string homeassistant.components.hive.const.SERVICE_BOOST_HOT_WATER = "boost_hot_water"

Definition at line 31 of file const.py.

◆ WATER_HEATER_MODES

list homeassistant.components.hive.const.WATER_HEATER_MODES = ["on", "off"]

Definition at line 34 of file const.py.