@lv426/homebridge-systemair-enhanced 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +11 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -26,7 +26,7 @@ class SystemairVentilator {
|
|
|
26
26
|
TARGET_TEMP: '2000', // Target temperature setting
|
|
27
27
|
HUMIDITY: '12135', // Current humidity sensor reading
|
|
28
28
|
ECO_MODE: '2504', // Turning ECO mode on / off
|
|
29
|
-
FREE_COOLING: '4100', // Free Cooling activate /
|
|
29
|
+
FREE_COOLING: '4100', // Free Cooling activate / deactiva
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
this.axiosInstance = axios.create({
|
|
@@ -36,11 +36,17 @@ class SystemairVentilator {
|
|
|
36
36
|
// Fan service
|
|
37
37
|
this.fanService = new Service.Fanv2(this.config.name + ' Fan');
|
|
38
38
|
|
|
39
|
-
// Refresh service
|
|
40
|
-
this.refreshService = new Service.Switch(
|
|
39
|
+
// Refresh service (with subtype for uniqueness)
|
|
40
|
+
this.refreshService = new Service.Switch(
|
|
41
|
+
this.config.name + ' Refresh',
|
|
42
|
+
'refresh'
|
|
43
|
+
);
|
|
41
44
|
|
|
42
|
-
//
|
|
43
|
-
this.ecoModeService = new Service.Switch(
|
|
45
|
+
// Eco Mode service (with subtype for uniqueness)
|
|
46
|
+
this.ecoModeService = new Service.Switch(
|
|
47
|
+
this.config.name + ' Eco Mode',
|
|
48
|
+
'eco'
|
|
49
|
+
);
|
|
44
50
|
|
|
45
51
|
// Thermostat service
|
|
46
52
|
this.thermostatService = new Service.Thermostat(
|