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

Functions

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

Variables

list TO_REDACT_CONFIG
 
list TO_REDACT_DATA
 

Detailed Description

Support for the QNAP QSW diagnostics.

Function Documentation

◆ async_get_config_entry_diagnostics()

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

Definition at line 29 of file diagnostics.py.

Variable Documentation

◆ TO_REDACT_CONFIG

list homeassistant.components.qnap_qsw.diagnostics.TO_REDACT_CONFIG
Initial value:
1 = [
2  CONF_USERNAME,
3  CONF_PASSWORD,
4  CONF_UNIQUE_ID,
5 ]

Definition at line 17 of file diagnostics.py.

◆ TO_REDACT_DATA

list homeassistant.components.qnap_qsw.diagnostics.TO_REDACT_DATA
Initial value:
1 = [
2  QSD_MAC,
3  QSD_SERIAL,
4 ]

Definition at line 23 of file diagnostics.py.