Namespaces | |
| config_flow | |
| const | |
| director_utils | |
| entity | |
| light | |
| media_player | |
Functions | |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| def | call_c4_api_retry (func, *func_args) |
| def | get_items_of_category (HomeAssistant hass, ConfigEntry entry, str category) |
| None | update_listener (HomeAssistant hass, ConfigEntry config_entry) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| list | PLATFORMS = [Platform.LIGHT, Platform.MEDIA_PLAYER] |
The Control4 integration.
| bool homeassistant.components.control4.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up Control4 from a config entry.
Definition at line 57 of file __init__.py.
| bool homeassistant.components.control4.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 143 of file __init__.py.
| def homeassistant.components.control4.call_c4_api_retry | ( | func, | |
| * | func_args | ||
| ) |
Call C4 API function and retry on failure.
Definition at line 45 of file __init__.py.
| def homeassistant.components.control4.get_items_of_category | ( | HomeAssistant | hass, |
| ConfigEntry | entry, | ||
| str | category | ||
| ) |
Return a list of all Control4 items with the specified category.
Definition at line 155 of file __init__.py.
| None homeassistant.components.control4.update_listener | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry | ||
| ) |
Update when config_entry options update.
Definition at line 137 of file __init__.py.
|
private |
Definition at line 40 of file __init__.py.
| list homeassistant.components.control4.PLATFORMS = [Platform.LIGHT, Platform.MEDIA_PLAYER] |
Definition at line 42 of file __init__.py.