@switchbot/homebridge-switchbot 3.7.1-beta.2 → 3.7.1-beta.21

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 (199) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +14 -0
  3. package/assets/security-privacy-bluetooth.png +0 -0
  4. package/config.schema.json +74 -2
  5. package/dist/device/blindtilt.d.ts +21 -9
  6. package/dist/device/blindtilt.d.ts.map +1 -1
  7. package/dist/device/blindtilt.js +167 -96
  8. package/dist/device/blindtilt.js.map +1 -1
  9. package/dist/device/bot-old.d.ts +132 -0
  10. package/dist/device/bot-old.d.ts.map +1 -0
  11. package/dist/device/bot-old.js +1482 -0
  12. package/dist/device/bot-old.js.map +1 -0
  13. package/dist/device/bot.d.ts +10 -9
  14. package/dist/device/bot.d.ts.map +1 -1
  15. package/dist/device/bot.js +186 -187
  16. package/dist/device/bot.js.map +1 -1
  17. package/dist/device/ceilinglight.d.ts +14 -13
  18. package/dist/device/ceilinglight.d.ts.map +1 -1
  19. package/dist/device/ceilinglight.js +87 -97
  20. package/dist/device/ceilinglight.js.map +1 -1
  21. package/dist/device/colorbulb.d.ts +13 -12
  22. package/dist/device/colorbulb.d.ts.map +1 -1
  23. package/dist/device/colorbulb.js +92 -105
  24. package/dist/device/colorbulb.js.map +1 -1
  25. package/dist/device/contact.d.ts +6 -5
  26. package/dist/device/contact.d.ts.map +1 -1
  27. package/dist/device/contact.js +71 -68
  28. package/dist/device/contact.js.map +1 -1
  29. package/dist/device/curtain.d.ts +17 -5
  30. package/dist/device/curtain.d.ts.map +1 -1
  31. package/dist/device/curtain.js +184 -118
  32. package/dist/device/curtain.js.map +1 -1
  33. package/dist/device/device.d.ts +18 -18
  34. package/dist/device/device.d.ts.map +1 -1
  35. package/dist/device/device.js +33 -36
  36. package/dist/device/device.js.map +1 -1
  37. package/dist/device/fan.d.ts +9 -8
  38. package/dist/device/fan.d.ts.map +1 -1
  39. package/dist/device/fan.js +94 -101
  40. package/dist/device/fan.js.map +1 -1
  41. package/dist/device/hub.d.ts +6 -5
  42. package/dist/device/hub.d.ts.map +1 -1
  43. package/dist/device/hub.js +69 -65
  44. package/dist/device/hub.js.map +1 -1
  45. package/dist/device/humidifier.d.ts +6 -5
  46. package/dist/device/humidifier.d.ts.map +1 -1
  47. package/dist/device/humidifier.js +89 -104
  48. package/dist/device/humidifier.js.map +1 -1
  49. package/dist/device/iosensor.d.ts +6 -5
  50. package/dist/device/iosensor.d.ts.map +1 -1
  51. package/dist/device/iosensor.js +72 -66
  52. package/dist/device/iosensor.js.map +1 -1
  53. package/dist/device/lightstrip.d.ts +7 -6
  54. package/dist/device/lightstrip.d.ts.map +1 -1
  55. package/dist/device/lightstrip.js +85 -99
  56. package/dist/device/lightstrip.js.map +1 -1
  57. package/dist/device/lock.d.ts +10 -9
  58. package/dist/device/lock.d.ts.map +1 -1
  59. package/dist/device/lock.js +89 -79
  60. package/dist/device/lock.js.map +1 -1
  61. package/dist/device/meter.d.ts +6 -5
  62. package/dist/device/meter.d.ts.map +1 -1
  63. package/dist/device/meter.js +72 -65
  64. package/dist/device/meter.js.map +1 -1
  65. package/dist/device/meterplus.d.ts +6 -5
  66. package/dist/device/meterplus.d.ts.map +1 -1
  67. package/dist/device/meterplus.js +72 -64
  68. package/dist/device/meterplus.js.map +1 -1
  69. package/dist/device/motion.d.ts +6 -5
  70. package/dist/device/motion.d.ts.map +1 -1
  71. package/dist/device/motion.js +65 -58
  72. package/dist/device/motion.js.map +1 -1
  73. package/dist/device/plug.d.ts +13 -12
  74. package/dist/device/plug.d.ts.map +1 -1
  75. package/dist/device/plug.js +68 -52
  76. package/dist/device/plug.js.map +1 -1
  77. package/dist/device/robotvacuumcleaner.d.ts +12 -11
  78. package/dist/device/robotvacuumcleaner.d.ts.map +1 -1
  79. package/dist/device/robotvacuumcleaner.js +93 -82
  80. package/dist/device/robotvacuumcleaner.js.map +1 -1
  81. package/dist/device/waterdetector.d.ts +6 -5
  82. package/dist/device/waterdetector.d.ts.map +1 -1
  83. package/dist/device/waterdetector.js +73 -63
  84. package/dist/device/waterdetector.js.map +1 -1
  85. package/dist/homebridge-ui/server.js +2 -2
  86. package/dist/homebridge-ui/server.js.map +1 -1
  87. package/dist/index.d.ts.map +1 -1
  88. package/dist/index.js +0 -4
  89. package/dist/index.js.map +1 -1
  90. package/dist/irdevice/airconditioner.d.ts +8 -8
  91. package/dist/irdevice/airconditioner.d.ts.map +1 -1
  92. package/dist/irdevice/airconditioner.js +61 -105
  93. package/dist/irdevice/airconditioner.js.map +1 -1
  94. package/dist/irdevice/airpurifier.d.ts +10 -10
  95. package/dist/irdevice/airpurifier.d.ts.map +1 -1
  96. package/dist/irdevice/airpurifier.js +22 -42
  97. package/dist/irdevice/airpurifier.js.map +1 -1
  98. package/dist/irdevice/camera.d.ts +9 -9
  99. package/dist/irdevice/camera.d.ts.map +1 -1
  100. package/dist/irdevice/camera.js +15 -25
  101. package/dist/irdevice/camera.js.map +1 -1
  102. package/dist/irdevice/fan.d.ts +8 -8
  103. package/dist/irdevice/fan.d.ts.map +1 -1
  104. package/dist/irdevice/fan.js +21 -40
  105. package/dist/irdevice/fan.js.map +1 -1
  106. package/dist/irdevice/irdevice.d.ts +11 -11
  107. package/dist/irdevice/irdevice.d.ts.map +1 -1
  108. package/dist/irdevice/irdevice.js +14 -22
  109. package/dist/irdevice/irdevice.js.map +1 -1
  110. package/dist/irdevice/light.d.ts +9 -9
  111. package/dist/irdevice/light.d.ts.map +1 -1
  112. package/dist/irdevice/light.js +24 -47
  113. package/dist/irdevice/light.js.map +1 -1
  114. package/dist/irdevice/other.d.ts +9 -9
  115. package/dist/irdevice/other.d.ts.map +1 -1
  116. package/dist/irdevice/other.js +40 -83
  117. package/dist/irdevice/other.js.map +1 -1
  118. package/dist/irdevice/tv.d.ts +9 -9
  119. package/dist/irdevice/tv.d.ts.map +1 -1
  120. package/dist/irdevice/tv.js +29 -54
  121. package/dist/irdevice/tv.js.map +1 -1
  122. package/dist/irdevice/vacuumcleaner.d.ts +5 -5
  123. package/dist/irdevice/vacuumcleaner.d.ts.map +1 -1
  124. package/dist/irdevice/vacuumcleaner.js +11 -21
  125. package/dist/irdevice/vacuumcleaner.js.map +1 -1
  126. package/dist/irdevice/waterheater.d.ts +5 -5
  127. package/dist/irdevice/waterheater.d.ts.map +1 -1
  128. package/dist/irdevice/waterheater.js +11 -22
  129. package/dist/irdevice/waterheater.js.map +1 -1
  130. package/dist/platform.d.ts +24 -23
  131. package/dist/platform.d.ts.map +1 -1
  132. package/dist/platform.js +509 -723
  133. package/dist/platform.js.map +1 -1
  134. package/dist/settings.d.ts +5 -2
  135. package/dist/settings.d.ts.map +1 -1
  136. package/dist/settings.js.map +1 -1
  137. package/dist/types/bledevicestatus.d.ts +9 -9
  138. package/dist/types/bledevicestatus.d.ts.map +1 -1
  139. package/dist/types/devicelist.d.ts +6 -6
  140. package/dist/types/devicelist.d.ts.map +1 -1
  141. package/dist/types/deviceresponse.d.ts +4 -4
  142. package/dist/types/deviceresponse.d.ts.map +1 -1
  143. package/dist/types/devicestatus.d.ts +2 -2
  144. package/dist/types/devicestatus.d.ts.map +1 -1
  145. package/dist/types/devicewebhookstatus.d.ts +5 -5
  146. package/dist/types/devicewebhookstatus.d.ts.map +1 -1
  147. package/dist/types/irdevicelist.d.ts +4 -4
  148. package/dist/types/irdevicelist.d.ts.map +1 -1
  149. package/dist/types/pushbody.d.ts +2 -2
  150. package/dist/types/pushbody.d.ts.map +1 -1
  151. package/dist/utils.d.ts +4 -4
  152. package/dist/utils.d.ts.map +1 -1
  153. package/dist/utils.js +9 -13
  154. package/dist/utils.js.map +1 -1
  155. package/eslint.config.js +48 -93
  156. package/package.json +64 -57
  157. package/src/device/blindtilt.ts +537 -456
  158. package/src/device/bot-old.ts +1540 -0
  159. package/src/device/bot.ts +732 -725
  160. package/src/device/ceilinglight.ts +359 -368
  161. package/src/device/colorbulb.ts +441 -453
  162. package/src/device/contact.ts +229 -226
  163. package/src/device/curtain.ts +526 -444
  164. package/src/device/device.ts +206 -208
  165. package/src/device/fan.ts +336 -345
  166. package/src/device/hub.ts +213 -214
  167. package/src/device/humidifier.ts +326 -347
  168. package/src/device/iosensor.ts +211 -209
  169. package/src/device/lightstrip.ts +391 -404
  170. package/src/device/lock.ts +292 -282
  171. package/src/device/meter.ts +212 -210
  172. package/src/device/meterplus.ts +212 -209
  173. package/src/device/motion.ts +198 -190
  174. package/src/device/plug.ts +203 -182
  175. package/src/device/robotvacuumcleaner.ts +280 -269
  176. package/src/device/waterdetector.ts +198 -189
  177. package/src/homebridge-ui/server.ts +16 -15
  178. package/src/index.ts +5 -6
  179. package/src/irdevice/airconditioner.ts +277 -326
  180. package/src/irdevice/airpurifier.ts +124 -143
  181. package/src/irdevice/camera.ts +58 -64
  182. package/src/irdevice/fan.ts +106 -123
  183. package/src/irdevice/irdevice.ts +116 -119
  184. package/src/irdevice/light.ts +119 -143
  185. package/src/irdevice/other.ts +417 -461
  186. package/src/irdevice/tv.ts +155 -177
  187. package/src/irdevice/vacuumcleaner.ts +54 -60
  188. package/src/irdevice/waterheater.ts +56 -63
  189. package/src/platform.ts +1491 -1681
  190. package/src/settings.ts +172 -169
  191. package/src/types/bledevicestatus.ts +252 -256
  192. package/src/types/devicelist.ts +79 -79
  193. package/src/types/deviceresponse.ts +12 -13
  194. package/src/types/devicestatus.ts +124 -124
  195. package/src/types/devicewebhookstatus.ts +126 -131
  196. package/src/types/irdevicelist.ts +10 -10
  197. package/src/types/pushbody.ts +5 -5
  198. package/src/utils.ts +64 -65
  199. package/tsconfig.json +10 -9
