1 """Diagnostics support for Philips JS."""
3 from __future__
import annotations
10 from .
import PhilipsTVConfigEntry
13 "serialnumber_encrypted",
25 hass: HomeAssistant, entry: PhilipsTVConfigEntry
27 """Return diagnostics for a config entry."""
28 coordinator = entry.runtime_data
35 "powerstate": api.powerstate,
36 "context": api.context,
37 "application": api.application,
38 "applications": api.applications,
39 "source_id": api.source_id,
40 "sources": api.sources,
41 "ambilight_styles": api.ambilight_styles,
42 "ambilight_topology": api.ambilight_topology,
43 "ambilight_current_configuration": api.ambilight_current_configuration,
44 "ambilight_mode_raw": api.ambilight_mode_raw,
45 "ambilight_modes": api.ambilight_modes,
46 "ambilight_power_raw": api.ambilight_power_raw,
47 "ambilight_power": api.ambilight_power,
48 "ambilight_cached": api.ambilight_cached,
49 "ambilight_measured": api.ambilight_measured,
50 "ambilight_processed": api.ambilight_processed,
51 "screenstate": api.screenstate,
53 "channel": api.channel,
54 "channels": api.channels,
55 "channel_lists": api.channel_lists,
56 "favorite_lists": api.favorite_lists,
dict async_redact_data(Mapping data, Iterable[Any] to_redact)
dict[str, Any] async_get_config_entry_diagnostics(HomeAssistant hass, PhilipsTVConfigEntry entry)