homebridge-melcloud-control 4.3.3-beta.17 → 4.3.3-beta.18
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/package.json +1 -1
- package/src/functions.js +4 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.3.3-beta.
|
|
4
|
+
"version": "4.3.3-beta.18",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|
package/src/functions.js
CHANGED
|
@@ -169,11 +169,12 @@ class Functions extends EventEmitter {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
parseArrayNameValue(data) {
|
|
172
|
-
Object.fromEntries(
|
|
172
|
+
return Object.fromEntries(
|
|
173
173
|
data.map(({ name, value }) => {
|
|
174
|
-
|
|
174
|
+
const parsedValue = this.convertValue(value);
|
|
175
175
|
return [name, parsedValue];
|
|
176
|
-
})
|
|
176
|
+
})
|
|
177
|
+
);
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
180
|
export default Functions
|