Closed mark007 closed 2 years ago
Thanks - this is from the underlying library (https://github.com/djtimca/googlewifi-api). Working on on update there and will include handling for this one there.
Thank you! I have updated to the latest HA integration this evening. I am seeing some new errors there, do you think I should log them as issues against hagooglewifi or against the googlewifi-api you had mentioned, or perhaps an upcoming googlewifi-api is planning to look to resolve these?
In short summary its throwing errors for me like
File "/usr/local/lib/python3.9/site-packages/googlewifi/__init__.py", line 289, in structure_systems
for this_station in system_metrics.get("stationMetrics"):
TypeError: 'NoneType' object is not iterable
and
File "/usr/local/lib/python3.9/site-packages/googlewifi/__init__.py", line 589, in start_retrieve_sensitive_info
operation_id = response.get("operation",[]).get("operationId")
AttributeError: 'list' object has no attribute 'get'
Thank you.
Should be against the API. Thanks
Great thank you, I have logged those here https://github.com/djtimca/googlewifi-api/issues/5
Perhaps this is similar to https://github.com/djtimca/hagooglewifi/issues/30 but I thought I should log it anyways. I get two KeyErrors every few days at least. Sometimes more frequently.
One is this one which I couldn't find any existing issue for, hence this one being written. I'm using the latest version of both HA and the googlewifi integration via hacs.