Merge pull request #4 from alexalex89/master

Updated auth method
This commit is contained in:
Bluefox
2019-05-02 20:35:14 +02:00
committed by GitHub
+1 -1
View File
@@ -109,7 +109,7 @@ function HASS(options, log) {
if (socket && typeof socket.send === 'function') { if (socket && typeof socket.send === 'function') {
socket.send(JSON.stringify({ socket.send(JSON.stringify({
type: 'auth', type: 'auth',
api_password: pass access_token: pass
})); }));
} }
} }