finish06 / pyunifi

https://unifi-sdn.ubnt.com/
MIT License
228 stars 99 forks source link

list indices must be integers or slices, not dict #72

Open marc-odp opened 2 years ago

marc-odp commented 2 years ago

When doing this : mycontroller.switch_port_power_off('24:6a:4c:52:d2:1c',15)

I get this error message : list indices must be integers or slices, not dict

marc-odp commented 2 years ago

Ok. This is this issue : https://github.com/finish06/pyunifi/issues/68#issue-1007501223 Could the code be updated ?