Skip to content

Commit

Permalink
Fixed running scenes from products
Browse files Browse the repository at this point in the history
  • Loading branch information
MiSchroe committed Aug 5, 2018
1 parent 778f10b commit 6b5da5d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
6 changes: 5 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"common": {
"name": "klf200",
"version": "0.9.2",
"version": "0.9.4",
"news": {
"0.9.3": {
"en": "Fixed running scenes from products",
"de": "Starten von Szenen über das Produkt ermöglicht"
},
"0.9.2": {
"en": "Fixed version number",
"de": "Versionsnummer angepasst"
Expand Down
7 changes: 7 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,13 @@ function main() {
// The adapters config (in the instance object everything under the attribute "native") is accessible via
// adapter.config:

// Promisifying has to be done at this time, because some methods are generated during initialization only
// (e.g. setState)
if (undefined === adapter.objects.getObjectViewAsync)
{
adapter.objects.getObjectViewAsync = Promise.promisify(adapter.objects.getObjectView);
}

adapter.log.info('Host: ' + adapter.config.host);
adapter.log.info('Polling interval (minutes): ' + adapter.config.pollInterval);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.klf200",
"version": "0.9.2",
"version": "0.9.3",
"description": "ioBroker klf200 Adapter",
"author": {
"name": "Michael Schroeder",
Expand Down

0 comments on commit 6b5da5d

Please sign in to comment.