homebridge-bedjet 0.3.0 → 0.3.1
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/dist/accessory.js +2 -2
- package/package.json +1 -1
- package/src/accessory.ts +2 -2
package/dist/accessory.js
CHANGED
|
@@ -76,7 +76,7 @@ class BedJetAccessory {
|
|
|
76
76
|
.setCharacteristic(Characteristic.SerialNumber, config.address);
|
|
77
77
|
// Thermostat service
|
|
78
78
|
this.thermostatService = this.accessory.getService(Service.Thermostat)
|
|
79
|
-
?? this.accessory.addService(Service.Thermostat,
|
|
79
|
+
?? this.accessory.addService(Service.Thermostat, 'BedJet', 'thermostat');
|
|
80
80
|
this.thermostatService.getCharacteristic(Characteristic.TemperatureDisplayUnits)
|
|
81
81
|
.onGet(() => Characteristic.TemperatureDisplayUnits.CELSIUS);
|
|
82
82
|
this.thermostatService.getCharacteristic(Characteristic.CurrentTemperature)
|
|
@@ -115,7 +115,7 @@ class BedJetAccessory {
|
|
|
115
115
|
});
|
|
116
116
|
// FanV2 service
|
|
117
117
|
this.fanService = this.accessory.getService(Service.Fanv2)
|
|
118
|
-
?? this.accessory.addService(Service.Fanv2,
|
|
118
|
+
?? this.accessory.addService(Service.Fanv2, 'BedJet Fan', 'fan');
|
|
119
119
|
this.fanService.getCharacteristic(Characteristic.Active)
|
|
120
120
|
.onGet(() => this.bedjet.state.operatingMode !== constants_1.OperatingMode.STANDBY
|
|
121
121
|
? Characteristic.Active.ACTIVE
|
package/package.json
CHANGED
package/src/accessory.ts
CHANGED
|
@@ -96,7 +96,7 @@ export class BedJetAccessory {
|
|
|
96
96
|
|
|
97
97
|
// Thermostat service
|
|
98
98
|
this.thermostatService = this.accessory.getService(Service.Thermostat)
|
|
99
|
-
?? this.accessory.addService(Service.Thermostat,
|
|
99
|
+
?? this.accessory.addService(Service.Thermostat, 'BedJet', 'thermostat');
|
|
100
100
|
|
|
101
101
|
this.thermostatService.getCharacteristic(Characteristic.TemperatureDisplayUnits)
|
|
102
102
|
.onGet(() => Characteristic.TemperatureDisplayUnits.CELSIUS);
|
|
@@ -143,7 +143,7 @@ export class BedJetAccessory {
|
|
|
143
143
|
|
|
144
144
|
// FanV2 service
|
|
145
145
|
this.fanService = this.accessory.getService(Service.Fanv2)
|
|
146
|
-
?? this.accessory.addService(Service.Fanv2,
|
|
146
|
+
?? this.accessory.addService(Service.Fanv2, 'BedJet Fan', 'fan');
|
|
147
147
|
|
|
148
148
|
this.fanService.getCharacteristic(Characteristic.Active)
|
|
149
149
|
.onGet(() =>
|