mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Use library constants for Airzone Cloud diagnostics (#93858)
airzone_cloud: diagnostics: use constants from library Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
0f4dec534c
commit
21771457d1
@ -5,8 +5,14 @@ from collections.abc import Mapping
|
|||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from aioairzone_cloud.const import (
|
from aioairzone_cloud.const import (
|
||||||
|
API_CITY,
|
||||||
|
API_GROUP_ID,
|
||||||
|
API_LOCATION_ID,
|
||||||
|
API_OLD_ID,
|
||||||
|
API_PIN,
|
||||||
API_STAT_AP_MAC,
|
API_STAT_AP_MAC,
|
||||||
API_STAT_SSID,
|
API_STAT_SSID,
|
||||||
|
API_USER_ID,
|
||||||
AZD_WIFI_MAC,
|
AZD_WIFI_MAC,
|
||||||
RAW_DEVICES_STATUS,
|
RAW_DEVICES_STATUS,
|
||||||
RAW_INSTALLATIONS,
|
RAW_INSTALLATIONS,
|
||||||
@ -22,14 +28,14 @@ from .const import DOMAIN
|
|||||||
from .coordinator import AirzoneUpdateCoordinator
|
from .coordinator import AirzoneUpdateCoordinator
|
||||||
|
|
||||||
TO_REDACT_API = [
|
TO_REDACT_API = [
|
||||||
"_id",
|
API_CITY,
|
||||||
"city",
|
API_GROUP_ID,
|
||||||
"group_id",
|
API_LOCATION_ID,
|
||||||
"location_id",
|
API_OLD_ID,
|
||||||
"pin",
|
API_PIN,
|
||||||
"user_id",
|
|
||||||
API_STAT_AP_MAC,
|
API_STAT_AP_MAC,
|
||||||
API_STAT_SSID,
|
API_STAT_SSID,
|
||||||
|
API_USER_ID,
|
||||||
]
|
]
|
||||||
|
|
||||||
TO_REDACT_CONFIG = [
|
TO_REDACT_CONFIG = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user