iobroker.accuweather
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"common": { | ||
"name": "accuweather", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"news": { | ||
"1.2.2": { | ||
"en": "HoursOfSun parameter added to Daily forecast", | ||
"de": "HoursOfSun-Parameter zur täglichen Vorhersage hinzugefügt", | ||
"ru": "В суточный прогноз добавлен параметр HoursOfSun", | ||
"pt": "Parâmetro HoursOfSun adicionado à previsão diária", | ||
"nl": "HoursOfSun-parameter toegevoegd aan dagelijkse voorspelling", | ||
"fr": "Paramètre HoursOfSun ajouté aux prévisions quotidiennes", | ||
"it": "Parametro HoursOfSun aggiunto alla previsione giornaliera", | ||
"es": "Parámetro HoursOfSun agregado al pronóstico diario", | ||
"pl": "Dodano parametr HoursOfSun do prognozy dziennej", | ||
"zh-cn": "每日预测中添加了 hoursOfSun 参数" | ||
}, | ||
"1.2.1": { | ||
@@ -201,2 +213,2 @@ "en": "Updated logo", | ||
"instanceObjects": [] | ||
} | ||
} |
@@ -35,2 +35,13 @@ { | ||
}, | ||
"Daily.dayn.HoursOfSun": { | ||
"type": "state", | ||
"common": { | ||
"name": "Hours of Sun", | ||
"type": "number", | ||
"read": true, | ||
"write": false, | ||
"role": "value" | ||
}, | ||
"native": {} | ||
}, | ||
"Daily.dayn.Temperature.Minimum": { | ||
@@ -37,0 +48,0 @@ "type": "state", |
@@ -58,2 +58,13 @@ { | ||
}, | ||
"Summary.HoursOfSun": { | ||
"type": "state", | ||
"common": { | ||
"name": "Hours of Sun", | ||
"type": "number", | ||
"read": true, | ||
"write": false, | ||
"role": "value.HoursOfSun" | ||
}, | ||
"native": {} | ||
}, | ||
"Summary.RealFeelTemperature": { | ||
@@ -60,0 +71,0 @@ "type": "state", |
@@ -73,2 +73,8 @@ "use strict"; | ||
break; | ||
case "HoursOfSun": | ||
this.setState("Daily.Day" + day + ".HoursOfSun", { val: json[key], ack: true }); | ||
if (day === 1) { | ||
this.setState("Summary.HoursOfSun", { val: json[key], ack: true }); | ||
} | ||
break; | ||
case "Temperature": | ||
@@ -75,0 +81,0 @@ this.setState("Daily.Day" + day + ".Temperature.Minimum", { val: json[key]["Minimum"].Value, ack: true }); |
{ | ||
"name": "iobroker.accuweather", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Weather forecast using AccuWeather API", | ||
@@ -26,3 +26,3 @@ "author": { | ||
"devDependencies": { | ||
"@alcalzone/release-script": "^2.2.0", | ||
"@alcalzone/release-script": "^3.4.2", | ||
"@iobroker/testing": "^2.4.4", | ||
@@ -33,3 +33,3 @@ "@types/chai": "^4.2.19", | ||
"@types/mocha": "^8.2.2", | ||
"@types/node": "^15.12.4", | ||
"@types/node": "^17.0.5", | ||
"@types/proxyquire": "^1.3.28", | ||
@@ -36,0 +36,0 @@ "@types/sinon": "^10.0.2", |
@@ -44,2 +44,5 @@ ![Logo](admin/accuweather.png) | ||
## Changelog | ||
### 1.2.2 (2021-12-29) | ||
* (algar42) HoursOfSun Parameter added to the Daily forecast | ||
### 1.2.1 (2021-07-22) | ||
@@ -46,0 +49,0 @@ * (bluefox) Updated logo |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
178033
2390
96
0