Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork12
Open
Description
Hello@Vaskivskyi,
I really like your library, as I want to do some automation with it (specifically switching back 5GHz Channels to DSF >100 if Radar-Detection swaps it with something like 36 / 40 and the like).
However I think I bumped into an errordata= loop.run_until_complete(router.async_get_data(AsusData.CLIENTS)
if I do the following
json.dumps(data)Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.11/json/__init__.py", line 231, in dumps return _default_encoder.encode(obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/encoder.py", line 200, in encode chunks = self.iterencode(o, _one_shot=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/encoder.py", line 258, in iterencode return _iterencode(o, 0) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/encoder.py", line 180, in default raise TypeError(f'Object of type {o.__class__.__name__} 'TypeError: Object of type AsusClient is not JSON serializable
Any clues? Did I miss something?
Thank you,
Joachim
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Incoming