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

Variables

string ATTR_COLOR_MODE = "color_mode"
 
string ATTR_CONFIG_ENTRY = "config_entry"
 
string ATTR_RUNTIME = "runtime"
 
int DEFAULT_SCAN_INTERVAL = 30
 
string DOMAIN = "screenlogic"
 
dictionary LIGHT_CIRCUIT_FUNCTIONS
 
int MAX_RUNTIME = 72
 
int MIN_RUNTIME = 0
 
int MIN_SCAN_INTERVAL = 10
 
 ScreenLogicDataPath
 
string SERVICE_SET_COLOR_MODE = "set_color_mode"
 
string SERVICE_START_SUPER_CHLORINATION = "start_super_chlorination"
 
string SERVICE_STOP_SUPER_CHLORINATION = "stop_super_chlorination"
 
dictionary SL_UNIT_TO_HA_UNIT
 
dictionary SUPPORTED_COLOR_MODES = {slugify(cm.name): cm.value for cm in COLOR_MODE}
 

Detailed Description

Constants for the ScreenLogic integration.

Variable Documentation

◆ ATTR_COLOR_MODE

string homeassistant.components.screenlogic.const.ATTR_COLOR_MODE = "color_mode"

Definition at line 27 of file const.py.

◆ ATTR_CONFIG_ENTRY

string homeassistant.components.screenlogic.const.ATTR_CONFIG_ENTRY = "config_entry"

Definition at line 24 of file const.py.

◆ ATTR_RUNTIME

string homeassistant.components.screenlogic.const.ATTR_RUNTIME = "runtime"

Definition at line 31 of file const.py.

◆ DEFAULT_SCAN_INTERVAL

int homeassistant.components.screenlogic.const.DEFAULT_SCAN_INTERVAL = 30

Definition at line 21 of file const.py.

◆ DOMAIN

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

Definition at line 20 of file const.py.

◆ LIGHT_CIRCUIT_FUNCTIONS

dictionary homeassistant.components.screenlogic.const.LIGHT_CIRCUIT_FUNCTIONS
Initial value:
1 = {
2  FUNCTION.COLOR_WHEEL,
3  FUNCTION.DIMMER,
4  FUNCTION.INTELLIBRITE,
5  FUNCTION.LIGHT,
6  FUNCTION.MAGICSTREAM,
7  FUNCTION.PHOTONGEN,
8  FUNCTION.SAL_LIGHT,
9  FUNCTION.SAM_LIGHT,
10 }

Definition at line 37 of file const.py.

◆ MAX_RUNTIME

int homeassistant.components.screenlogic.const.MAX_RUNTIME = 72

Definition at line 32 of file const.py.

◆ MIN_RUNTIME

int homeassistant.components.screenlogic.const.MIN_RUNTIME = 0

Definition at line 33 of file const.py.

◆ MIN_SCAN_INTERVAL

int homeassistant.components.screenlogic.const.MIN_SCAN_INTERVAL = 10

Definition at line 22 of file const.py.

◆ ScreenLogicDataPath

homeassistant.components.screenlogic.const.ScreenLogicDataPath

Definition at line 18 of file const.py.

◆ SERVICE_SET_COLOR_MODE

string homeassistant.components.screenlogic.const.SERVICE_SET_COLOR_MODE = "set_color_mode"

Definition at line 26 of file const.py.

◆ SERVICE_START_SUPER_CHLORINATION

string homeassistant.components.screenlogic.const.SERVICE_START_SUPER_CHLORINATION = "start_super_chlorination"

Definition at line 30 of file const.py.

◆ SERVICE_STOP_SUPER_CHLORINATION

string homeassistant.components.screenlogic.const.SERVICE_STOP_SUPER_CHLORINATION = "stop_super_chlorination"

Definition at line 35 of file const.py.

◆ SL_UNIT_TO_HA_UNIT

dictionary homeassistant.components.screenlogic.const.SL_UNIT_TO_HA_UNIT
Initial value:
1 = {
2  UNIT.CELSIUS: UnitOfTemperature.CELSIUS,
3  UNIT.FAHRENHEIT: UnitOfTemperature.FAHRENHEIT,
4  UNIT.MILLIVOLT: UnitOfElectricPotential.MILLIVOLT,
5  UNIT.WATT: UnitOfPower.WATT,
6  UNIT.HOUR: UnitOfTime.HOURS,
7  UNIT.SECOND: UnitOfTime.SECONDS,
8  UNIT.REVOLUTIONS_PER_MINUTE: REVOLUTIONS_PER_MINUTE,
9  UNIT.PARTS_PER_MILLION: CONCENTRATION_PARTS_PER_MILLION,
10  UNIT.PERCENT: PERCENTAGE,
11 }

Definition at line 48 of file const.py.

◆ SUPPORTED_COLOR_MODES

dictionary homeassistant.components.screenlogic.const.SUPPORTED_COLOR_MODES = {slugify(cm.name): cm.value for cm in COLOR_MODE}

Definition at line 28 of file const.py.