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

Variables

string ATTR_PROPERTIES = "properties"
 
string CONF_MANUFACTURER = "manufacturer"
 
string CONF_SESSION_ID = "session_id"
 
string CONF_SSDP_MAIN_TV_AGENT_LOCATION = "ssdp_main_tv_agent_location"
 
string CONF_SSDP_RENDERING_CONTROL_LOCATION = "ssdp_rendering_control_location"
 
string DEFAULT_MANUFACTURER = "Samsung"
 
string DOMAIN = "samsungtv"
 
int ENCRYPTED_WEBSOCKET_PORT = 8000
 
int ENTRY_RELOAD_COOLDOWN = 5
 
int LEGACY_PORT = 55000
 
 LOGGER = logging.getLogger(__package__)
 
string METHOD_ENCRYPTED_WEBSOCKET = "encrypted"
 
string METHOD_LEGACY = "legacy"
 
string METHOD_WEBSOCKET = "websocket"
 
string RESULT_AUTH_MISSING = "auth_missing"
 
string RESULT_CANNOT_CONNECT = "cannot_connect"
 
string RESULT_INVALID_PIN = "invalid_pin"
 
string RESULT_NOT_SUPPORTED = "not_supported"
 
string RESULT_SUCCESS = "success"
 
string RESULT_UNKNOWN_HOST = "unknown"
 
dictionary SUCCESSFUL_RESULTS = {RESULT_AUTH_MISSING, RESULT_SUCCESS}
 
int TIMEOUT_REQUEST = 31
 
int TIMEOUT_WEBSOCKET = 5
 
string UPNP_SVC_MAIN_TV_AGENT = "urn:samsung.com:service:MainTVAgent2:1"
 
string UPNP_SVC_RENDERING_CONTROL = "urn:schemas-upnp-org:service:RenderingControl:1"
 
string VALUE_CONF_ID = "ha.component.samsung"
 
string VALUE_CONF_NAME = "HomeAssistant"
 
int WEBSOCKET_NO_SSL_PORT = 8001
 
tuple WEBSOCKET_PORTS = (WEBSOCKET_SSL_PORT, WEBSOCKET_NO_SSL_PORT)
 
int WEBSOCKET_SSL_PORT = 8002
 

Detailed Description

Constants for the Samsung TV integration.

Variable Documentation

◆ ATTR_PROPERTIES

string homeassistant.components.samsungtv.const.ATTR_PROPERTIES = "properties"

Definition at line 8 of file const.py.

◆ CONF_MANUFACTURER

string homeassistant.components.samsungtv.const.CONF_MANUFACTURER = "manufacturer"

Definition at line 15 of file const.py.

◆ CONF_SESSION_ID

string homeassistant.components.samsungtv.const.CONF_SESSION_ID = "session_id"

Definition at line 18 of file const.py.

◆ CONF_SSDP_MAIN_TV_AGENT_LOCATION

string homeassistant.components.samsungtv.const.CONF_SSDP_MAIN_TV_AGENT_LOCATION = "ssdp_main_tv_agent_location"

Definition at line 17 of file const.py.

◆ CONF_SSDP_RENDERING_CONTROL_LOCATION

string homeassistant.components.samsungtv.const.CONF_SSDP_RENDERING_CONTROL_LOCATION = "ssdp_rendering_control_location"

Definition at line 16 of file const.py.

◆ DEFAULT_MANUFACTURER

string homeassistant.components.samsungtv.const.DEFAULT_MANUFACTURER = "Samsung"

Definition at line 10 of file const.py.

◆ DOMAIN

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

Definition at line 6 of file const.py.

◆ ENCRYPTED_WEBSOCKET_PORT

int homeassistant.components.samsungtv.const.ENCRYPTED_WEBSOCKET_PORT = 8000

Definition at line 35 of file const.py.

◆ ENTRY_RELOAD_COOLDOWN

int homeassistant.components.samsungtv.const.ENTRY_RELOAD_COOLDOWN = 5

Definition at line 46 of file const.py.

