homebridge-melcloud-control 3.3.32-beta.8 → 3.4.0

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
@@ -16,11 +16,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
  - do not configure it manually, always using Config UI X
17
17
  - required Homebridge v2.0.0 and above
18
18
 
19
- ## [3.3.31] - (29.11.2024)
19
+ ## [3.4.0] - (30.11.2024)
20
20
 
21
21
  ## Changes
22
22
 
23
23
  - move from commonJS to esm module, fixing [#180](https://github.com/grzegorz914/homebridge-melcloud-control/issues/180)
24
+ - moved constants.json to constants.js
25
+ - cleanup
24
26
 
25
27
  ## [3.3.20] - (25.09.2024)
26
28
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.3.32-beta.8",
4
+ "version": "3.4.0",
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/deviceata.js CHANGED
@@ -4,6 +4,7 @@ import MelCloudAta from './melcloudata.js';
4
4
  import RestFul from './restful.js';
5
5
  import Mqtt from './mqtt.js';
6
6
  import { TemperatureDisplayUnits, AirConditioner } from './constants.js';
7
+ let Accessory, Characteristic, Service, Categories, AccessoryUUID;
7
8
 
8
9
  class DeviceAta extends EventEmitter {
9
10
  constructor(api, account, device, melCloud, accountInfo, contextKey, accountName, deviceId, deviceName, deviceTypeText, devicesFile, refreshInterval, useFahrenheit) {
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  import { promises } from 'fs';
3
3
  const fsPromises = promises;
4
- import { create } from 'axios';
5
4
  import axios from 'axios';
6
5
  import EventEmitter from 'events';
7
6
  import ImpulseGenerator from './impulsegenerator.js';