resolved bug with scenes and upped version

This commit is contained in:
icanos 2020-01-14 18:32:46 +00:00
parent a1402c466c
commit 63ffeef3ac
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "Plejd",
"version": "0.2.4",
"version": "0.2.5",
"slug": "plejd",
"description": "Adds support for the Swedish home automation devices from Plejd.",
"url": "https://github.com/icanos/hassio-plejd/",

View file

@ -36,7 +36,7 @@ async function main() {
client.updateState(deviceId, command);
});
plejd.on('sceneTriggered', (scene) => {
plejd.on('sceneTriggered', (deviceId, scene) => {
client.sceneTriggered(scene);
});