nitaybz / homebridge-tado-ac

Homebridge plugin to support Tado Smart AC Control devices.
MIT License
40 stars 12 forks source link

Add auth headers to getRequest #130

Closed st1cky closed 7 months ago

st1cky commented 7 months ago

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.