homebridge-ambient-realtime 0.2.1 → 0.2.3

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/ambient_platform.d.ts +4 -2
  3. package/dist/ambient_platform.js +292 -263
  4. package/dist/ambient_platform.js.map +1 -1
  5. package/dist/devices/air.d.ts +4 -3
  6. package/dist/devices/air.js +49 -42
  7. package/dist/devices/air.js.map +1 -1
  8. package/dist/devices/air_in.d.ts +4 -3
  9. package/dist/devices/air_in.js +46 -42
  10. package/dist/devices/air_in.js.map +1 -1
  11. package/dist/devices/aqin.d.ts +4 -3
  12. package/dist/devices/aqin.js +91 -87
  13. package/dist/devices/aqin.js.map +1 -1
  14. package/dist/devices/leak.d.ts +4 -3
  15. package/dist/devices/leak.js +39 -35
  16. package/dist/devices/leak.js.map +1 -1
  17. package/dist/devices/motion.d.ts +4 -3
  18. package/dist/devices/motion.js +42 -38
  19. package/dist/devices/motion.js.map +1 -1
  20. package/dist/devices/occupancy.d.ts +4 -3
  21. package/dist/devices/occupancy.js +42 -38
  22. package/dist/devices/occupancy.js.map +1 -1
  23. package/dist/devices/pool.d.ts +4 -3
  24. package/dist/devices/pool.js +39 -35
  25. package/dist/devices/pool.js.map +1 -1
  26. package/dist/devices/soil.d.ts +4 -3
  27. package/dist/devices/soil.js +52 -48
  28. package/dist/devices/soil.js.map +1 -1
  29. package/dist/devices/station.d.ts +4 -3
  30. package/dist/devices/station.js +54 -45
  31. package/dist/devices/station.js.map +1 -1
  32. package/dist/devices/temp.d.ts +4 -3
  33. package/dist/devices/temp.js +47 -41
  34. package/dist/devices/temp.js.map +1 -1
  35. package/dist/index.js +1 -1
  36. package/dist/index.js.map +1 -1
  37. package/dist/settings.d.ts +2 -2
  38. package/dist/settings.js +3 -2
  39. package/dist/settings.js.map +1 -1
  40. package/package.json +9 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changes
2
2
 
3
+ ## 0.2.3
4
+ update
5
+ - code cleanup
6
+ - bumped dependencies
7
+ - fixed typo
8
+ - fixed charateristic error during service communication failure
9
+ - fixed issue updating station when more than one station is reporting, will have to remove plugin accessories and verify homekit.
10
+
11
+ ## 0.2.2
12
+ update
13
+ - code cleanup
14
+ - corrected fault display in Homekit
15
+ - bumped dependencies
16
+
3
17
  ## 0.2.1
4
18
  Bug Fixes
5
19
  - fixed station battery charateristic warning
@@ -1,16 +1,18 @@
1
- import type { API, Characteristic, DynamicPlatformPlugin, Logging, PlatformAccessory, PlatformConfig, Service } from 'homebridge';
1
+ import { API, Characteristic, DynamicPlatformPlugin, HAPStatus, HapStatusError, Logging, PlatformAccessory, PlatformConfig, Service } from 'homebridge';
2
2
  /**
3
3
  * HomebridgePlatform
4
4
  * This class is the main constructor for your plugin, this is where you should
5
5
  * parse the user config and discover/register accessories with Homebridge.
6
6
  */
7
- export declare class ambientPlatform implements DynamicPlatformPlugin {
7
+ export default class ambientPlatform implements DynamicPlatformPlugin {
8
8
  readonly log: Logging;
9
9
  readonly config: PlatformConfig;
10
10
  readonly api: API;
11
11
  [x: string]: any;
12
12
  readonly Service: typeof Service;
13
13
  readonly Characteristic: typeof Characteristic;
14
+ readonly HAPStatus: typeof HAPStatus;
15
+ readonly HapStatusError: typeof HapStatusError;
14
16
  readonly accessories: PlatformAccessory[];
15
17
  constructor(log: Logging, config: PlatformConfig, api: API);
16
18
  configureAccessory(accessory: PlatformAccessory): void;