Skip to content

Commit

Permalink
switched default-state for new aq-sensor-flag from false to true
Browse files Browse the repository at this point in the history
  • Loading branch information
skrollme committed Apr 10, 2024
1 parent f45786f commit 63dcf5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## version history

## 1.1.1
- Add new flag to enable/disable AirQuality sensor for indoor modules
### 1.1.1
- Thanks to a PR (https://github.com/skrollme/homebridge-eveatmo/pull/76) from @Tellicious:
- Add new flag to enable/disable AirQuality sensor for indoor modules

### 1.1.0
- allows new auth method (via refreshtoken) and old one (via password)
Expand Down
2 changes: 1 addition & 1 deletion config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"extra_aq_sensor": {
"title": "Extra AirQuality sensor",
"type": "boolean",
"default": false,
"default": true,
"description": "Adds an extra AirQuality sensor reporting CO2 level"
},
"extra_co2_sensor": {
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class EveatmoPlatform {
this.foundAccessories = [];

this.config.weatherstation = typeof config.weatherstation !== 'undefined' ? Boolean(config.weatherstation) : true;
this.config.extra_aq_sensor = typeof config.extra_aq_sensor !== 'undefined' ? Boolean(config.extra_aq_sensor) : false;
this.config.extra_aq_sensor = typeof config.extra_aq_sensor !== 'undefined' ? Boolean(config.extra_aq_sensor) : true;
this.config.extra_co2_sensor = typeof config.extra_co2_sensor !== 'undefined' ? Boolean(config.extra_co2_sensor) : false;
this.config.co2_alert_threshold = typeof config.co2_alert_threshold !== 'undefined' ? parseInt(config.co2_alert_threshold) : 1000;

Expand Down

0 comments on commit 63dcf5c

Please sign in to comment.