Skip to content

stationMetrics and operationId python errors #5

@mark007

Description

@mark007

Hi, I am using the hagooglewifi integration within home assistant.

I have been seeing some errors recently in the logs. I have today updated to the latest version and although some errors seem to have disappeared, some new ones have apepared. These are below.

  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'

If there are any further details I can provide, do let me know. I am using two nest wifi routers connected with lan cables back to the ISP router.

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions