From 9da7538b20e5bca30827ad5e37f1a065db281633 Mon Sep 17 00:00:00 2001 From: ioBroker22 <62349740+ioBroker22@users.noreply.github.com> Date: Tue, 6 Dec 2022 12:34:21 +0100 Subject: [PATCH 1/3] Update main.js Define countryTranslator as "number" to try to neutralize: "Object coronavirus-statistics.0.countryTranslator is invalid: Default value has to be type "string" but received type "number"" --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 7c6acca..ba84c17 100644 --- a/main.js +++ b/main.js @@ -48,7 +48,7 @@ class Covid19 extends utils.Adapter { common: { 'role': '', 'name': 'Translator for unknown country names', - 'type': 'mixed', + 'type': 'number', 'read': true, 'write': true, 'def': 0 From 775b855caf669dadc9cbbdce7c1693d80cab1656 Mon Sep 17 00:00:00 2001 From: ioBroker22 <62349740+ioBroker22@users.noreply.github.com> Date: Tue, 6 Dec 2022 14:57:59 +0100 Subject: [PATCH 2/3] Revert "Update main.js" This reverts commit 9da7538b20e5bca30827ad5e37f1a065db281633. --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index ba84c17..7c6acca 100644 --- a/main.js +++ b/main.js @@ -48,7 +48,7 @@ class Covid19 extends utils.Adapter { common: { 'role': '', 'name': 'Translator for unknown country names', - 'type': 'number', + 'type': 'mixed', 'read': true, 'write': true, 'def': 0 From baa4c2f677833bde77c7c50ed7609166d8c91f86 Mon Sep 17 00:00:00 2001 From: ioBroker22 <62349740+ioBroker22@users.noreply.github.com> Date: Tue, 6 Dec 2022 15:09:04 +0100 Subject: [PATCH 3/3] Define countryTranslator as "number" to neutralize: "Object coronavirus-statistics.0.countryTranslator is invalid: Default value has to be type "string" but received type "number"" --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 7c6acca..ba84c17 100644 --- a/main.js +++ b/main.js @@ -48,7 +48,7 @@ class Covid19 extends utils.Adapter { common: { 'role': '', 'name': 'Translator for unknown country names', - 'type': 'mixed', + 'type': 'number', 'read': true, 'write': true, 'def': 0