Namespaces | |
| const | |
| entity | |
| media_player | |
| switch | |
Functions | |
| def | pad_physical_address (addr) |
| def | parse_mapping (mapping, parents=None) |
| bool | setup (HomeAssistant hass, ConfigType base_config) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| _VOL_HEX = vol.Any(vol.Coerce(int), lambda x: int(x, 16)) | |
| string | ATTR_ABT = "abt" |
| string | ATTR_ATT = "att" |
| string | ATTR_CMD = "cmd" |
| string | ATTR_DEVICE = "device" |
| string | ATTR_DIR = "dir" |
| string | ATTR_DST = "dst" |
| string | ATTR_DUR = "dur" |
| string | ATTR_KEY = "key" |
| string | ATTR_NEW = "new" |
| string | ATTR_OFF = "off" |
| string | ATTR_ON = "on" |
| string | ATTR_RAW = "raw" |
| string | ATTR_SRC = "src" |
| string | ATTR_TOGGLE = "toggle" |
| string | CMD_DOWN = "down" |
| string | CMD_MUTE = "mute" |
| string | CMD_MUTE_TOGGLE = "toggle mute" |
| string | CMD_PRESS = "press" |
| string | CMD_RELEASE = "release" |
| string | CMD_UNMUTE = "unmute" |
| string | CMD_UP = "up" |
| string | CONF_DISPLAY_NAME = "osd_name" |
| string | CONF_TYPES = "types" |
| CONFIG_SCHEMA | |
| string | DEFAULT_DISPLAY_NAME = "HA" |
| string | EVENT_CEC_COMMAND_RECEIVED = "cec_command_received" |
| string | EVENT_CEC_KEYPRESS_RECEIVED = "cec_keypress_received" |
| Schema | |
| string | SERVICE_POWER_ON = "power_on" |
| string | SERVICE_SELECT_DEVICE = "select_device" |
| string | SERVICE_SEND_COMMAND = "send_command" |
| SERVICE_SEND_COMMAND_SCHEMA | |
| string | SERVICE_STANDBY = "standby" |
| string | SERVICE_UPDATE_DEVICES = "update" |
| SERVICE_UPDATE_DEVICES_SCHEMA | |
| string | SERVICE_VOLUME = "volume" |
| SERVICE_VOLUME_SCHEMA | |
| int | WATCHDOG_INTERVAL = 120 |
Support for HDMI CEC.
| def homeassistant.components.hdmi_cec.pad_physical_address | ( | addr | ) |
Right-pad a physical address.
Definition at line 141 of file __init__.py.
| def homeassistant.components.hdmi_cec.parse_mapping | ( | mapping, | |
parents = None |
|||
| ) |
Parse configuration device mapping.
Definition at line 146 of file __init__.py.
| bool homeassistant.components.hdmi_cec.setup | ( | HomeAssistant | hass, |
| ConfigType | base_config | ||
| ) |
Set up the CEC capability.
Definition at line 161 of file __init__.py.
|
private |
Definition at line 42 of file __init__.py.
|
private |
Definition at line 73 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_ABT = "abt" |
Definition at line 67 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_ATT = "att" |
Definition at line 64 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_CMD = "cmd" |
Definition at line 63 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_DEVICE = "device" |
Definition at line 58 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_DIR = "dir" |
Definition at line 66 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_DST = "dst" |
Definition at line 62 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_DUR = "dur" |
Definition at line 60 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_KEY = "key" |
Definition at line 59 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_NEW = "new" |
Definition at line 68 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_OFF = "off" |
Definition at line 70 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_ON = "on" |
Definition at line 69 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_RAW = "raw" |
Definition at line 65 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_SRC = "src" |
Definition at line 61 of file __init__.py.
| string homeassistant.components.hdmi_cec.ATTR_TOGGLE = "toggle" |
Definition at line 71 of file __init__.py.
| string homeassistant.components.hdmi_cec.CMD_DOWN = "down" |
Definition at line 48 of file __init__.py.
| string homeassistant.components.hdmi_cec.CMD_MUTE = "mute" |
Definition at line 49 of file __init__.py.
| string homeassistant.components.hdmi_cec.CMD_MUTE_TOGGLE = "toggle mute" |
Definition at line 51 of file __init__.py.
| string homeassistant.components.hdmi_cec.CMD_PRESS = "press" |
Definition at line 52 of file __init__.py.
| string homeassistant.components.hdmi_cec.CMD_RELEASE = "release" |
Definition at line 53 of file __init__.py.
| string homeassistant.components.hdmi_cec.CMD_UNMUTE = "unmute" |
Definition at line 50 of file __init__.py.
| string homeassistant.components.hdmi_cec.CMD_UP = "up" |
Definition at line 47 of file __init__.py.
| string homeassistant.components.hdmi_cec.CONF_DISPLAY_NAME = "osd_name" |
Definition at line 117 of file __init__.py.
| string homeassistant.components.hdmi_cec.CONF_TYPES = "types" |
Definition at line 45 of file __init__.py.
| homeassistant.components.hdmi_cec.CONFIG_SCHEMA |
Definition at line 119 of file __init__.py.
| string homeassistant.components.hdmi_cec.DEFAULT_DISPLAY_NAME = "HA" |
Definition at line 44 of file __init__.py.
| string homeassistant.components.hdmi_cec.EVENT_CEC_COMMAND_RECEIVED = "cec_command_received" |
Definition at line 55 of file __init__.py.
| string homeassistant.components.hdmi_cec.EVENT_CEC_KEYPRESS_RECEIVED = "cec_keypress_received" |
Definition at line 56 of file __init__.py.
| homeassistant.components.hdmi_cec.Schema |
Definition at line 107 of file __init__.py.
| string homeassistant.components.hdmi_cec.SERVICE_POWER_ON = "power_on" |
Definition at line 104 of file __init__.py.
| string homeassistant.components.hdmi_cec.SERVICE_SELECT_DEVICE = "select_device" |
Definition at line 102 of file __init__.py.
| string homeassistant.components.hdmi_cec.SERVICE_SEND_COMMAND = "send_command" |
Definition at line 75 of file __init__.py.
| homeassistant.components.hdmi_cec.SERVICE_SEND_COMMAND_SCHEMA |
Definition at line 76 of file __init__.py.
| string homeassistant.components.hdmi_cec.SERVICE_STANDBY = "standby" |
Definition at line 105 of file __init__.py.
| string homeassistant.components.hdmi_cec.SERVICE_UPDATE_DEVICES = "update" |
Definition at line 97 of file __init__.py.
| homeassistant.components.hdmi_cec.SERVICE_UPDATE_DEVICES_SCHEMA |
Definition at line 98 of file __init__.py.
| string homeassistant.components.hdmi_cec.SERVICE_VOLUME = "volume" |
Definition at line 87 of file __init__.py.
| homeassistant.components.hdmi_cec.SERVICE_VOLUME_SCHEMA |
Definition at line 88 of file __init__.py.
| int homeassistant.components.hdmi_cec.WATCHDOG_INTERVAL = 120 |
Definition at line 138 of file __init__.py.