Updated auth method

This commit is contained in:
Alex Alexandrowitz
2019-03-27 23:33:09 +01:00
committed by GitHub
parent 01f1abc4df
commit f0d0878949
+1 -1
View File
@@ -109,7 +109,7 @@ function HASS(options, log) {
if (socket && typeof socket.send === 'function') {
socket.send(JSON.stringify({
type: 'auth',
api_password: pass
access_token: pass
}));
}
}