Skip to content

Commit

Permalink
Bumped version and added changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
naofireblade committed May 27, 2020
1 parent 84bbb62 commit 572f7d5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,8 @@
* Improved error handling when the service parameter is missing in config
* Fixed spelling of threshold parameter (old variant is still working)
* Fixed crash in WeatherUnderground API when an error occurs

## 3.2.2
* Added compatibility sensor for total precipitation
* Changed precision of WeatherUnderground API to decimal
* Fixed crash when OpenWeatherMap API returns no data
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ WeatherPlusPlatform.prototype = {
}
else if(name === "RainDay") {
accessory.RainDayService.setCharacteristic(Characteristic.OccupancyDetected, value > 0);
accessory.RainDayService.setCharacteristic(Characteristic.Name, "Total precipitation: " + convertedValue + " " + accessory.RainDayService.unit);
accessory.RainDayService.setCharacteristic(Characteristic.Name, "Total Precip: " + convertedValue + " " + accessory.RainDayService.unit);
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions util/compatibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ const createService = function (that, name, Service, CustomCharacteristic)
}
if (name === "TemperatureMin")
{
that.TemperatureMinService = new Service.TemperatureSensor("Temperature Min", "TemperatureMin");
that.TemperatureMinService = new Service.TemperatureSensor("Minimum Temperature", "TemperatureMin");
}
if (name === "TemperatureApparent")
{
that.TemperatureApparentService = new Service.TemperatureSensor("Temperature Apparent", "TemperatureApparent");
that.TemperatureApparentService = new Service.TemperatureSensor("Apparent Temperature", "TemperatureApparent");
}
if (name === "UVIndex")
{
Expand Down

0 comments on commit 572f7d5

Please sign in to comment.