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

Variables

string APP_NAME_PREFIX = "homeassistant."
 
string APP_OAUTH_CLIENT_NAME = "Home Assistant"
 
list APP_OAUTH_SCOPES = ["r:devices:*"]
 
string CONF_APP_ID = "app_id"
 
string CONF_CLOUDHOOK_URL = "cloudhook_url"
 
string CONF_INSTALLED_APP_ID = "installed_app_id"
 
string CONF_INSTANCE_ID = "instance_id"
 
string CONF_LOCATION_ID = "location_id"
 
string CONF_REFRESH_TOKEN = "refresh_token"
 
string DATA_BROKERS = "brokers"
 
string DATA_MANAGER = "manager"
 
string DOMAIN = "smartthings"
 
string EVENT_BUTTON = "smartthings.button"
 
list IGNORED_CAPABILITIES
 
list PLATFORMS
 
string SETTINGS_INSTANCE_ID = "hassInstanceId"
 
string SIGNAL_SMARTAPP_PREFIX = "smartthings_smartap_"
 
string SIGNAL_SMARTTHINGS_UPDATE = "smartthings_update"
 
string STORAGE_KEY = DOMAIN
 
int STORAGE_VERSION = 1
 
int SUBSCRIPTION_WARNING_LIMIT = 40
 
 TOKEN_REFRESH_INTERVAL = timedelta(days=14)
 
string VAL_UID = "^(?:([0-9a-fA-F]{32})|([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}))$"
 
 VAL_UID_MATCHER = re.compile(VAL_UID)
 

Detailed Description

Constants used by the SmartThings component and platforms.

Variable Documentation

◆ APP_NAME_PREFIX

string homeassistant.components.smartthings.const.APP_NAME_PREFIX = "homeassistant."

Definition at line 12 of file const.py.

◆ APP_OAUTH_CLIENT_NAME

string homeassistant.components.smartthings.const.APP_OAUTH_CLIENT_NAME = "Home Assistant"

Definition at line 10 of file const.py.

◆ APP_OAUTH_SCOPES

list homeassistant.components.smartthings.const.APP_OAUTH_SCOPES = ["r:devices:*"]

Definition at line 11 of file const.py.

◆ CONF_APP_ID

string homeassistant.components.smartthings.const.CONF_APP_ID = "app_id"

Definition at line 14 of file const.py.

◆ CONF_CLOUDHOOK_URL

string homeassistant.components.smartthings.const.CONF_CLOUDHOOK_URL = "cloudhook_url"

Definition at line 15 of file const.py.

◆ CONF_INSTALLED_APP_ID

string homeassistant.components.smartthings.const.CONF_INSTALLED_APP_ID = "installed_app_id"

Definition at line 16 of file const.py.

◆ CONF_INSTANCE_ID

string homeassistant.components.smartthings.const.CONF_INSTANCE_ID = "instance_id"

Definition at line 17 of file const.py.

◆ CONF_LOCATION_ID

string homeassistant.components.smartthings.const.CONF_LOCATION_ID = "location_id"

Definition at line 18 of file const.py.

◆ CONF_REFRESH_TOKEN

string homeassistant.components.smartthings.const.CONF_REFRESH_TOKEN = "refresh_token"

Definition at line 19 of file const.py.

◆ DATA_BROKERS

string homeassistant.components.smartthings.const.DATA_BROKERS = "brokers"

Definition at line 22 of file const.py.

◆ DATA_MANAGER

string homeassistant.components.smartthings.const.DATA_MANAGER = "manager"

Definition at line 21 of file const.py.

◆ DOMAIN

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

Definition at line 8 of file const.py.

◆ EVENT_BUTTON

string homeassistant.components.smartthings.const.EVENT_BUTTON = "smartthings.button"

Definition at line 23 of file const.py.

◆ IGNORED_CAPABILITIES

list homeassistant.components.smartthings.const.IGNORED_CAPABILITIES
Initial value:
1 = [
2  "execute",
3  "healthCheck",
4  "ocf",
5 ]

Definition at line 49 of file const.py.

◆ PLATFORMS

list homeassistant.components.smartthings.const.PLATFORMS
Initial value:
1 = [
2  Platform.BINARY_SENSOR,
3  Platform.CLIMATE,
4  Platform.COVER,
5  Platform.FAN,
6  Platform.LIGHT,
7  Platform.LOCK,
8  Platform.SCENE,
9  Platform.SENSOR,
10  Platform.SWITCH,
11 ]

Definition at line 37 of file const.py.

◆ SETTINGS_INSTANCE_ID

string homeassistant.components.smartthings.const.SETTINGS_INSTANCE_ID = "hassInstanceId"

Definition at line 28 of file const.py.

◆ SIGNAL_SMARTAPP_PREFIX

string homeassistant.components.smartthings.const.SIGNAL_SMARTAPP_PREFIX = "smartthings_smartap_"

Definition at line 26 of file const.py.

◆ SIGNAL_SMARTTHINGS_UPDATE

string homeassistant.components.smartthings.const.SIGNAL_SMARTTHINGS_UPDATE = "smartthings_update"

Definition at line 25 of file const.py.

◆ STORAGE_KEY

string homeassistant.components.smartthings.const.STORAGE_KEY = DOMAIN

Definition at line 32 of file const.py.

◆ STORAGE_VERSION

int homeassistant.components.smartthings.const.STORAGE_VERSION = 1

Definition at line 33 of file const.py.

◆ SUBSCRIPTION_WARNING_LIMIT

int homeassistant.components.smartthings.const.SUBSCRIPTION_WARNING_LIMIT = 40

Definition at line 30 of file const.py.

◆ TOKEN_REFRESH_INTERVAL

homeassistant.components.smartthings.const.TOKEN_REFRESH_INTERVAL = timedelta(days=14)

Definition at line 55 of file const.py.

◆ VAL_UID

string homeassistant.components.smartthings.const.VAL_UID = "^(?:([0-9a-fA-F]{32})|([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}))$"

Definition at line 57 of file const.py.

◆ VAL_UID_MATCHER

homeassistant.components.smartthings.const.VAL_UID_MATCHER = re.compile(VAL_UID)

Definition at line 58 of file const.py.