◆ LEGACY_PORT

int homeassistant.components.samsungtv.const.LEGACY_PORT = 55000

Definition at line 34 of file const.py.

◆ LOGGER

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

Definition at line 5 of file const.py.

◆ METHOD_ENCRYPTED_WEBSOCKET

string homeassistant.components.samsungtv.const.METHOD_ENCRYPTED_WEBSOCKET = "encrypted"

Definition at line 28 of file const.py.

◆ METHOD_LEGACY

string homeassistant.components.samsungtv.const.METHOD_LEGACY = "legacy"

Definition at line 27 of file const.py.

◆ METHOD_WEBSOCKET

string homeassistant.components.samsungtv.const.METHOD_WEBSOCKET = "websocket"

Definition at line 29 of file const.py.

◆ RESULT_AUTH_MISSING

string homeassistant.components.samsungtv.const.RESULT_AUTH_MISSING = "auth_missing"

Definition at line 20 of file const.py.

◆ RESULT_CANNOT_CONNECT

string homeassistant.components.samsungtv.const.RESULT_CANNOT_CONNECT = "cannot_connect"

Definition at line 23 of file const.py.

◆ RESULT_INVALID_PIN

string homeassistant.components.samsungtv.const.RESULT_INVALID_PIN = "invalid_pin"

Definition at line 21 of file const.py.

◆ RESULT_NOT_SUPPORTED

string homeassistant.components.samsungtv.const.RESULT_NOT_SUPPORTED = "not_supported"

Definition at line 24 of file const.py.

◆ RESULT_SUCCESS

string homeassistant.components.samsungtv.const.RESULT_SUCCESS = "success"

Definition at line 22 of file const.py.

◆ RESULT_UNKNOWN_HOST

string homeassistant.components.samsungtv.const.RESULT_UNKNOWN_HOST = "unknown"

Definition at line 25 of file const.py.

◆ SUCCESSFUL_RESULTS

dictionary homeassistant.components.samsungtv.const.SUCCESSFUL_RESULTS = {RESULT_AUTH_MISSING, RESULT_SUCCESS}

Definition at line 40 of file const.py.

◆ TIMEOUT_REQUEST

int homeassistant.components.samsungtv.const.TIMEOUT_REQUEST = 31

Definition at line 31 of file const.py.

◆ TIMEOUT_WEBSOCKET

int homeassistant.components.samsungtv.const.TIMEOUT_WEBSOCKET = 5

Definition at line 32 of file const.py.

◆ UPNP_SVC_MAIN_TV_AGENT

string homeassistant.components.samsungtv.const.UPNP_SVC_MAIN_TV_AGENT = "urn:samsung.com:service:MainTVAgent2:1"

Definition at line 43 of file const.py.

◆ UPNP_SVC_RENDERING_CONTROL

string homeassistant.components.samsungtv.const.UPNP_SVC_RENDERING_CONTROL = "urn:schemas-upnp-org:service:RenderingControl:1"

Definition at line 42 of file const.py.

◆ VALUE_CONF_ID

string homeassistant.components.samsungtv.const.VALUE_CONF_ID = "ha.component.samsung"

Definition at line 13 of file const.py.

◆ VALUE_CONF_NAME

string homeassistant.components.samsungtv.const.VALUE_CONF_NAME = "HomeAssistant"

Definition at line 12 of file const.py.

◆ WEBSOCKET_NO_SSL_PORT

int homeassistant.components.samsungtv.const.WEBSOCKET_NO_SSL_PORT = 8001

Definition at line 36 of file const.py.

◆ WEBSOCKET_PORTS

tuple homeassistant.components.samsungtv.const.WEBSOCKET_PORTS = (WEBSOCKET_SSL_PORT, WEBSOCKET_NO_SSL_PORT)

Definition at line 38 of file const.py.

◆ WEBSOCKET_SSL_PORT

int homeassistant.components.samsungtv.const.WEBSOCKET_SSL_PORT = 8002

Definition at line 37 of file const.py.