homebridge-blueair-purifier 0.1.1 → 0.2.1
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/.eslintignore +3 -0
- package/.prettierrc +19 -0
- package/README.md +29 -166
- package/config.schema.json +22 -22
- package/dist/accessory/AirPurifierAccessory.d.ts +24 -5
- package/dist/accessory/AirPurifierAccessory.d.ts.map +1 -1
- package/dist/accessory/AirPurifierAccessory.js +229 -54
- package/dist/accessory/AirPurifierAccessory.js.map +1 -1
- package/dist/api/BlueAirAwsApi.d.ts +5 -2
- package/dist/api/BlueAirAwsApi.d.ts.map +1 -1
- package/dist/api/BlueAirAwsApi.js +41 -33
- package/dist/api/BlueAirAwsApi.js.map +1 -1
- package/dist/api/Consts.d.ts.map +1 -1
- package/dist/api/Consts.js +8 -8
- package/dist/api/Consts.js.map +1 -1
- package/dist/api/GigyaApi.d.ts +1 -1
- package/dist/api/GigyaApi.d.ts.map +1 -1
- package/dist/api/GigyaApi.js +23 -22
- package/dist/api/GigyaApi.js.map +1 -1
- package/dist/device/BlueAirDevice.d.ts +15 -3
- package/dist/device/BlueAirDevice.d.ts.map +1 -1
- package/dist/device/BlueAirDevice.js +112 -9
- package/dist/device/BlueAirDevice.js.map +1 -1
- package/dist/platform.d.ts +5 -1
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +51 -17
- package/dist/platform.js.map +1 -1
- package/dist/platformUtils.d.ts +1 -0
- package/dist/platformUtils.d.ts.map +1 -1
- package/dist/platformUtils.js +2 -1
- package/dist/platformUtils.js.map +1 -1
- package/package.json +29 -6
package/.eslintignore
ADDED
package/.prettierrc
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"useTabs": false,
|
|
3
|
+
"printWidth": 140,
|
|
4
|
+
"tabWidth": 2,
|
|
5
|
+
"semi": true,
|
|
6
|
+
"singleQuote": true,
|
|
7
|
+
"trailingComma": "all",
|
|
8
|
+
"bracketSpacing": true,
|
|
9
|
+
"bracketSameLine": false,
|
|
10
|
+
"endOfLine": "lf",
|
|
11
|
+
"overrides": [
|
|
12
|
+
{
|
|
13
|
+
"files": "*.{json,babelrc,eslintrc,remarkrc,prettierrc}",
|
|
14
|
+
"options": {
|
|
15
|
+
"useTabs": false
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
package/README.md
CHANGED
|
@@ -6,186 +6,49 @@
|
|
|
6
6
|
|
|
7
7
|
<span align="center">
|
|
8
8
|
|
|
9
|
-
# Homebridge
|
|
9
|
+
# Homebridge Blueair Purifier
|
|
10
10
|
|
|
11
11
|
</span>
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## Supported Devices
|
|
14
14
|
|
|
15
|
-
This
|
|
15
|
+
This plugin only supports WiFi connected BlueAir purifiers utilizing cloud connectivity (via AWS) for device communication. Below is a list of known tested products.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
| Device | Product Page |
|
|
18
|
+
|----------------|------------|
|
|
19
|
+
| Blue Pure 211i Max | [link](https://www.blueair.com/us/air-purifiers/blue-pure-211i-max/3541.html?cgid=air-purifiers) |
|
|
20
|
+
| Blue Pure 311i+ Max | [link](https://www.blueair.com/us/air-purifiers/blue-pure-311i-plus-max/3540.html?cgid=air-purifiers) |
|
|
21
|
+
| Blue Pure 311i Max | [link](https://www.blueair.com/us/air-purifiers/blue-pure-311i-max/3539.html?cgid=air-purifiers) |
|
|
22
|
+
| Blue Pure 411i Max | [link](https://www.blueair.com/us/air-purifiers/blue-pure-411i-max/3538.html?cgid=air-purifiers) |
|
|
23
|
+
| Protect 7470i | [link](https://www.blueair.com/us/air-purifiers/2954.html?cgid=air-purifiers) |
|
|
24
|
+
| DustMagnet™ 5440i | [link](https://www.blueair.com/us/air-purifiers/dustmagnet-5440i/2420.html?cgid=air-purifiers) |
|
|
18
25
|
|
|
19
|
-
|
|
26
|
+
## Features
|
|
20
27
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### [Create New Repository From Template](https://github.com/homebridge/homebridge-plugin-template/generate)
|
|
24
|
-
|
|
25
|
-
</span>
|
|
26
|
-
|
|
27
|
-
### Setup Development Environment
|
|
28
|
-
|
|
29
|
-
To develop Homebridge plugins you must have Node.js 18 or later installed, and a modern code editor such as [VS Code](https://code.visualstudio.com/). This plugin template uses [TypeScript](https://www.typescriptlang.org/) to make development easier and comes with pre-configured settings for [VS Code](https://code.visualstudio.com/) and ESLint. If you are using VS Code install these extensions:
|
|
30
|
-
|
|
31
|
-
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
|
|
32
|
-
|
|
33
|
-
### Install Development Dependencies
|
|
34
|
-
|
|
35
|
-
Using a terminal, navigate to the project folder and run this command to install the development dependencies:
|
|
36
|
-
|
|
37
|
-
```shell
|
|
38
|
-
npm install
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Update package.json
|
|
42
|
-
|
|
43
|
-
Open the [`package.json`](./package.json) and change the following attributes:
|
|
44
|
-
|
|
45
|
-
- `name` - this should be prefixed with `homebridge-` or `@username/homebridge-`, is case-sensitive, and contains no spaces nor special characters apart from a dash `-`
|
|
46
|
-
- `displayName` - this is the "nice" name displayed in the Homebridge UI
|
|
47
|
-
- `repository.url` - Link to your GitHub repo
|
|
48
|
-
- `bugs.url` - Link to your GitHub repo issues page
|
|
49
|
-
|
|
50
|
-
When you are ready to publish the plugin you should set `private` to false, or remove the attribute entirely.
|
|
51
|
-
|
|
52
|
-
### Update Plugin Defaults
|
|
53
|
-
|
|
54
|
-
Open the [`src/settings.ts`](./src/settings.ts) file and change the default values:
|
|
55
|
-
|
|
56
|
-
- `PLATFORM_NAME` - Set this to be the name of your platform. This is the name of the platform that users will use to register the plugin in the Homebridge `config.json`.
|
|
57
|
-
- `PLUGIN_NAME` - Set this to be the same name you set in the [`package.json`](./package.json) file.
|
|
58
|
-
|
|
59
|
-
Open the [`config.schema.json`](./config.schema.json) file and change the following attribute:
|
|
60
|
-
|
|
61
|
-
- `pluginAlias` - set this to match the `PLATFORM_NAME` you defined in the previous step.
|
|
62
|
-
|
|
63
|
-
### Build Plugin
|
|
64
|
-
|
|
65
|
-
TypeScript needs to be compiled into JavaScript before it can run. The following command will compile the contents of your [`src`](./src) directory and put the resulting code into the `dist` folder.
|
|
66
|
-
|
|
67
|
-
```shell
|
|
68
|
-
npm run build
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
### Link To Homebridge
|
|
72
|
-
|
|
73
|
-
Run this command so your global installation of Homebridge can discover the plugin in your development environment:
|
|
74
|
-
|
|
75
|
-
```shell
|
|
76
|
-
npm link
|
|
77
|
-
```
|
|
28
|
+
List features here along witgh what you can show and hide
|
|
78
29
|
|
|
79
|
-
|
|
30
|
+
## Installation
|
|
80
31
|
|
|
81
|
-
|
|
82
|
-
homebridge -D
|
|
83
|
-
```
|
|
32
|
+
**Option 1: Install via Homebridge Config UI X:**
|
|
84
33
|
|
|
85
|
-
|
|
34
|
+
Search for "Blueair Purifier" in in [homebridge-config-ui-x](https://github.com/oznu/homebridge-config-ui-x) and install `homebridge-blueair-purifier`.
|
|
86
35
|
|
|
87
|
-
|
|
88
|
-
```
|
|
89
|
-
{
|
|
90
|
-
...
|
|
91
|
-
"platforms": [
|
|
92
|
-
{
|
|
93
|
-
"name": "Config",
|
|
94
|
-
"port": 8581,
|
|
95
|
-
"platform": "config"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "<PLUGIN_NAME>",
|
|
99
|
-
//... any other options, as listed in config.schema.json ...
|
|
100
|
-
"platform": "<PLATFORM_NAME>"
|
|
101
|
-
}
|
|
102
|
-
]
|
|
103
|
-
}
|
|
104
|
-
```
|
|
36
|
+
**Option 2: Manually Install:**
|
|
105
37
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
```shell
|
|
109
|
-
npm run watch
|
|
38
|
+
```text
|
|
39
|
+
sudo npm install -g homebridge-blueair-purifier
|
|
110
40
|
```
|
|
111
41
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
42
|
+
## Plugin Configuration
|
|
43
|
+
### Feature Toggles
|
|
44
|
+
* Hide LED
|
|
45
|
+
* Hide Air Quality Sensor
|
|
46
|
+
* Hide Temperature Sensor
|
|
47
|
+
* Hide Humidity Sensor
|
|
48
|
+
* Hide Night Mode
|
|
117
49
|
|
|
118
|
-
|
|
119
|
-
- [`src/platformAccessory.ts`](./src/platformAccessory.ts) - this is where your accessory control logic should go, you can rename or create multiple instances of this file for each accessory type you need to implement as part of your platform plugin. You can refer to the [developer documentation](https://developers.homebridge.io/) to see what characteristics you need to implement for each service type.
|
|
120
|
-
- [`config.schema.json`](./config.schema.json) - update the config schema to match the config you expect from the user. See the [Plugin Config Schema Documentation](https://developers.homebridge.io/#/config-schema).
|
|
50
|
+
### Trademarks
|
|
121
51
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
Given a version number `MAJOR`.`MINOR`.`PATCH`, such as `1.4.3`, increment the:
|
|
125
|
-
|
|
126
|
-
1. **MAJOR** version when you make breaking changes to your plugin,
|
|
127
|
-
2. **MINOR** version when you add functionality in a backwards compatible manner, and
|
|
128
|
-
3. **PATCH** version when you make backwards compatible bug fixes.
|
|
129
|
-
|
|
130
|
-
You can use the `npm version` command to help you with this:
|
|
131
|
-
|
|
132
|
-
```shell
|
|
133
|
-
# major update / breaking changes
|
|
134
|
-
npm version major
|
|
135
|
-
|
|
136
|
-
# minor update / new features
|
|
137
|
-
npm version update
|
|
138
|
-
|
|
139
|
-
# patch / bugfixes
|
|
140
|
-
npm version patch
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
### Publish Package
|
|
144
|
-
|
|
145
|
-
When you are ready to publish your plugin to [npm](https://www.npmjs.com/), make sure you have removed the `private` attribute from the [`package.json`](./package.json) file then run:
|
|
146
|
-
|
|
147
|
-
```shell
|
|
148
|
-
npm publish
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
If you are publishing a scoped plugin, i.e. `@username/homebridge-xxx` you will need to add `--access=public` to command the first time you publish.
|
|
152
|
-
|
|
153
|
-
#### Publishing Beta Versions
|
|
154
|
-
|
|
155
|
-
You can publish *beta* versions of your plugin for other users to test before you release it to everyone.
|
|
156
|
-
|
|
157
|
-
```shell
|
|
158
|
-
# create a new pre-release version (eg. 2.1.0-beta.1)
|
|
159
|
-
npm version prepatch --preid beta
|
|
160
|
-
|
|
161
|
-
# publish to @beta
|
|
162
|
-
npm publish --tag=beta
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
Users can then install the *beta* version by appending `@beta` to the install command, for example:
|
|
166
|
-
|
|
167
|
-
```shell
|
|
168
|
-
sudo npm install -g homebridge-example-plugin@beta
|
|
169
|
-
```
|
|
52
|
+
Apple and HomeKit are registered trademarks of Apple Inc.
|
|
170
53
|
|
|
171
|
-
|
|
172
|
-
Consider creating your plugin with the [Homebridge Verified](https://github.com/homebridge/verified) criteria in mind. This will help you to create a plugin that is easy to use and works well with Homebridge.
|
|
173
|
-
You can then submit your plugin to the Homebridge Verified list for review.
|
|
174
|
-
The most up-to-date criteria can be found [here](https://github.com/homebridge/verified#requirements).
|
|
175
|
-
For reference, the current criteria are:
|
|
176
|
-
|
|
177
|
-
- The plugin must successfully install.
|
|
178
|
-
- The plugin must implement the [Homebridge Plugin Settings GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI).
|
|
179
|
-
- The plugin must not start unless it is configured.
|
|
180
|
-
- The plugin must not execute post-install scripts that modify the users' system in any way.
|
|
181
|
-
- The plugin must not contain any analytics or calls that enable you to track the user.
|
|
182
|
-
- The plugin must not throw unhandled exceptions, the plugin must catch and log its own errors.
|
|
183
|
-
- The plugin must be published to npm and the source code available on GitHub.
|
|
184
|
-
- A GitHub release - with patch notes - should be created for every new version of your plugin.
|
|
185
|
-
- The plugin must run on all [supported LTS versions of Node.js](https://github.com/homebridge/homebridge/wiki/How-To-Update-Node.js), at the time of writing this is Node.js v16 and v18.
|
|
186
|
-
- The plugin must not require the user to run Homebridge in a TTY or with non-standard startup parameters, even for initial configuration.
|
|
187
|
-
- If the plugin needs to write files to disk (cache, keys, etc.), it must store them inside the Homebridge storage directory.
|
|
188
|
-
|
|
189
|
-
### Useful Links
|
|
190
|
-
Note these links are here for help but are not supported/verified by the Homebridge team
|
|
191
|
-
- [Custom Characteristics](https://github.com/homebridge/homebridge-plugin-template/issues/20)
|
|
54
|
+
BlueAir is a trademark of Unilever Corporation
|
package/config.schema.json
CHANGED
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
"properties": {
|
|
9
9
|
"username": {
|
|
10
10
|
"title": "Username",
|
|
11
|
-
"description": "Username for BlueAir account. This should be filled in
|
|
11
|
+
"description": "Username for BlueAir account. This should be filled in automatically in the discovery process.",
|
|
12
12
|
"type": "string"
|
|
13
13
|
},
|
|
14
14
|
"password": {
|
|
15
15
|
"title": "Password",
|
|
16
|
-
"description": "Password for BlueAir account. This should be filled in
|
|
16
|
+
"description": "Password for BlueAir account. This should be filled in automatically in the discovery process.",
|
|
17
17
|
"type": "string"
|
|
18
18
|
},
|
|
19
19
|
"region": {
|
|
20
20
|
"title": "Region",
|
|
21
|
-
"description": "Region for BlueAir account. This should be filled in
|
|
21
|
+
"description": "Region for BlueAir account. This should be filled in automatically in the discovery process.",
|
|
22
22
|
"type": "string",
|
|
23
23
|
"enum": ["Default (all other regions)", "Australia", "China", "Russia", "USA"],
|
|
24
24
|
"default": "Default (all other regions)",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"accountUuid": {
|
|
28
28
|
"title": "Account UUID",
|
|
29
|
-
"description": "Account UUID for BlueAir account. This should be filled in
|
|
29
|
+
"description": "Account UUID for BlueAir account. This should be filled in automatically in the discovery process.",
|
|
30
30
|
"type": "string"
|
|
31
31
|
},
|
|
32
32
|
"verboseLogging": {
|
|
@@ -39,22 +39,32 @@
|
|
|
39
39
|
"description": "Enable to show debug information in the Homebridge UI.",
|
|
40
40
|
"type": "boolean"
|
|
41
41
|
},
|
|
42
|
+
"pollingInterval": {
|
|
43
|
+
"title": "Polling Interval",
|
|
44
|
+
"description": "Interval in miliseconds to poll the BlueAir API for updates. It's recommended to keep this at least 5 seconds (5000 miliseconds).",
|
|
45
|
+
"type": "number"
|
|
46
|
+
},
|
|
42
47
|
"devices": {
|
|
43
48
|
"title": "Devices",
|
|
44
49
|
"type": "array",
|
|
45
50
|
"items": {
|
|
46
51
|
"type": "object",
|
|
47
52
|
"properties": {
|
|
48
|
-
"
|
|
49
|
-
"title": "
|
|
53
|
+
"id": {
|
|
54
|
+
"title": "ID",
|
|
50
55
|
"type": "string",
|
|
51
56
|
"required": true
|
|
52
57
|
},
|
|
53
|
-
"
|
|
54
|
-
"title": "
|
|
58
|
+
"name": {
|
|
59
|
+
"title": "Name",
|
|
55
60
|
"type": "string",
|
|
56
61
|
"required": true
|
|
57
62
|
},
|
|
63
|
+
"filterChangeLevel": {
|
|
64
|
+
"title": "Filter Change Level",
|
|
65
|
+
"description": "Percentage of filter life remaining to trigger a filter change alert.",
|
|
66
|
+
"type": "number"
|
|
67
|
+
},
|
|
58
68
|
"led": {
|
|
59
69
|
"title": "LED",
|
|
60
70
|
"description": "Toggles if the LED switch service is created with the accessory.",
|
|
@@ -65,21 +75,11 @@
|
|
|
65
75
|
"description": "Toggles if the air quality sensor service is created with the accessory.",
|
|
66
76
|
"type": "boolean"
|
|
67
77
|
},
|
|
68
|
-
"co2Sensor": {
|
|
69
|
-
"title": "CO2 Sensor",
|
|
70
|
-
"description": "Toggles if the CO2 sensor service is created with the accessory.",
|
|
71
|
-
"type": "boolean"
|
|
72
|
-
},
|
|
73
78
|
"temperatureSensor": {
|
|
74
79
|
"title": "Temperature Sensor",
|
|
75
80
|
"description": "Toggles if the temperature sensor service is created with the accessory.",
|
|
76
81
|
"type": "boolean"
|
|
77
82
|
},
|
|
78
|
-
"humiditySensor": {
|
|
79
|
-
"title": "Humidity Sensor",
|
|
80
|
-
"description": "Toggles if the humidity sensor service is created with the accessory.",
|
|
81
|
-
"type": "boolean"
|
|
82
|
-
},
|
|
83
83
|
"germShield": {
|
|
84
84
|
"title": "Germ Shield",
|
|
85
85
|
"description": "Toggles if the germ shield switch service is created with the accessory.",
|
|
@@ -110,7 +110,8 @@
|
|
|
110
110
|
"region",
|
|
111
111
|
"accountUuid",
|
|
112
112
|
"verboseLogging",
|
|
113
|
-
"uiDebug"
|
|
113
|
+
"uiDebug",
|
|
114
|
+
"pollingInterval"
|
|
114
115
|
]
|
|
115
116
|
},
|
|
116
117
|
{
|
|
@@ -118,13 +119,12 @@
|
|
|
118
119
|
"type": "tabarray",
|
|
119
120
|
"title": "{{ value.name || 'new device' }}",
|
|
120
121
|
"items": [
|
|
121
|
-
"devices[].name",
|
|
122
122
|
"devices[].id",
|
|
123
|
+
"devices[].name",
|
|
124
|
+
"devices[].filterChangeLevel",
|
|
123
125
|
"devices[].led",
|
|
124
126
|
"devices[].airQualitySensor",
|
|
125
|
-
"devices[].co2Sensor",
|
|
126
127
|
"devices[].temperatureSensor",
|
|
127
|
-
"devices[].humiditySensor",
|
|
128
128
|
"devices[].germShield",
|
|
129
129
|
"devices[].nightMode"
|
|
130
130
|
]
|
|
@@ -2,25 +2,44 @@ import { CharacteristicValue, PlatformAccessory } from 'homebridge';
|
|
|
2
2
|
import { BlueAirPlatform } from '../platform';
|
|
3
3
|
import { BlueAirDevice } from '../device/BlueAirDevice';
|
|
4
4
|
import { DeviceConfig } from '../platformUtils';
|
|
5
|
+
import { FullBlueAirDeviceState } from '../api/BlueAirAwsApi';
|
|
5
6
|
export declare class AirPurifierAccessory {
|
|
6
7
|
protected readonly platform: BlueAirPlatform;
|
|
7
8
|
protected readonly accessory: PlatformAccessory;
|
|
8
9
|
protected readonly device: BlueAirDevice;
|
|
9
10
|
protected readonly configDev: DeviceConfig;
|
|
10
11
|
private service;
|
|
12
|
+
private filterMaintenanceService?;
|
|
13
|
+
private ledService?;
|
|
14
|
+
private airQualityService?;
|
|
15
|
+
private temperatureService?;
|
|
16
|
+
private germShieldService?;
|
|
17
|
+
private nightModeService?;
|
|
11
18
|
constructor(platform: BlueAirPlatform, accessory: PlatformAccessory, device: BlueAirDevice, configDev: DeviceConfig);
|
|
19
|
+
updateCharacteristics(changedStates: Partial<FullBlueAirDeviceState>): void;
|
|
12
20
|
getActive(): CharacteristicValue;
|
|
13
|
-
setActive(value: CharacteristicValue): void
|
|
21
|
+
setActive(value: CharacteristicValue): Promise<void>;
|
|
14
22
|
getCurrentAirPurifierState(): CharacteristicValue;
|
|
15
23
|
getTargetAirPurifierState(): CharacteristicValue;
|
|
16
|
-
setTargetAirPurifierState(value: CharacteristicValue): void
|
|
24
|
+
setTargetAirPurifierState(value: CharacteristicValue): Promise<void>;
|
|
17
25
|
getLockPhysicalControls(): CharacteristicValue;
|
|
18
|
-
setLockPhysicalControls(value: CharacteristicValue): void
|
|
26
|
+
setLockPhysicalControls(value: CharacteristicValue): Promise<void>;
|
|
19
27
|
getRotationSpeed(): CharacteristicValue;
|
|
20
|
-
setRotationSpeed(value: CharacteristicValue): void
|
|
28
|
+
setRotationSpeed(value: CharacteristicValue): Promise<void>;
|
|
21
29
|
getFilterChangeIndication(): CharacteristicValue;
|
|
22
30
|
getFilterLifeLevel(): CharacteristicValue;
|
|
23
31
|
getCurrentTemperature(): CharacteristicValue;
|
|
24
|
-
|
|
32
|
+
getLedOn(): CharacteristicValue;
|
|
33
|
+
setLedOn(value: CharacteristicValue): Promise<void>;
|
|
34
|
+
getLedBrightness(): CharacteristicValue;
|
|
35
|
+
setLedBrightness(value: CharacteristicValue): Promise<void>;
|
|
36
|
+
getPM2_5Density(): CharacteristicValue;
|
|
37
|
+
getPM10Density(): CharacteristicValue;
|
|
38
|
+
getVOCDensity(): CharacteristicValue;
|
|
39
|
+
getAirQuality(): CharacteristicValue;
|
|
40
|
+
getGermShield(): CharacteristicValue;
|
|
41
|
+
setGermShield(value: CharacteristicValue): Promise<void>;
|
|
42
|
+
getNightMode(): CharacteristicValue;
|
|
43
|
+
setNightMode(value: CharacteristicValue): Promise<void>;
|
|
25
44
|
}
|
|
26
45
|
//# sourceMappingURL=AirPurifierAccessory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AirPurifierAccessory.d.ts","sourceRoot":"","sources":["../../src/accessory/AirPurifierAccessory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAW,MAAM,YAAY,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"AirPurifierAccessory.d.ts","sourceRoot":"","sources":["../../src/accessory/AirPurifierAccessory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAW,MAAM,YAAY,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,qBAAa,oBAAoB;IAU7B,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,eAAe;IAC5C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,iBAAiB;IAC/C,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,aAAa;IACxC,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY;IAZ5C,OAAO,CAAC,OAAO,CAAU;IACzB,OAAO,CAAC,wBAAwB,CAAC,CAAU;IAC3C,OAAO,CAAC,UAAU,CAAC,CAAU;IAC7B,OAAO,CAAC,iBAAiB,CAAC,CAAU;IACpC,OAAO,CAAC,kBAAkB,CAAC,CAAU;IACrC,OAAO,CAAC,iBAAiB,CAAC,CAAU;IACpC,OAAO,CAAC,gBAAgB,CAAC,CAAU;gBAGd,QAAQ,EAAE,eAAe,EACzB,SAAS,EAAE,iBAAiB,EAC5B,MAAM,EAAE,aAAa,EACrB,SAAS,EAAE,YAAY;IA+G5C,qBAAqB,CAAC,aAAa,EAAE,OAAO,CAAC,sBAAsB,CAAC;IAiEpE,SAAS,IAAI,mBAAmB;IAI1B,SAAS,CAAC,KAAK,EAAE,mBAAmB;IAK1C,0BAA0B,IAAI,mBAAmB;IAUjD,yBAAyB,IAAI,mBAAmB;IAM1C,yBAAyB,CAAC,KAAK,EAAE,mBAAmB;IAK1D,uBAAuB,IAAI,mBAAmB;IAMxC,uBAAuB,CAAC,KAAK,EAAE,mBAAmB;IAKxD,gBAAgB,IAAI,mBAAmB;IAIjC,gBAAgB,CAAC,KAAK,EAAE,mBAAmB;IAKjD,yBAAyB,IAAI,mBAAmB;IAMhD,kBAAkB,IAAI,mBAAmB;IAIzC,qBAAqB,IAAI,mBAAmB;IAI5C,QAAQ,IAAI,mBAAmB;IAIzB,QAAQ,CAAC,KAAK,EAAE,mBAAmB;IAKzC,gBAAgB,IAAI,mBAAmB;IAIjC,gBAAgB,CAAC,KAAK,EAAE,mBAAmB;IAKjD,eAAe,IAAI,mBAAmB;IAItC,cAAc,IAAI,mBAAmB;IAIrC,aAAa,IAAI,mBAAmB;IAIpC,aAAa,IAAI,mBAAmB;IAkBpC,aAAa,IAAI,mBAAmB;IAI9B,aAAa,CAAC,KAAK,EAAE,mBAAmB;IAK9C,YAAY,IAAI,mBAAmB;IAI7B,YAAY,CAAC,KAAK,EAAE,mBAAmB;CAI9C"}
|