We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46c5987 commit f45f4a8Copy full SHA for f45f4a8
src/platform.ts
@@ -69,9 +69,9 @@ export class HomebridgePrincessHeaterPlatform implements DynamicPlatformPlugin {
69
70
const httpAPIClient = new HttpAPIClient(authorizationHeaderValue);
71
72
- const auth = await httpAPIClient.login();
+ const {token} = await httpAPIClient.login();
73
74
- const wsAPIClient = new WsAPIClient(this.log, authorizationHeaderValue);
+ const wsAPIClient = new WsAPIClient(this.log, token);
75
76
const devices = await httpAPIClient.getDevices();
77
0 commit comments