Skip to content

Commit

Permalink
Set send cached state for home assistant to 20 seconds. Koenkk#105
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jun 20, 2018
1 parent d4ebe64 commit ce439da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class Controller {
const timer = setTimeout(() => {
this.sendAllCachedStates();
clearTimeout(timer);
}, 3000);
}, 20000);
}
} else {
logger.warn(`Cannot handle MQTT message with topic '${topic}' and message '${message}'`);
Expand Down

0 comments on commit ce439da

Please sign in to comment.