Functions | |
| dict[int, dict[str, Any]] | _update_variables_for_config_entry (HomeAssistant hass, ConfigEntry entry, set[str] variable_names) |
| def | refresh_tokens (HomeAssistant hass, ConfigEntry entry) |
| dict[int, dict[str, Any]] | update_variables_for_config_entry (HomeAssistant hass, ConfigEntry entry, set[str] variable_names) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
Provides data updates from the Control4 controller for platforms.
|
private |
Retrieve data from the Control4 director.
Definition at line 21 of file director_utils.py.
| def homeassistant.components.control4.director_utils.refresh_tokens | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Store updated authentication and director tokens in hass.data.
Definition at line 45 of file director_utils.py.
| dict[int, dict[str, Any]] homeassistant.components.control4.director_utils.update_variables_for_config_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry, | ||
| set[str] | variable_names | ||
| ) |
Try to Retrieve data from the Control4 director for update_coordinator.
Definition at line 33 of file director_utils.py.
|
private |
Definition at line 18 of file director_utils.py.