zachcheatham / ha-omada

Home Assistant TP-Link Omada Integration
189 stars 26 forks source link

Change update_site_id() API to use /users/current #17

Closed sogood007 closed 2 years ago

sogood007 commented 2 years ago

After update to v5 (software controller using docker), the integration failed (cannot access with service like #16) . So I enable debug and some logging, it seems the access to /sites API failed with (Forbidden) error From the thread https://github.com/ghaberek/omada-api/issues/3 It seems /users/current can also access the site information (and that works for me)