mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-27 11:39:26 +02:00
Add full API data logging in debug mode
This commit is contained in:
parent
5c640a284f
commit
8ee79f43e9
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ class IrmKmiCoordinator(DataUpdateCoordinator):
|
|||
'long': zone.attributes[ATTR_LONGITUDE]}
|
||||
)
|
||||
_LOGGER.debug(f"Observation for {api_data.get('cityName', '')}: {api_data.get('obs', '{}')}")
|
||||
_LOGGER.debug(f"Full data: {api_data}")
|
||||
|
||||
except IrmKmiApiError as err:
|
||||
raise UpdateFailed(f"Error communicating with API: {err}")
|
||||
|
|
Loading…
Add table
Reference in a new issue