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

Variables

string ATTR_BUTTON = "button"
 
string ATTR_CONFIG_ENTRY_ID = "entry_id"
 
string ATTR_PAYLOAD = "payload"
 
string ATTR_SOUND_OUTPUT = "sound_output"
 
string CONF_ON_ACTION = "turn_on_action"
 
string CONF_SOURCES = "sources"
 
string DATA_CONFIG_ENTRY = "config_entry"
 
string DATA_HASS_CONFIG = "hass_config"
 
string DEFAULT_NAME = "LG webOS Smart TV"
 
string DOMAIN = "webostv"
 
string LIVE_TV_APP_ID = "com.webos.app.livetv"
 
list PLATFORMS = [Platform.MEDIA_PLAYER]
 
string SERVICE_BUTTON = "button"
 
string SERVICE_COMMAND = "command"
 
string SERVICE_SELECT_SOUND_OUTPUT = "select_sound_output"
 
tuple WEBOSTV_EXCEPTIONS
 

Detailed Description

Constants used for LG webOS Smart TV.

Variable Documentation

◆ ATTR_BUTTON

string homeassistant.components.webostv.const.ATTR_BUTTON = "button"

Definition at line 16 of file const.py.

◆ ATTR_CONFIG_ENTRY_ID

string homeassistant.components.webostv.const.ATTR_CONFIG_ENTRY_ID = "entry_id"

Definition at line 17 of file const.py.

◆ ATTR_PAYLOAD

string homeassistant.components.webostv.const.ATTR_PAYLOAD = "payload"

Definition at line 18 of file const.py.

◆ ATTR_SOUND_OUTPUT

string homeassistant.components.webostv.const.ATTR_SOUND_OUTPUT = "sound_output"

Definition at line 19 of file const.py.

◆ CONF_ON_ACTION

string homeassistant.components.webostv.const.CONF_ON_ACTION = "turn_on_action"

Definition at line 21 of file const.py.

◆ CONF_SOURCES

string homeassistant.components.webostv.const.CONF_SOURCES = "sources"

Definition at line 22 of file const.py.

◆ DATA_CONFIG_ENTRY

string homeassistant.components.webostv.const.DATA_CONFIG_ENTRY = "config_entry"

Definition at line 12 of file const.py.

◆ DATA_HASS_CONFIG

string homeassistant.components.webostv.const.DATA_HASS_CONFIG = "hass_config"

Definition at line 13 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.webostv.const.DEFAULT_NAME = "LG webOS Smart TV"

Definition at line 14 of file const.py.

◆ DOMAIN

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

Definition at line 10 of file const.py.

◆ LIVE_TV_APP_ID

string homeassistant.components.webostv.const.LIVE_TV_APP_ID = "com.webos.app.livetv"

Definition at line 28 of file const.py.

◆ PLATFORMS

list homeassistant.components.webostv.const.PLATFORMS = [Platform.MEDIA_PLAYER]

Definition at line 11 of file const.py.

◆ SERVICE_BUTTON

string homeassistant.components.webostv.const.SERVICE_BUTTON = "button"

Definition at line 24 of file const.py.

◆ SERVICE_COMMAND

string homeassistant.components.webostv.const.SERVICE_COMMAND = "command"

Definition at line 25 of file const.py.

◆ SERVICE_SELECT_SOUND_OUTPUT

string homeassistant.components.webostv.const.SERVICE_SELECT_SOUND_OUTPUT = "select_sound_output"

Definition at line 26 of file const.py.

◆ WEBOSTV_EXCEPTIONS

tuple homeassistant.components.webostv.const.WEBOSTV_EXCEPTIONS
Initial value:
1 = (
2  OSError,
3  ConnectionClosed,
4  ConnectionClosedOK,
5  ConnectionRefusedError,
6  WebOsTvCommandError,
7  TimeoutError,
8  asyncio.CancelledError,
9 )

Definition at line 30 of file const.py.