Anonymize data payload in PocasiPush logging

ecowitt_support
SchiZzA 2026-02-06 18:20:17 +01:00
parent f608ab4991
commit fa3b5aa523
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ from .const import (
POCASI_INVALID_KEY, POCASI_INVALID_KEY,
WSLINK_URL, WSLINK_URL,
) )
from .utils import update_options from .utils import anonymize, update_options
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
@ -122,7 +122,7 @@ class PocasiPush:
"Payload for Pocasi Meteo server: [mode=%s] [request_url=%s] = %s", "Payload for Pocasi Meteo server: [mode=%s] [request_url=%s] = %s",
mode, mode,
request_url, request_url,
_data, anonymize(_data),
) )
try: try:
async with session.get(request_url, params=_data) as resp: async with session.get(request_url, params=_data) as resp: