Kane610 / aiounifi

Asynchronous library to communicate with Unifi Controller
MIT License
60 stars 54 forks source link

Improve set PoE port mode #423

Closed Kane610 closed 1 year ago

Kane610 commented 1 year ago

https://github.com/home-assistant/core/issues/95207

Unifi has become stricter in what keys provided in requests.

{
    "meta": {"rc": "error", "msg": "api.err.InvalidPayload"},
    "data": [
        {
            "validationError": {"field": "portconf_id", "pattern": "[\\d\\w]+"},
            "rc": "error",
            "msg": "api.err.InvalidValue",
        }
    ],
}