Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  fix for a low-battery-warning issue
  • Loading branch information
Sebastian Kroll committed Jan 2, 2019
2 parents eb2dbbc + 506e1dd commit f5a9ba1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## version history

### 0.4.2
- hopefully fixed a problem which caused the low-battery warning to persist even after replacing the module's battery (Issue #21)

### 0.4.1
- setting min value for co2 for investigating history gaps
- anti-crash-fix for netatmo's current API problems
Expand Down
2 changes: 1 addition & 1 deletion accessory/eveatmo-rain-accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module.exports = function(pHomebridge) {
this.batteryPercent = weatherData.batteryPercent;
dataChanged = true;
}
if (weatherData.lowBattery && this.lowBattery != weatherData.lowBattery) {
if (this.lowBattery != weatherData.lowBattery) {
this.lowBattery = weatherData.lowBattery;
dataChanged = true;
}
Expand Down
2 changes: 1 addition & 1 deletion accessory/eveatmo-room-accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ module.exports = function(pHomebridge) {
this.batteryPercent = weatherData.batteryPercent;
dataChanged = true;
}
if (weatherData.lowBattery && this.lowBattery != weatherData.lowBattery) {
if (this.lowBattery != weatherData.lowBattery) {
this.lowBattery = weatherData.lowBattery;
dataChanged = true;
}
Expand Down
2 changes: 1 addition & 1 deletion accessory/eveatmo-weather-accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports = function(pHomebridge) {
this.batteryPercent = weatherData.batteryPercent;
dataChanged = true;
}
if (weatherData.lowBattery && this.lowBattery != weatherData.lowBattery) {
if (this.lowBattery != weatherData.lowBattery) {
this.lowBattery = weatherData.lowBattery;
dataChanged = true;
}
Expand Down
2 changes: 1 addition & 1 deletion accessory/eveatmo-wind-accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module.exports = function(pHomebridge) {
this.batteryPercent = weatherData.batteryPercent;
dataChanged = true;
}
if (weatherData.lowBattery && this.lowBattery != weatherData.lowBattery) {
if (this.lowBattery != weatherData.lowBattery) {
this.lowBattery = weatherData.lowBattery;
dataChanged = true;
}
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": "homebridge-eveatmo",
"version": "0.4.1",
"version": "0.4.2",
"description": "Homebridge plugin which adds a Netatmo weatherstation as HomeKit device and tries to act like Elgato Eve Room/Weather",
"license": "ISC",
"keywords": [
Expand Down

0 comments on commit f5a9ba1

Please sign in to comment.