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

Variables

dictionary AUTHORIZE_URL
 
string CONF_HOSTNAME = "hostname"
 
string CONF_SERIALNUMBER = "serialnumber"
 
string CONF_TITLE = "title"
 
string DATA_CLIENT = "smappee_data"
 
string DOMAIN = "smappee"
 
string ENV_CLOUD = "cloud"
 
string ENV_LOCAL = "local"
 
 MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=20)
 
list PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR, Platform.SWITCH]
 
tuple SUPPORTED_LOCAL_DEVICES = ("Smappee1", "Smappee2", "Smappee50")
 
dictionary TOKEN_URL
 

Detailed Description

Constants for the Smappee integration.

Variable Documentation

◆ AUTHORIZE_URL

dictionary homeassistant.components.smappee.const.AUTHORIZE_URL
Initial value:
1 = {
2  "PRODUCTION": "https://app1pub.smappee.net/dev/v1/oauth2/authorize",
3  "ACCEPTANCE": "https://farm2pub.smappee.net/dev/v1/oauth2/authorize",
4  "DEVELOPMENT": "https://farm3pub.smappee.net/dev/v1/oauth2/authorize",
5 }

Definition at line 23 of file const.py.

◆ CONF_HOSTNAME

string homeassistant.components.smappee.const.CONF_HOSTNAME = "hostname"

Definition at line 10 of file const.py.

◆ CONF_SERIALNUMBER

string homeassistant.components.smappee.const.CONF_SERIALNUMBER = "serialnumber"

Definition at line 11 of file const.py.

◆ CONF_TITLE

string homeassistant.components.smappee.const.CONF_TITLE = "title"

Definition at line 12 of file const.py.

◆ DATA_CLIENT

string homeassistant.components.smappee.const.DATA_CLIENT = "smappee_data"

Definition at line 8 of file const.py.

◆ DOMAIN

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

Definition at line 7 of file const.py.

◆ ENV_CLOUD

string homeassistant.components.smappee.const.ENV_CLOUD = "cloud"

Definition at line 14 of file const.py.

◆ ENV_LOCAL

string homeassistant.components.smappee.const.ENV_LOCAL = "local"

Definition at line 15 of file const.py.

◆ MIN_TIME_BETWEEN_UPDATES

homeassistant.components.smappee.const.MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=20)

Definition at line 21 of file const.py.

◆ PLATFORMS

list homeassistant.components.smappee.const.PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR, Platform.SWITCH]

Definition at line 17 of file const.py.

◆ SUPPORTED_LOCAL_DEVICES

tuple homeassistant.components.smappee.const.SUPPORTED_LOCAL_DEVICES = ("Smappee1", "Smappee2", "Smappee50")

Definition at line 19 of file const.py.

◆ TOKEN_URL

dictionary homeassistant.components.smappee.const.TOKEN_URL
Initial value:
1 = {
2  "PRODUCTION": "https://app1pub.smappee.net/dev/v3/oauth2/token",
3  "ACCEPTANCE": "https://farm2pub.smappee.net/dev/v3/oauth2/token",
4  "DEVELOPMENT": "https://farm3pub.smappee.net/dev/v3/oauth2/token",
5 }

Definition at line 28 of file const.py.