vrachieru / asuswrt-api

Asus WRT (Wireless RouTer) API wrapper.
22 stars 13 forks source link

support asus ac86u fireware version 3.0.0.4.384.81858 #6

Open nmweizi opened 4 years ago

nmweizi commented 4 years ago

asus ac86u fireware version 3.0.0.4.384.81858

get_clientlist return One more parameter ClientAPILevel

ClientAPILevel:2

error info

Traceback (most recent call last):
  File "clients.py", line 7, in <module>
    clients = router.get_online_clients()
  File "..\asuswrt\client.py", line 124, in get_online_clients
    clients = list(map(Client, list(clients.values())))
  File "..\asuswrt\model.py", line 9, in __init__
    self.mac = data.get('mac')
AttributeError: 'str' object has no attribute 'get'