Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.nws.diagnostics Namespace Reference

Functions

dict[str, Any] async_get_config_entry_diagnostics (HomeAssistant hass, NWSConfigEntry config_entry)
 

Variables

dictionary CONFIG_TO_REDACT = {CONF_API_KEY, CONF_LATITUDE, CONF_LONGITUDE, CONF_STATION}
 
dictionary OBSERVATION_TO_REDACT = {"station"}
 

Detailed Description

Diagnostics support for NWS.

Function Documentation

◆ async_get_config_entry_diagnostics()

dict[str, Any] homeassistant.components.nws.diagnostics.async_get_config_entry_diagnostics ( HomeAssistant  hass,
NWSConfigEntry  config_entry 
)
Return diagnostics for a config entry.

Definition at line 18 of file diagnostics.py.

Variable Documentation

◆ CONFIG_TO_REDACT

dictionary homeassistant.components.nws.diagnostics.CONFIG_TO_REDACT = {CONF_API_KEY, CONF_LATITUDE, CONF_LONGITUDE, CONF_STATION}

Definition at line 14 of file diagnostics.py.

◆ OBSERVATION_TO_REDACT

dictionary homeassistant.components.nws.diagnostics.OBSERVATION_TO_REDACT = {"station"}

Definition at line 15 of file diagnostics.py.