1 """Diagnostics support for Hue."""
3 from __future__
import annotations
13 from .const
import CONF_SECURE_DEVICES_PIN, CONF_SERVICE_ACCOUNT, DATA_CONFIG, DOMAIN
14 from .http
import GoogleConfig
15 from .smart_home
import (
16 async_devices_query_response,
17 async_devices_sync_response,
26 CONF_SECURE_DEVICES_PIN,
32 hass: HomeAssistant, entry: ConfigEntry
34 """Return diagnostic information."""
35 data = hass.data[DOMAIN]
36 config: GoogleConfig = data[entry.entry_id]
37 yaml_config: ConfigType = data[DATA_CONFIG]
dict async_redact_data(Mapping data, Iterable[Any] to_redact)
dict[str, Any] async_get_config_entry_diagnostics(HomeAssistant hass, ConfigEntry entry)
def async_devices_sync_response(hass, config, agent_user_id)
def create_sync_response(str agent_user_id, list devices)
def async_devices_query_response(hass, config, payload_devices)