Tado made some changes to the way requests need to be authenticated; this PR adds the auth header to the getRequest function (refreshing the token as needed) and removes the username/password from the query string.
This change should allow the app to connect with Tado again.
Tado made some changes to the way requests need to be authenticated; this PR adds the auth header to the getRequest function (refreshing the token as needed) and removes the username/password from the query string.
This change should allow the app to connect with Tado again.