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.
- package/CHANGELOG.md +14 -0
- package/dist/ambient_platform.d.ts +4 -2
- package/dist/ambient_platform.js +292 -263
- package/dist/ambient_platform.js.map +1 -1
- package/dist/devices/air.d.ts +4 -3
- package/dist/devices/air.js +49 -42
- package/dist/devices/air.js.map +1 -1
- package/dist/devices/air_in.d.ts +4 -3
- package/dist/devices/air_in.js +46 -42
- package/dist/devices/air_in.js.map +1 -1
- package/dist/devices/aqin.d.ts +4 -3
- package/dist/devices/aqin.js +91 -87
- package/dist/devices/aqin.js.map +1 -1
- package/dist/devices/leak.d.ts +4 -3
- package/dist/devices/leak.js +39 -35
- package/dist/devices/leak.js.map +1 -1
- package/dist/devices/motion.d.ts +4 -3
- package/dist/devices/motion.js +42 -38
- package/dist/devices/motion.js.map +1 -1
- package/dist/devices/occupancy.d.ts +4 -3
- package/dist/devices/occupancy.js +42 -38
- package/dist/devices/occupancy.js.map +1 -1
- package/dist/devices/pool.d.ts +4 -3
- package/dist/devices/pool.js +39 -35
- package/dist/devices/pool.js.map +1 -1
- package/dist/devices/soil.d.ts +4 -3
- package/dist/devices/soil.js +52 -48
- package/dist/devices/soil.js.map +1 -1
- package/dist/devices/station.d.ts +4 -3
- package/dist/devices/station.js +54 -45
- package/dist/devices/station.js.map +1 -1
- package/dist/devices/temp.d.ts +4 -3
- package/dist/devices/temp.js +47 -41
- package/dist/devices/temp.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/settings.d.ts +2 -2
- package/dist/settings.js +3 -2
- package/dist/settings.js.map +1 -1
- 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
|
|
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
|
|
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;
|