freebox-api
freebox-api copied to clipboard
edit_parental_filter call fails as "deprecated"
Hello,
i am trying to explore parental control api of freebox, and it is strangely fails on PUT
fbx = Freepybox(api_version="v4")
await fbx.open(HOST, PORT)
await fbx.parental.get_parental_filters() # WORKS
await fbx.parental.edit_parental_filter(1, {'filter_state': 'allowed'}) #FAILS
Error:
HttpRequestError: Request failed (APIResponse: {"msg": "Mise \u00e0 jour de l\u2019application n\u00e9cessaire: cette m\u00e9thode de contr\u00f4le parental n\u2019est plus disponible", "success": false, "error_code": "deprecated"})
API reference looks pretty much the same as implementation https://dev.freebox.fr/sdk/os/parental/#