homebridge-tasmota-control 1.6.15-beta.6 → 1.6.15-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.
- package/config.schema.json +17 -5
- package/package.json +1 -1
- package/src/constants.js +7 -5
- package/src/mielhvac.js +14 -10
package/config.schema.json
CHANGED
|
@@ -562,11 +562,17 @@
|
|
|
562
562
|
{
|
|
563
563
|
"title": "VANE H LEFT",
|
|
564
564
|
"enum": [
|
|
565
|
-
|
|
565
|
+
10
|
|
566
566
|
]
|
|
567
567
|
},
|
|
568
568
|
{
|
|
569
569
|
"title": "VANE H LEFT MIDDLE",
|
|
570
|
+
"enum": [
|
|
571
|
+
11
|
|
572
|
+
]
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"title": "VANE H LEFT CENTER",
|
|
570
576
|
"enum": [
|
|
571
577
|
12
|
|
572
578
|
]
|
|
@@ -578,29 +584,35 @@
|
|
|
578
584
|
]
|
|
579
585
|
},
|
|
580
586
|
{
|
|
581
|
-
"title": "VANE H RIGHT
|
|
587
|
+
"title": "VANE H RIGHT",
|
|
582
588
|
"enum": [
|
|
583
589
|
14
|
|
584
590
|
]
|
|
585
591
|
},
|
|
586
592
|
{
|
|
587
|
-
"title": "VANE H RIGHT",
|
|
593
|
+
"title": "VANE H RIGHT MIDDLE",
|
|
588
594
|
"enum": [
|
|
589
595
|
15
|
|
590
596
|
]
|
|
591
597
|
},
|
|
592
598
|
{
|
|
593
|
-
"title": "VANE H
|
|
599
|
+
"title": "VANE H RIGHT CENTER",
|
|
594
600
|
"enum": [
|
|
595
601
|
16
|
|
596
602
|
]
|
|
597
603
|
},
|
|
598
604
|
{
|
|
599
|
-
"title": "VANE H
|
|
605
|
+
"title": "VANE H SPLIT",
|
|
600
606
|
"enum": [
|
|
601
607
|
17
|
|
602
608
|
]
|
|
603
609
|
},
|
|
610
|
+
{
|
|
611
|
+
"title": "VANE H SWING",
|
|
612
|
+
"enum": [
|
|
613
|
+
18
|
|
614
|
+
]
|
|
615
|
+
},
|
|
604
616
|
{
|
|
605
617
|
"title": "VANE V AUTO",
|
|
606
618
|
"enum": [
|
package/package.json
CHANGED
package/src/constants.js
CHANGED
|
@@ -56,17 +56,19 @@ export const MiElHVAC = {
|
|
|
56
56
|
"SetSwingH": {
|
|
57
57
|
"left": "HVACSetSwingH%20left",
|
|
58
58
|
"left_middle": "HVACSetSwingH%20left_middle",
|
|
59
|
+
"left_center": "HVACSetSwingH%20left_center",
|
|
59
60
|
"center": "HVACSetSwingH%20center",
|
|
60
|
-
"right_middle": "HVACSetSwingH%20right_middle",
|
|
61
61
|
"right": "HVACSetSwingH%20right",
|
|
62
|
+
"right_middle": "HVACSetSwingH%20right_middle",
|
|
63
|
+
"right_center": "HVACSetSwingH%20right_center",
|
|
62
64
|
"split": "HVACSetSwingH%20split",
|
|
63
65
|
"swing": "HVACSetSwingH%20swing",
|
|
64
66
|
},
|
|
65
67
|
"SetAirDirection": {
|
|
66
|
-
"indirect": "
|
|
67
|
-
"direct": "
|
|
68
|
-
"even": "
|
|
69
|
-
"off": "
|
|
68
|
+
"indirect": "HVACSetAirDirection%20indirect",
|
|
69
|
+
"direct": "HVACSetAirDirection%20direct",
|
|
70
|
+
"even": "HVACSetAirDirection%20even",
|
|
71
|
+
"off": "HVACSetAirDirection%20off"
|
|
70
72
|
},
|
|
71
73
|
"SetProhibit": {
|
|
72
74
|
"off": "HVACSetProhibit%20off",
|
package/src/mielhvac.js
CHANGED
|
@@ -470,13 +470,15 @@ class MiElHvac extends EventEmitter {
|
|
|
470
470
|
};
|
|
471
471
|
|
|
472
472
|
const vaneHMap = {
|
|
473
|
-
|
|
474
|
-
|
|
473
|
+
10: 'left',
|
|
474
|
+
11: 'left_middle',
|
|
475
|
+
12: 'left_center',
|
|
475
476
|
13: 'center',
|
|
476
|
-
14: '
|
|
477
|
-
15: '
|
|
478
|
-
16: '
|
|
479
|
-
17: '
|
|
477
|
+
14: 'right',
|
|
478
|
+
15: 'right_middle',
|
|
479
|
+
16: 'right_center',
|
|
480
|
+
17: 'split',
|
|
481
|
+
18: 'swing',
|
|
480
482
|
};
|
|
481
483
|
|
|
482
484
|
const vaneVMap = {
|
|
@@ -1055,13 +1057,15 @@ class MiElHvac extends EventEmitter {
|
|
|
1055
1057
|
5: () => getCommand('SetMode', 'auto'),
|
|
1056
1058
|
|
|
1057
1059
|
// Horizontal Swing
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
+
10: () => getCommand('SetSwingH', 'left'),
|
|
1061
|
+
11: () => getCommand('SetSwingH', 'left_middle'),
|
|
1062
|
+
12: () => getCommand('SetSwingH', 'left_center'),
|
|
1060
1063
|
13: () => getCommand('SetSwingH', 'center'),
|
|
1061
1064
|
14: () => getCommand('SetSwingH', 'right_middle'),
|
|
1062
1065
|
15: () => getCommand('SetSwingH', 'right'),
|
|
1063
|
-
16: () => getCommand('SetSwingH', '
|
|
1064
|
-
17: () => getCommand('SetSwingH', '
|
|
1066
|
+
16: () => getCommand('SetSwingH', 'right_center'),
|
|
1067
|
+
17: () => getCommand('SetSwingH', 'split'),
|
|
1068
|
+
18: () => getCommand('SetSwingH', 'swing'),
|
|
1065
1069
|
|
|
1066
1070
|
// Vertical Swing
|
|
1067
1071
|
20: () => getCommand('SetSwingV', 'auto'),
|