package/src/settings.ts CHANGED
@@ -2,267 +2,270 @@
2
2
  *
3
3
  * settings.ts: @switchbot/homebridge-switchbot platform class.
4
4
  */
5
- import type { IClientOptions } from 'async-mqtt';
6
- import type { PlatformConfig } from 'homebridge';
7
- import type { device } from './types/devicelist';
8
- import type { irdevice } from './types/irdevicelist';
9
- import type { SwitchBotBLEModel, SwitchBotBLEModelName, SwitchBotBLEModelFriendlyName } from 'node-switchbot';
5
+ import type { IClientOptions } from 'async-mqtt'
6
+ import type { PlatformConfig } from 'homebridge'
7
+ import type { SwitchBotBLEModel, SwitchBotBLEModelFriendlyName, SwitchBotBLEModelName } from 'node-switchbot'
8
+
9
+ import type { device } from './types/devicelist'
10
+ import type { irdevice } from './types/irdevicelist'
10
11
  /**
11
12
  * This is the name of the platform that users will use to register the plugin in the Homebridge config.json
12
13
  */
13
- export const PLATFORM_NAME = 'SwitchBot';
14
+ export const PLATFORM_NAME = 'SwitchBot'
14
15
 
15
16
  /**
16
17
  * This must match the name of your plugin as defined the package.json
17
18
  */
