Redact the area of traccar server geofences (#113861)
parent
fff590d738
commit
96694878fb
|
@ -13,7 +13,12 @@ from homeassistant.helpers import device_registry as dr, entity_registry as er
|
|||
from .const import DOMAIN
|
||||
from .coordinator import TraccarServerCoordinator
|
||||
|
||||
TO_REDACT = {CONF_ADDRESS, CONF_LATITUDE, CONF_LONGITUDE}
|
||||
TO_REDACT = {
|
||||
CONF_ADDRESS,
|
||||
CONF_LATITUDE,
|
||||
CONF_LONGITUDE,
|
||||
"area", # This is the polygon area of a geofence
|
||||
}
|
||||
|
||||
|
||||
async def async_get_config_entry_diagnostics(
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
'uniqueId': 'abc123',
|
||||
}),
|
||||
'geofence': dict({
|
||||
'area': 'string',
|
||||
'area': '**REDACTED**',
|
||||
'attributes': dict({
|
||||
}),
|
||||
'calendarId': 0,
|
||||
|
@ -134,7 +134,7 @@
|
|||
'uniqueId': 'abc123',
|
||||
}),
|
||||
'geofence': dict({
|
||||
'area': 'string',
|
||||
'area': '**REDACTED**',
|
||||
'attributes': dict({
|
||||
}),
|
||||
'calendarId': 0,
|
||||
|
|
Loading…
Reference in New Issue