herriejr
herriejr
I've 'messed' a bit with this library to add the traffic management rules and got it working. Before submitting a pull request, I still want to: - write some tests...
> I looked at some of the HTTP traffic already that toggling this triggers. It appears it does a put request to a specific endpoint identifying the specific traffic rule...
I have my code up at [my repository](https://github.com/herriejr/aiounifi/tree/master). I still need to write the tests and make it more resilient. But I will go ahead and create a pull request,...
I have also added [modifications to the HA-Unifi integration](https://github.com/herriejr/home-assistant-core/tree/dev/homeassistant/components/unifi) to my repository. Remaining problem is that the switch only represents the initial state of the traffic rule (when starting Home-Assistant)....
So the switch problem in Home Assistant is (temporarily) solved. Due to v2 of the (unifi-)API working differently (no events for trafficrules), the in-memory state of the trafficrules were not...
> Im in the middle of vacation, but has done some small work on the integration for the 2023.8 release as well. Lets see what we can figure out Enjoy...
Hi, one of your changes (https://github.com/Kane610/aiounifi/commit/56d5672c2e7311a5ffd08ba3f27818edbf61c57c?diff=split#diff-80bb51a90ae4fd970332db562c84c618cfa5084abd22a64b764b0eb38853b566) in the api_handlers.py might break the integration for the traffic rules. The response of the API is just a json-array that does not contain...
Unifi Dream Machine, currently running on Unifi OS 3.0.20
I've got a working version locally running, but I hadn't gotten around to writing tests. I'll try commit my changes to my repo today, so we can compare notes. ;-)
You can find my code on [https://github.com/herriejr/home-assistent-core/tree/dev/homeassistant/components/unifi/](url)