18
- export const PLUGIN_NAME = '@switchbot/homebridge-switchbot';
19
+ export const PLUGIN_NAME = '@switchbot/homebridge-switchbot'
19
20
 
20
21
  /**
21
22
  * This is the main url used to access SwitchBot API
22
23
  */
23
- export const Devices = 'https://api.switch-bot.com/v1.1/devices';
24
+ export const Devices = 'https://api.switch-bot.com/v1.1/devices'
24
25
 
25
26
  /**
26
27
  * This is the updateWebhook url used to access SwitchBot API
27
28
  */
28
- export const setupWebhook = 'https://api.switch-bot.com/v1.1/webhook/setupWebhook';
29
+ export const setupWebhook = 'https://api.switch-bot.com/v1.1/webhook/setupWebhook'
29
30
 
30
31
  /**
31
32
  * This is the updateWebhook url used to access SwitchBot API
32
33
  */
33
- export const queryWebhook = 'https://api.switch-bot.com/v1.1/webhook/queryWebhook';
34
+ export const queryWebhook = 'https://api.switch-bot.com/v1.1/webhook/queryWebhook'
34
35
 
35
36
  /**
36
37
  * This is the updateWebhook url used to access SwitchBot API
37
38
  */
38
- export const updateWebhook = 'https://api.switch-bot.com/v1.1/webhook/updateWebhook';
39
+ export const updateWebhook = 'https://api.switch-bot.com/v1.1/webhook/updateWebhook'
39
40
 
