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

Variables

string CONF_DEVICE_ID = "device_id"
 
string CONF_REFRESH_TOKEN = "refresh_token"
 
string CONF_REFRESH_TOKEN_CREATION_TIME = "refresh_token_creation_time"
 
string CONF_SITE_ID = "site_id"
 
string DOMAIN = "nice_go"
 
dictionary KNOWN_UNSUPPORTED_DEVICE_TYPES
 
 REFRESH_TOKEN_EXPIRY_TIME = timedelta(days=30)
 
dictionary SUPPORTED_DEVICE_TYPES
 
tuple UNSUPPORTED_DEVICE_WARNING
 

Detailed Description

Constants for the Nice G.O. integration.

Variable Documentation

◆ CONF_DEVICE_ID

string homeassistant.components.nice_go.const.CONF_DEVICE_ID = "device_id"

Definition at line 11 of file const.py.

◆ CONF_REFRESH_TOKEN

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

Definition at line 12 of file const.py.

◆ CONF_REFRESH_TOKEN_CREATION_TIME

string homeassistant.components.nice_go.const.CONF_REFRESH_TOKEN_CREATION_TIME = "refresh_token_creation_time"

Definition at line 13 of file const.py.

◆ CONF_SITE_ID

string homeassistant.components.nice_go.const.CONF_SITE_ID = "site_id"

Definition at line 10 of file const.py.

◆ DOMAIN

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

Definition at line 7 of file const.py.

◆ KNOWN_UNSUPPORTED_DEVICE_TYPES

dictionary homeassistant.components.nice_go.const.KNOWN_UNSUPPORTED_DEVICE_TYPES
Initial value:
1 = {
2  Platform.LIGHT: ["Mms100"],
3  Platform.SWITCH: ["Mms100"],
4 }

Definition at line 21 of file const.py.

◆ REFRESH_TOKEN_EXPIRY_TIME

homeassistant.components.nice_go.const.REFRESH_TOKEN_EXPIRY_TIME = timedelta(days=30)

Definition at line 15 of file const.py.

◆ SUPPORTED_DEVICE_TYPES

dictionary homeassistant.components.nice_go.const.SUPPORTED_DEVICE_TYPES
Initial value:
1 = {
2  Platform.LIGHT: ["WallStation"],
3  Platform.SWITCH: ["WallStation"],
4 }

Definition at line 17 of file const.py.

◆ UNSUPPORTED_DEVICE_WARNING

tuple homeassistant.components.nice_go.const.UNSUPPORTED_DEVICE_WARNING
Initial value:
1 = (
2  "Device '%s' has unknown device type '%s', "
3  "which is not supported by this integration. "
4  "We try to support it with a cover and event entity, but nothing else. "
5  "Please create an issue with your device model in additional info"
6  " at https://github.com/home-assistant/core/issues/new"
7  "?assignees=&labels=&projects=&template=bug_report.yml"
8  "&title=New%%20Nice%%20G.O.%%20device%%20type%%20'%s'%%20found"
9 )

Definition at line 26 of file const.py.