homebridge-melcloud-control 4.5.9-beta.7 → 4.5.9-beta.8
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.
|
@@ -322,7 +322,9 @@
|
|
|
322
322
|
if (!presetIds.has(presetId)) {
|
|
323
323
|
const presetObj = {
|
|
324
324
|
id: presetId,
|
|
325
|
-
|
|
325
|
+
displayType: 0,
|
|
326
|
+
name: preset.NumberDescription || `Preset ${index}`,
|
|
327
|
+
namePrefix: false
|
|
326
328
|
};
|
|
327
329
|
deviceInConfig.presets.push(presetObj);
|
|
328
330
|
newPresets.push(presetObj);
|
|
@@ -342,7 +344,9 @@
|
|
|
342
344
|
if (!scheduleIds.has(scheduleId)) {
|
|
343
345
|
const scheduleObj = {
|
|
344
346
|
id: scheduleId,
|
|
345
|
-
|
|
347
|
+
displayType: 0,
|
|
348
|
+
name: `Schedule ${index}`,
|
|
349
|
+
namePrefix: false
|
|
346
350
|
};
|
|
347
351
|
deviceInConfig.schedules.push(scheduleObj);
|
|
348
352
|
newSchedules.push(scheduleObj);
|
|
@@ -359,7 +363,9 @@
|
|
|
359
363
|
if (!sceneIds.has(sceneId)) {
|
|
360
364
|
const sceneObj = {
|
|
361
365
|
id: sceneId,
|
|
362
|
-
|
|
366
|
+
displayType: 0,
|
|
367
|
+
name: scene.Name || `Scene ${index}`,
|
|
368
|
+
namePrefix: false
|
|
363
369
|
};
|
|
364
370
|
deviceInConfig.scenes.push(sceneObj);
|
|
365
371
|
newScenes.push(sceneObj);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.5.9-beta.
|
|
4
|
+
"version": "4.5.9-beta.8",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|