40
41
  /**
41
42
  * This is the deleteWebhook url used to access SwitchBot API
42
43
  */
43
- export const deleteWebhook = 'https://api.switch-bot.com/v1.1/webhook/deleteWebhook';
44
-
44
+ export const deleteWebhook = 'https://api.switch-bot.com/v1.1/webhook/deleteWebhook'
45
45
 
46
- //Config
46
+ // Config
47
47
  export interface SwitchBotPlatformConfig extends PlatformConfig {
48
- credentials?: credentials;
49
- options?: options;
48
+ credentials?: credentials
49
+ options?: options
50
50
  }
51
51
  interface credentials {
52
- token?: any;
53
- secret?: any;
54
- notice?: any;
55
- openToken?: any;
52
+ token?: any
53
+ secret?: any
54
+ notice?: any
55
+ openToken?: any
56
56
  }
57
57
 
58
- interface options {
59
- devices?: devicesConfig[];
60
- irdevices?: irDevicesConfig[];
61
- mqttURL?: string;
62
- mqttOptions?: IClientOptions;
63
- mqttPubOptions?: IClientOptions;
64
- BLE?: boolean;
65
- webhookURL?: string;
66
- maxRetries?: number;
67
- delayBetweenRetries?: number;
68
- refreshRate?: number;
69
- updateRate?: number;
70
- pushRate?: number;
71
- logging?: string;
58
+ export interface options {
59
+ devices?: devicesConfig[]
60
+ irdevices?: irDevicesConfig[]
61
+ allowInvalidCharacters?: boolean
62
+ mqttURL?: string
63
+ mqttOptions?: IClientOptions
64
+ mqttPubOptions?: IClientOptions
65
+ BLE?: boolean
66
+ webhookURL?: string
67
+ maxRetries?: number
68
+ delayBetweenRetries?: number
69
+ refreshRate?: number
70
+ updateRate?: number
71
+ pushRate?: number
72
+ logging?: string
72
73
  };
73
74
 
74
75
  export interface devicesConfig extends device {
75
- bleMac?: string;
76
- model: string;
77
- bleModel: SwitchBotBLEModel;
78
- bleModelName: SwitchBotBLEModelName;
79
- bleModelFriednlyName: SwitchBotBLEModelFriendlyName;
80
- configDeviceType: string;
81
- configDeviceName?: string;
82
- deviceId: string;
83
- external?: boolean;
84
- refreshRate?: number;
85
- updateRate?: number;
86
- pushRate?: number;
87
- firmware?: string;
88
- logging?: string;
89
- connectionType?: string;
90
- customBLEaddress?: string;
91
- scanDuration?: number;
92
- hide_device?: boolean;
93
- offline?: boolean;
94
- maxRetry?: number;
95
- maxRetries?: number;
96
- delayBetweenRetries?: number;
97
- disableCaching?: boolean;
98
- mqttURL?: string;
99
- mqttOptions?: IClientOptions;
100
- mqttPubOptions?: IClientOptions;
101
- history?: boolean;
102
- webhook?: boolean;
103
- bot?: bot;
104
- meter?: meter;
105
- iosensor?: iosensor;
106
- humidifier?: humidifier;
107
- curtain?: curtain;
108
- blindTilt?: blindTilt;
109
- contact?: contact;
110
- motion?: motion;
111
- waterdetector?: waterdetector;
112
- colorbulb?: colorbulb;
113
- striplight?: striplight;
114
- ceilinglight?: ceilinglight;
115
- plug?: plug;
116
- lock?: lock;
117
- hub?: hub;
76
+ bleMac?: string
77
+ model: string
78
+ bleModel: SwitchBotBLEModel
79
+ bleModelName: SwitchBotBLEModelName
80
+ bleModelFriednlyName: SwitchBotBLEModelFriendlyName
81
+ configDeviceType: string
82
+ configDeviceName?: string
83
+ deviceId: string
84
+ external?: boolean
85
+ refreshRate?: number
86
+ updateRate?: number
87
+ pushRate?: number
88
+ firmware?: string
89
+ logging?: string
90
+ connectionType?: string
91
+ customBLEaddress?: string
92
+ scanDuration?: number
93
+ hide_device?: boolean
94
+ offline?: boolean
95
+ maxRetry?: number
96
+ maxRetries?: number
97
+ delayBetweenRetries?: number
98
+ disableCaching?: boolean
99
+ mqttURL?: string
100
+ mqttOptions?: IClientOptions
101
+ mqttPubOptions?: IClientOptions
102
+ history?: boolean
103
+ webhook?: boolean
104
+ bot?: bot
105
+ meter?: meter
106
+ iosensor?: iosensor
107
+ humidifier?: humidifier
108
+ curtain?: curtain
109
+ blindTilt?: blindTilt
110
+ contact?: contact
111
+ motion?: motion
112
+ waterdetector?: waterdetector
113
+ colorbulb?: colorbulb
114
+ striplight?: striplight
115
+ ceilinglight?: ceilinglight
116
+ plug?: plug
117
+ lock?: lock
118
+ hub?: hub
118
119
  }
119
120
 
120
121
  interface meter {
121
- hide_temperature?: boolean;
122
- convertUnitTo?: string;
123
- hide_humidity?: boolean;
122
+ hide_temperature?: boolean
123
+ convertUnitTo?: string
124
+ hide_humidity?: boolean
124
125
  };
125
126
 
126
127
  interface iosensor {
127
- hide_temperature?: boolean;
128
- convertUnitTo?: string;
129
- hide_humidity?: boolean;
128
+ hide_temperature?: boolean
129
+ convertUnitTo?: string
130
+ hide_humidity?: boolean
130
131
  };
131
132
 
132
133
  interface bot {
133
- mode?: string;
134
- deviceType?: string;
135
- doublePress?: number;
136
- pushRatePress?: number;
137
- allowPush?: boolean;
138
- multiPress?: boolean;
134
+ mode?: string
135
+ deviceType?: string
136
+ doublePress?: number
137
+ pushRatePress?: number
138
+ allowPush?: boolean
139
+ multiPress?: boolean
139
140
  };
140
141
 
141
142
  interface humidifier {
142
- hide_temperature?: boolean;
143
- set_minStep?: number;
143
+ hide_temperature?: boolean
144
+ set_minStep?: number
144
145
  };
145
146
 
146
147
  interface curtain {
147
- disable_group?: boolean;
148
- hide_lightsensor?: boolean;
149
- set_minLux?: number;
150
- set_maxLux?: number;
151
- set_max?: number;
152
- set_min?: number;
153
- set_minStep?: number;
154
- setCloseMode?: string;
155
- setOpenMode?: string;
148
+ disable_group?: boolean
149
+ hide_lightsensor?: boolean
150
+ set_minLux?: number
151
+ set_maxLux?: number
152
+ set_max?: number
153
+ set_min?: number
154
+ set_minStep?: number
155
+ setCloseMode?: string
156
+ setOpenMode?: string
157
+ silentModeSwitch?: boolean
156
158
  };
157
159
 
158
160
  interface blindTilt {
159
- mode?: string;
160
- hide_lightsensor?: boolean;
161
- set_minLux?: number;
162
- set_maxLux?: number;
163
- set_max?: number;
164
- set_min?: number;
165
- set_minStep?: number;
166
- setCloseMode?: string;
167
- setOpenMode?: string;
161
+ mode?: string
162
+ hide_lightsensor?: boolean
163
+ set_minLux?: number
164
+ set_maxLux?: number
165
+ set_max?: number
166
+ set_min?: number
167
+ set_minStep?: number
168
+ setCloseMode?: string
169
+ setOpenMode?: string
170
+ silentModeSwitch?: boolean
168
171
  };
169
172
 
170
173
  interface contact {
171
- hide_lightsensor?: boolean;
172
- set_minLux?: number;
173
- set_maxLux?: number;
174
- hide_motionsensor?: boolean;
174
+ hide_lightsensor?: boolean
175
+ set_minLux?: number
176
+ set_maxLux?: number
177
+ hide_motionsensor?: boolean
175
178
  };
176
179
 
177
180
  interface motion {
178
- hide_lightsensor?: boolean;
179
- set_minLux?: number;
180
- set_maxLux?: number;
181
+ hide_lightsensor?: boolean
182
+ set_minLux?: number
183
+ set_maxLux?: number
181
184
  };
182
185
 
183
186
  interface waterdetector {
184
- hide_leak?: boolean;
187
+ hide_leak?: boolean
185
188
  };
186
189
 
187
190
  interface colorbulb {
188
- set_minStep?: number;
189
- adaptiveLightingShift?: number;
191
+ set_minStep?: number
192
+ adaptiveLightingShift?: number
190
193
  };
191
194
 
192
195
  interface striplight {
193
- set_minStep?: number;
194
- adaptiveLightingShift?: number;
196
+ set_minStep?: number
197
+ adaptiveLightingShift?: number
195
198
  };
196
199
 
197
200
  interface ceilinglight {
198
- set_minStep?: number;
199
- adaptiveLightingShift?: number;
201
+ set_minStep?: number
202
+ adaptiveLightingShift?: number
200
203
  };
201
204
 
202
- type plug = object;
205
+ type plug = object
203
206
 
204
207
  interface lock {
205
- hide_contactsensor?: boolean;
206
- activate_latchbutton?: boolean;
208
+ hide_contactsensor?: boolean
209
+ activate_latchbutton?: boolean
207
210
  };
208
211
 
209
212
  interface hub {
210
- hide_temperature?: boolean;
211
- convertUnitTo?: string;
212
- hide_humidity?: boolean;
213
- hide_lightsensor?: boolean;
213
+ hide_temperature?: boolean
214
+ convertUnitTo?: string
215
+ hide_humidity?: boolean
216
+ hide_lightsensor?: boolean
214
217
  };
215
218
 
216
219
  export interface irDevicesConfig extends irdevice {
217
- configDeviceName?: string;
218
- configRemoteType?: string;
219
- connectionType?: string;
220
- hide_device?: boolean;
221
- external?: boolean;
222
- firmware?: string;
223
- deviceId: string;
224
- logging?: string;
225
- customOn?: string;
226
- customOff?: string;
227
- customize?: boolean;
228
- commandType?: string;
229
- disablePushOn?: boolean;
230
- disablePushOff?: boolean;
231
- disablePushDetail?: boolean;
232
- irfan?: irfan;
233
- irair?: irair;
234
- irpur?: Record<any, any>;
235
- ircam?: Record<any, any>;
236
- irlight?: irlight;
237
- irvc?: Record<any, any>;
238
- irwh?: Record<any, any>;
239
- irtv?: Record<any, any>;
240
- other?: other;
220
+ configDeviceName?: string
221
+ configRemoteType?: string
222
+ connectionType?: string
223
+ hide_device?: boolean
224
+ external?: boolean
225
+ firmware?: string
226
+ deviceId: string
227
+ logging?: string
228
+ customOn?: string
229
+ customOff?: string
230
+ customize?: boolean
231
+ commandType?: string
232
+ disablePushOn?: boolean
233
+ disablePushOff?: boolean
234
+ disablePushDetail?: boolean
235
+ irfan?: irfan
236
+ irair?: irair
237
+ irpur?: Record<any, any>
238
+ ircam?: Record<any, any>
239
+ irlight?: irlight
240
+ irvc?: Record<any, any>
241
+ irwh?: Record<any, any>
242
+ irtv?: Record<any, any>
243
+ other?: other
241
244
  }
242
245
 
243
246
  interface irfan {
244
- swing_mode?: boolean;
245
- rotation_speed?: boolean;
246
- set_minStep?: number;
247
- set_max?: number;
248
- set_min?: number;
247
+ swing_mode?: boolean
248
+ rotation_speed?: boolean
249
+ set_minStep?: number
250
+ set_max?: number
251
+ set_min?: number
249
252
  };
250
253
 
251
254
  interface irlight {
252
- stateless?: boolean;
255
+ stateless?: boolean
253
256
  };
254
257
 
255
258
  interface irair {
256
- hide_automode?: boolean;
257
- set_max_heat?: number;
258
- set_min_heat?: number;
259
- set_max_cool?: number;
260
- set_min_cool?: number;
261
- meterType?: string;
262
- meterId?: string;
263
- meterUuid?: string;
259
+ hide_automode?: boolean
260
+ set_max_heat?: number
261
+ set_min_heat?: number
262
+ set_max_cool?: number
263
+ set_min_cool?: number
264
+ meterType?: string
265
+ meterId?: string
266
+ meterUuid?: string
264
267
  };
265
268
 
266
269
  interface other {
267
- deviceType?: string;
270
+ deviceType?: string
268
271
  };