when used for non data endpoints, (ex : setthermmode), such request is returning a None result (where as the request result is a json with status : ok)
when a request has wrong parameters it returns None, as returned by the Netatmo API.
Therefore in case of setthermmode, no way to know if something went wrong, because in both case the result is None.
I think the rawAPI function shall create an exception when request result is none or status is not ok to cover this case
Hello,
Good job with this python API.
I am using the rawAPI and noticed :
I think the rawAPI function shall create an exception when request result is none or status is not ok to cover this case