From dfb3d8c21fdee0e9312be4d13384bc6632b9e820 Mon Sep 17 00:00:00 2001 From: Alex <jack-blackson@users.noreply.github.com> Date: Sun, 6 Feb 2022 20:05:37 +0100 Subject: [PATCH 1/4] var --- io-package.json | 14 +++++++++++++- main.js | 2 +- package.json | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/io-package.json b/io-package.json index fe0428c..62999b7 100755 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,20 @@ { "common": { "name": "meteoalarm", - "version": "2.1.0", + "version": "2.1.1", "news": { + "2.1.1": { + "en": "Bugfixes", + "de": "Fehlerbehebung", + "ru": "Исправление ошибок", + "pt": "Correções de bugs", + "nl": "Bugfixes", + "fr": "Corrections de bugs", + "it": "Correzioni di bug", + "es": "Corrección de errores", + "pl": "Poprawki", + "zh-cn": "Bug修复" + }, "2.1.0": { "en": "Added Switzerland", "de": "Schweiz hinzugefügt", diff --git a/main.js b/main.js index f6b89f1..89e6e86 100755 --- a/main.js +++ b/main.js @@ -387,7 +387,7 @@ async function getData(){ adapter.setStateAsync({device: '' , channel: '',state: 'location'}, {val: regionName, ack: true}), adapter.setStateAsync({device: '' , channel: '',state: 'link'}, {val: urlAtom, ack: true}), adapter.setStateAsync({device: '' , channel: '',state: 'color'}, {val: getColor(maxAlarmLevel.toString()), ack: true}), - adapter.setStateAsync({device: '' , channel: '',state: 'noOfAlarms'}, {val: countEntries, ack: true}) + //adapter.setStateAsync({device: '' , channel: '',state: 'noOfAlarms'}, {val: countEntries, ack: true}) ]) diff --git a/package.json b/package.json index d93008b..e550790 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.meteoalarm", - "version": "2.1.0", + "version": "2.1.1", "description": "Meteolaram", "main": "main.js", "repository": { From dd9ec49074f224f3776e4ceba09289c1900eaf98 Mon Sep 17 00:00:00 2001 From: Alex <jack-blackson@users.noreply.github.com> Date: Tue, 8 Feb 2022 21:27:10 +0100 Subject: [PATCH 2/4] var --- LICENSE | 2 +- README.md | 2 +- io-package.json | 1 + main.js | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 01d18b8..a2e0c5a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019-2021 jack-blackson blacksonj7@gmail.com +Copyright (c) 2019-2022 jack-blackson blacksonj7@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 2bb0408..d6c5ff9 100755 --- a/README.md +++ b/README.md @@ -223,7 +223,7 @@ Bell in icon designed by Freepik from www.flaticon.com ## License The MIT License (MIT) -Copyright (c) 2019-2021 jack-blackson <blacksonj7@gmail.com> +Copyright (c) 2019-2022 jack-blackson <blacksonj7@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/io-package.json b/io-package.json index 62999b7..48566a7 100755 --- a/io-package.json +++ b/io-package.json @@ -192,6 +192,7 @@ "platform": "Javascript/Node.js", "mode": "schedule", "schedule": "*/10 * * * *", + "dependencies": {"js-controller": ">=3.0.0"}, "enabled": true, "compact": true, "readme": "https://github.com/jack-blackson/ioBroker.meteoalarm/blob/master/README.md", diff --git a/main.js b/main.js index 89e6e86..f6b89f1 100755 --- a/main.js +++ b/main.js @@ -387,7 +387,7 @@ async function getData(){ adapter.setStateAsync({device: '' , channel: '',state: 'location'}, {val: regionName, ack: true}), adapter.setStateAsync({device: '' , channel: '',state: 'link'}, {val: urlAtom, ack: true}), adapter.setStateAsync({device: '' , channel: '',state: 'color'}, {val: getColor(maxAlarmLevel.toString()), ack: true}), - //adapter.setStateAsync({device: '' , channel: '',state: 'noOfAlarms'}, {val: countEntries, ack: true}) + adapter.setStateAsync({device: '' , channel: '',state: 'noOfAlarms'}, {val: countEntries, ack: true}) ]) From c43b078c48b941365ded6224d49f1080a921fbee Mon Sep 17 00:00:00 2001 From: Alex <jack-blackson@users.noreply.github.com> Date: Tue, 8 Feb 2022 21:30:42 +0100 Subject: [PATCH 3/4] Update io-package.json --- io-package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io-package.json b/io-package.json index 48566a7..b5985f9 100755 --- a/io-package.json +++ b/io-package.json @@ -192,7 +192,7 @@ "platform": "Javascript/Node.js", "mode": "schedule", "schedule": "*/10 * * * *", - "dependencies": {"js-controller": ">=3.0.0"}, + "enabled": true, "compact": true, "readme": "https://github.com/jack-blackson/ioBroker.meteoalarm/blob/master/README.md", From d4d622b828d6ca1bd22360f9ea65fd5cc3726eee Mon Sep 17 00:00:00 2001 From: Alex <jack-blackson@users.noreply.github.com> Date: Tue, 8 Feb 2022 21:42:24 +0100 Subject: [PATCH 4/4] var --- README.md | 5 +++++ io-package.json | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d6c5ff9..394b0c6 100755 --- a/README.md +++ b/README.md @@ -106,6 +106,11 @@ If you don't find your country, please create an issue on github, and I will be ## Changelog + +## 2.1.1 (2022-02-08) +* (jack-blackson) Updated License Info +* (jack-blackson) Fixed errors for js-controller 4.x + ## 2.1.0 (2022-02-03) * (jack-blackson) Added Switzerland diff --git a/io-package.json b/io-package.json index b5985f9..6b9984b 100755 --- a/io-package.json +++ b/io-package.json @@ -192,7 +192,9 @@ "platform": "Javascript/Node.js", "mode": "schedule", "schedule": "*/10 * * * *", - + "dependencies": { + "js-controller": ">=3.0.0" + }, "enabled": true, "compact": true, "readme": "https://github.com/jack-blackson/ioBroker.meteoalarm/blob/master/README.md", @@ -296,7 +298,7 @@ "role": "value", "read": true, "write": false, - "def": "" + "def": 0 }, "native": {} }, @@ -322,7 +324,7 @@ "role": "value", "read": true, "write": false, - "def": "" + "def": 0 }, "native": {} },