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

Variables

string CONF_CHANNELS = "channels"
 
string CONF_REFRESH_TOKEN = "refresh_token"
 
string DOMAIN = "twitch"
 
 LOGGER = logging.getLogger(__package__)
 
string OAUTH2_AUTHORIZE = "https://id.twitch.tv/oauth2/authorize"
 
string OAUTH2_TOKEN = "https://id.twitch.tv/oauth2/token"
 
list OAUTH_SCOPES = [AuthScope.USER_READ_SUBSCRIPTIONS, AuthScope.USER_READ_FOLLOWS]
 
list PLATFORMS = [Platform.SENSOR]
 

Detailed Description

Const for Twitch.

Variable Documentation

◆ CONF_CHANNELS

string homeassistant.components.twitch.const.CONF_CHANNELS = "channels"

Definition at line 19 of file const.py.

◆ CONF_REFRESH_TOKEN

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

Definition at line 16 of file const.py.

◆ DOMAIN

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

Definition at line 18 of file const.py.

◆ LOGGER

homeassistant.components.twitch.const.LOGGER = logging.getLogger(__package__)

Definition at line 9 of file const.py.

◆ OAUTH2_AUTHORIZE

string homeassistant.components.twitch.const.OAUTH2_AUTHORIZE = "https://id.twitch.tv/oauth2/authorize"

Definition at line 13 of file const.py.

◆ OAUTH2_TOKEN

string homeassistant.components.twitch.const.OAUTH2_TOKEN = "https://id.twitch.tv/oauth2/token"

Definition at line 14 of file const.py.

◆ OAUTH_SCOPES

list homeassistant.components.twitch.const.OAUTH_SCOPES = [AuthScope.USER_READ_SUBSCRIPTIONS, AuthScope.USER_READ_FOLLOWS]

Definition at line 21 of file const.py.

◆ PLATFORMS

list homeassistant.components.twitch.const.PLATFORMS = [Platform.SENSOR]

Definition at line 11 of file const.py.