homebridge-melcloud-control 4.1.1-beta.0 → 4.1.1-beta.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/CHANGELOG.md CHANGED
@@ -22,6 +22,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
22
 
23
23
  - Do not use Homebridge UI > v5.5.0 because of break config.json
24
24
 
25
+ ## [4.1.1] - (xx.11.2025)
26
+
27
+ ## Changes
28
+
29
+ - added shedule sensor for MELCLoud Home ATA devices
30
+ - config schema updated
31
+ - readme updated
32
+ - cleanup
33
+
25
34
  ## [4.1.0] - (10.11.2025)
26
35
 
27
36
  ## Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.1.1-beta.0",
4
+ "version": "4.1.1-beta.1",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -20,7 +20,7 @@ class MelCloudAta extends EventEmitter {
20
20
  .on('debug', debug => this.emit('debug', debug));
21
21
 
22
22
  //set default values
23
- this.deviceState = {};
23
+ this.deviceData = {};
24
24
  this.headers = {};
25
25
 
26
26
  //lock flags
@@ -136,35 +136,6 @@ class MelCloudAta extends EventEmitter {
136
136
  if (this.logDebug) this.emit('debug', `Units are not configured in MELCloud service`);
137
137
  };
138
138
 
139
- const deviceState = {
140
- HideVaneControls: hideVaneControls,
141
- HideDryModeControl: hideDryModeControl,
142
- FrostProtection: frostProtection,
143
- OverheatProtection: overheatProtection,
144
- HolidayMode: holidayMode,
145
- SheduleEnabled: sheduleEnabled,
146
- Power: power,
147
- InStandbyMode: inStandbyMode,
148
- OperationMode: operationMode,
149
- RoomTemperature: roomTemperature,
150
- OutdoorTemperature: outdoorTemperature,
151
- SetTemperature: setTemperature,
152
- ActualFanSpeed: actualFanSpeed,
153
- SetFanSpeed: setFanSpeed,
154
- AutomaticFanSpeed: automaticFanSpeed,
155
- VaneVerticalDirection: vaneVerticalDirection,
156
- VaneVerticalSwing: vaneVerticalSwing,
157
- VaneHorizontalDirection: vaneHorizontalDirection,
158
- VaneHorizontalSwing: vaneHorizontalSwing,
159
- TemperatureIncrement: temperatureIncrement,
160
- DefaultCoolingSetTemperature: defaultCoolingSetTemperature,
161
- DefaultHeatingSetTemperature: defaultHeatingSetTemperature,
162
- ProhibitPower: prohibitPower,
163
- ProhibitSetTemperature: prohibitSetTemperature,
164
- ProhibitOperationMode: prohibitOperationMode,
165
- IsInError: isInError
166
- }
167
-
168
139
  //restFul
169
140
  this.emit('restFul', 'info', deviceData);
170
141
  this.emit('restFul', 'state', deviceData.Device);
@@ -174,12 +145,12 @@ class MelCloudAta extends EventEmitter {
174
145
  this.emit('mqtt', 'State', deviceData.Device);
175
146
 
176
147
  //check state changes
177
- const deviceDataHasNotChanged = JSON.stringify(deviceState) === JSON.stringify(this.deviceState);
148
+ const deviceDataHasNotChanged = JSON.stringify(deviceData) === JSON.stringify(this.deviceData);
178
149
  if (deviceDataHasNotChanged) {
179
150
  if (this.logDebug) this.emit('debug', `Device state not changed`);
180
151
  return;
181
152
  }
182
- this.deviceState = deviceState;
153
+ this.deviceData = deviceData;
183
154
 
184
155
  //emit info
185
156
  this.emit('deviceInfo', manufacturer, indoor.model, outdoor.model, serialNumber, firmwareAppVersion);