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

Functions

dict[str, Any] async_get_config_entry_diagnostics (HomeAssistant hass, ConfigEntry entry)
 
dict[str, Any] async_get_device_diagnostics (HomeAssistant hass, AutomowerConfigEntry entry, DeviceEntry device)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_REFRESH_TOKEN = "refresh_token"
 
string POSITIONS = "positions"
 
dictionary TO_REDACT
 

Detailed Description

Diagnostics support for Husqvarna Automower.

Function Documentation

◆ async_get_config_entry_diagnostics()

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

Definition at line 28 of file diagnostics.py.

◆ async_get_device_diagnostics()

dict[str, Any] homeassistant.components.husqvarna_automower.diagnostics.async_get_device_diagnostics ( HomeAssistant  hass,
AutomowerConfigEntry  entry,
DeviceEntry   device 
)
Return diagnostics for a device entry.

Definition at line 35 of file diagnostics.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.husqvarna_automower.diagnostics._LOGGER = logging.getLogger(__name__)
private

Definition at line 25 of file diagnostics.py.

◆ CONF_REFRESH_TOKEN

string homeassistant.components.husqvarna_automower.diagnostics.CONF_REFRESH_TOKEN = "refresh_token"

Definition at line 17 of file diagnostics.py.

◆ POSITIONS

string homeassistant.components.husqvarna_automower.diagnostics.POSITIONS = "positions"

Definition at line 18 of file diagnostics.py.

◆ TO_REDACT

dictionary homeassistant.components.husqvarna_automower.diagnostics.TO_REDACT
Initial value:
1 = {
2  CONF_ACCESS_TOKEN,
3  CONF_REFRESH_TOKEN,
4  POSITIONS,
5 }

Definition at line 20 of file diagnostics.py.