node-switchbot 3.6.0-beta.1 → 3.6.0-beta.2

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 (329) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/device.d.ts +158 -53
  3. package/dist/device.d.ts.map +1 -1
  4. package/dist/device.js +319 -100
  5. package/dist/device.js.map +1 -1
  6. package/dist/device.test.d.ts +2 -0
  7. package/dist/device.test.d.ts.map +1 -0
  8. package/dist/device.test.js +152 -0
  9. package/dist/device.test.js.map +1 -0
  10. package/dist/index.d.ts +4 -7
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +6 -7
  13. package/dist/index.js.map +1 -1
  14. package/dist/parameter-checker.d.ts +1 -0
  15. package/dist/parameter-checker.d.ts.map +1 -1
  16. package/dist/parameter-checker.js +19 -11
  17. package/dist/parameter-checker.js.map +1 -1
  18. package/dist/parameter-checker.test.d.ts +2 -0
  19. package/dist/parameter-checker.test.d.ts.map +1 -0
  20. package/dist/parameter-checker.test.js +56 -0
  21. package/dist/parameter-checker.test.js.map +1 -0
  22. package/dist/settings.d.ts.map +1 -1
  23. package/dist/settings.js +21 -16
  24. package/dist/settings.js.map +1 -1
  25. package/dist/settings.test.js +13 -1
  26. package/dist/settings.test.js.map +1 -1
  27. package/dist/switchbot-ble.d.ts +7 -4
  28. package/dist/switchbot-ble.d.ts.map +1 -1
  29. package/dist/switchbot-ble.js +77 -37
  30. package/dist/switchbot-ble.js.map +1 -1
  31. package/dist/switchbot-ble.test.d.ts +2 -0
  32. package/dist/switchbot-ble.test.d.ts.map +1 -0
  33. package/dist/switchbot-ble.test.js +32 -0
  34. package/dist/switchbot-ble.test.js.map +1 -0
  35. package/dist/switchbot-openapi.d.ts +4 -7
  36. package/dist/switchbot-openapi.d.ts.map +1 -1
  37. package/dist/switchbot-openapi.js +19 -10
  38. package/dist/switchbot-openapi.js.map +1 -1
  39. package/dist/switchbot-openapi.test.d.ts +2 -0
  40. package/dist/switchbot-openapi.test.d.ts.map +1 -0
  41. package/dist/switchbot-openapi.test.js +36 -0
  42. package/dist/switchbot-openapi.test.js.map +1 -0
  43. package/dist/types/ble-guards.d.ts +12 -0
  44. package/dist/types/ble-guards.d.ts.map +1 -0
  45. package/dist/types/ble-guards.js +10 -0
  46. package/dist/types/ble-guards.js.map +1 -0
  47. package/dist/types/ble-guards.test.d.ts +2 -0
  48. package/dist/types/ble-guards.test.d.ts.map +1 -0
  49. package/dist/types/ble-guards.test.js +62 -0
  50. package/dist/types/ble-guards.test.js.map +1 -0
  51. package/dist/types/{bledevicestatus.d.ts → ble.d.ts} +97 -116
  52. package/dist/types/ble.d.ts.map +1 -0
  53. package/dist/types/ble.js +2 -0
  54. package/dist/types/ble.js.map +1 -0
  55. package/dist/types/openapi.d.ts +560 -0
  56. package/dist/types/openapi.d.ts.map +1 -0
  57. package/dist/types/openapi.js +3 -0
  58. package/dist/types/openapi.js.map +1 -0
  59. package/docs/assets/hierarchy.js +1 -1
  60. package/docs/assets/navigation.js +1 -1
  61. package/docs/assets/search.js +1 -1
  62. package/docs/classes/Advertising.html +4 -4
  63. package/docs/classes/ErrorUtils.html +25 -0
  64. package/docs/classes/ParameterChecker.html +69 -0
  65. package/docs/classes/SwitchBotBLE.html +8 -10
  66. package/docs/classes/SwitchBotOpenAPI.html +9 -9
  67. package/docs/classes/SwitchbotDevice.html +12 -12
  68. package/docs/classes/ValidationUtils.html +51 -0
  69. package/docs/classes/WoBlindTilt.html +22 -22
  70. package/docs/classes/WoBulb.html +20 -20
  71. package/docs/classes/WoCeilingLight.html +24 -24
  72. package/docs/classes/WoContact.html +14 -14
  73. package/docs/classes/WoCurtain.html +19 -19
  74. package/docs/classes/WoHand.html +19 -19
  75. package/docs/classes/WoHub2.html +14 -14
  76. package/docs/classes/WoHumi.html +21 -21
  77. package/docs/classes/WoHumi2.html +21 -21
  78. package/docs/classes/WoIOSensorTH.html +14 -14
  79. package/docs/classes/WoKeypad.html +14 -14
  80. package/docs/classes/WoLeak.html +14 -14
  81. package/docs/classes/WoPlugMiniJP.html +19 -19
  82. package/docs/classes/WoPlugMiniUS.html +19 -19
  83. package/docs/classes/WoPresence.html +14 -14
  84. package/docs/classes/WoRelaySwitch1.html +16 -16
  85. package/docs/classes/WoRelaySwitch1PM.html +16 -16
  86. package/docs/classes/WoRemote.html +14 -14
  87. package/docs/classes/WoSensorTH.html +12 -12
  88. package/docs/classes/WoSensorTHPlus.html +12 -12
  89. package/docs/classes/WoSensorTHPro.html +12 -12
  90. package/docs/classes/WoSensorTHProCO2.html +12 -12
  91. package/docs/classes/WoSmartLock.html +24 -24
  92. package/docs/classes/WoSmartLockPro.html +24 -24
  93. package/docs/classes/WoStrip.html +21 -21
  94. package/docs/enums/LogLevel.html +2 -2
  95. package/docs/enums/SwitchBotBLEModel.html +2 -2
  96. package/docs/enums/SwitchBotBLEModelFriendlyName.html +2 -2
  97. package/docs/enums/SwitchBotBLEModelName.html +2 -2
  98. package/docs/enums/SwitchBotModel.html +2 -2
  99. package/docs/functions/updateBaseURL.html +3 -0
  100. package/docs/hierarchy.html +1 -1
  101. package/docs/interfaces/AdvertisementData.html +2 -2
  102. package/docs/interfaces/Chars.html +2 -2
  103. package/docs/interfaces/ColorLightServiceDataBase.html +17 -0
  104. package/docs/interfaces/Device.html +7 -0
  105. package/docs/interfaces/DeviceList.html +2 -0
  106. package/docs/interfaces/ErrorObject.html +2 -2
  107. package/docs/interfaces/LockBaseServiceData.html +15 -0
  108. package/docs/interfaces/NobleTypes.html +2 -2
  109. package/docs/interfaces/Params.html +2 -2
  110. package/docs/interfaces/PlugMiniServiceDataBase.html +12 -0
  111. package/docs/interfaces/PushRequest.html +5 -0
  112. package/docs/interfaces/{pushResponse.html → PushResponse.html} +3 -2
  113. package/docs/interfaces/PushResponseBody.html +3 -0
  114. package/docs/interfaces/Rule.html +2 -2
  115. package/docs/interfaces/ServiceData.html +2 -2
  116. package/docs/interfaces/SwitchBotBLEDevice.html +2 -2
  117. package/docs/interfaces/SwitchBotScanner.html +6 -0
  118. package/docs/interfaces/TemperatureServiceDataBase.html +10 -0
  119. package/docs/interfaces/WebhookDetail.html +2 -2
  120. package/docs/interfaces/ad.html +2 -2
  121. package/docs/interfaces/body.html +2 -2
  122. package/docs/interfaces/deleteWebhookResponse.html +2 -2
  123. package/docs/interfaces/deviceStatus.html +2 -2
  124. package/docs/interfaces/deviceStatusRequest.html +2 -2
  125. package/docs/interfaces/deviceWebhook.html +2 -2
  126. package/docs/interfaces/deviceWebhookContext.html +2 -2
  127. package/docs/interfaces/devices.html +2 -2
  128. package/docs/interfaces/infraredRemoteList.html +2 -2
  129. package/docs/interfaces/irdevice.html +2 -2
  130. package/docs/interfaces/queryWebhookResponse.html +2 -2
  131. package/docs/interfaces/setupWebhookResponse.html +2 -2
  132. package/docs/interfaces/updateWebhookResponse.html +2 -2
  133. package/docs/interfaces/webhookRequest.html +2 -2
  134. package/docs/modules.html +1 -1
  135. package/docs/types/BLEDeviceServiceData.html +1 -0
  136. package/docs/types/BatteryCirculatorFan.html +1 -0
  137. package/docs/types/BatteryCirculatorFanServiceData.html +1 -0
  138. package/docs/types/{batteryCirculatorFanStatus.html → BatteryCirculatorFanStatus.html} +1 -1
  139. package/docs/types/{blindTilt.html → BlindTilt.html} +1 -1
  140. package/docs/types/BlindTiltServiceData.html +1 -0
  141. package/docs/types/{blindTiltStatus.html → BlindTiltStatus.html} +1 -1
  142. package/docs/types/{bot.html → Bot.html} +1 -1
  143. package/docs/types/BotServiceData.html +1 -0
  144. package/docs/types/{ceilingLight.html → CeilingLight.html} +1 -1
  145. package/docs/types/{ceilingLightPro.html → CeilingLightPro.html} +1 -1
  146. package/docs/types/CeilingLightProServiceData.html +1 -0
  147. package/docs/types/CeilingLightServiceData.html +1 -0
  148. package/docs/types/{circulatorFanStatus.html → CirculatorFanStatus.html} +1 -1
  149. package/docs/types/{colorBulb.html → ColorBulb.html} +1 -1
  150. package/docs/types/ColorBulbServiceData.html +1 -0
  151. package/docs/types/CommandType.html +2 -0
  152. package/docs/types/{contactSensor.html → ContactSensor.html} +1 -1
  153. package/docs/types/ContactSensorServiceData.html +1 -0
  154. package/docs/types/{curtain.html → Curtain.html} +1 -1
  155. package/docs/types/{curtain3.html → Curtain3.html} +1 -1
  156. package/docs/types/Curtain3ServiceData.html +1 -0
  157. package/docs/types/CurtainServiceData.html +1 -0
  158. package/docs/types/{floorCleaningRobotS10.html → FloorCleaningRobotS10.html} +1 -1
  159. package/docs/types/{hub2.html → Hub2.html} +1 -1
  160. package/docs/types/Hub2ServiceData.html +1 -0
  161. package/docs/types/{hub2Status.html → Hub2Status.html} +1 -1
  162. package/docs/types/{stripLight.html → Humidifier.html} +1 -1
  163. package/docs/types/Humidifier2ServiceData.html +1 -0
  164. package/docs/types/{humidifier2Status.html → Humidifier2Status.html} +1 -1
  165. package/docs/types/HumidifierServiceData.html +1 -0
  166. package/docs/types/{humidifierStatus.html → HumidifierStatus.html} +1 -1
  167. package/docs/types/{indoorCam.html → IndoorCam.html} +1 -1
  168. package/docs/types/{keypad.html → Keypad.html} +1 -1
  169. package/docs/types/KeypadDetectorServiceData.html +1 -0
  170. package/docs/types/{keypadTouch.html → KeypadTouch.html} +1 -1
  171. package/docs/types/{lock.html → Lock.html} +1 -1
  172. package/docs/types/{lockPro.html → LockPro.html} +1 -1
  173. package/docs/types/LockProServiceData.html +1 -0
  174. package/docs/types/LockServiceData.html +1 -0
  175. package/docs/types/MacAddress.html +1 -1
  176. package/docs/types/{meter.html → Meter.html} +1 -1
  177. package/docs/types/{meterPlus.html → MeterPlus.html} +1 -1
  178. package/docs/types/MeterPlusServiceData.html +1 -0
  179. package/docs/types/{meterPro.html → MeterPro.html} +1 -1
  180. package/docs/types/MeterProCO2ServiceData.html +1 -0
  181. package/docs/types/MeterProServiceData.html +1 -0
  182. package/docs/types/MeterServiceData.html +1 -0
  183. package/docs/types/{motionSensor.html → MotionSensor.html} +1 -1
  184. package/docs/types/MotionSensorServiceData.html +1 -0
  185. package/docs/types/{outdoorMeter.html → OutdoorMeter.html} +1 -1
  186. package/docs/types/OutdoorMeterServiceData.html +1 -0
  187. package/docs/types/{humidifier.html → PantiltCam.html} +1 -1
  188. package/docs/types/{pantiltCam2k.html → PantiltCam2k.html} +1 -1
  189. package/docs/types/{plug.html → Plug.html} +1 -1
  190. package/docs/types/{plugMini.html → PlugMini.html} +1 -1
  191. package/docs/types/PlugMiniJPServiceData.html +1 -0
  192. package/docs/types/PlugMiniUSServiceData.html +1 -0
  193. package/docs/types/RelaySwitch1PMServiceData.html +1 -0
  194. package/docs/types/RelaySwitch1ServiceData.html +1 -0
  195. package/docs/types/{remote.html → Remote.html} +1 -1
  196. package/docs/types/RemoteServiceData.html +1 -0
  197. package/docs/types/RobotVacuumCleanerS1.html +1 -0
  198. package/docs/types/{robotVacuumCleanerS1Plus.html → RobotVacuumCleanerS1Plus.html} +1 -1
  199. package/docs/types/RobotVacuumCleanerServiceData.html +1 -0
  200. package/docs/types/{pantiltCam.html → StripLight.html} +1 -1
  201. package/docs/types/StripLightServiceData.html +1 -0
  202. package/docs/types/{waterLeakDetector.html → WaterLeakDetector.html} +1 -1
  203. package/docs/types/WaterLeakDetectorServiceData.html +1 -0
  204. package/docs/types/batteryCirculatorFanWebhookContext.html +1 -1
  205. package/docs/types/blindTiltWebhookContext.html +1 -1
  206. package/docs/types/botStatus.html +1 -1
  207. package/docs/types/botWebhookContext.html +1 -1
  208. package/docs/types/ceilingLightProStatus.html +1 -1
  209. package/docs/types/ceilingLightProWebhookContext.html +1 -1
  210. package/docs/types/ceilingLightStatus.html +1 -1
  211. package/docs/types/ceilingLightWebhookContext.html +1 -1
  212. package/docs/types/circulatorFanWebhookContext.html +1 -1
  213. package/docs/types/colorBulbStatus.html +1 -1
  214. package/docs/types/colorBulbWebhookContext.html +1 -1
  215. package/docs/types/contactSensorStatus.html +1 -1
  216. package/docs/types/contactSensorWebhookContext.html +1 -1
  217. package/docs/types/curtain3WebhookContext.html +1 -1
  218. package/docs/types/curtainStatus.html +1 -1
  219. package/docs/types/curtainWebhookContext.html +1 -1
  220. package/docs/types/floorCleaningRobotS10Status.html +1 -1
  221. package/docs/types/floorCleaningRobotS10WebhookContext.html +1 -1
  222. package/docs/types/hub2WebhookContext.html +1 -1
  223. package/docs/types/humidifier2WebhookContext.html +1 -1
  224. package/docs/types/humidifierWebhookContext.html +1 -1
  225. package/docs/types/indoorCameraWebhookContext.html +1 -1
  226. package/docs/types/keypadTouchWebhookContext.html +1 -1
  227. package/docs/types/keypadWebhookContext.html +1 -1
  228. package/docs/types/lockProStatus.html +1 -1
  229. package/docs/types/lockProWebhookContext.html +1 -1
  230. package/docs/types/lockStatus.html +1 -1
  231. package/docs/types/lockWebhookContext.html +1 -1
  232. package/docs/types/meterPlusStatus.html +1 -1
  233. package/docs/types/meterPlusWebhookContext.html +1 -1
  234. package/docs/types/meterProCO2Status.html +1 -1
  235. package/docs/types/meterProCO2WebhookContext.html +1 -1
  236. package/docs/types/meterProStatus.html +1 -1
  237. package/docs/types/meterProWebhookContext.html +1 -1
  238. package/docs/types/meterStatus.html +1 -1
  239. package/docs/types/meterWebhookContext.html +1 -1
  240. package/docs/types/motionSensorStatus.html +1 -1
  241. package/docs/types/motionSensorWebhookContext.html +1 -1
  242. package/docs/types/onadvertisement.html +1 -1
  243. package/docs/types/ondiscover.html +1 -1
  244. package/docs/types/outdoorMeterStatus.html +1 -1
  245. package/docs/types/outdoorMeterWebhookContext.html +1 -1
  246. package/docs/types/panTiltCamWebhookContext.html +1 -1
  247. package/docs/types/plugMiniJPWebhookContext.html +1 -1
  248. package/docs/types/plugMiniStatus.html +1 -1
  249. package/docs/types/plugMiniUSWebhookContext.html +1 -1
  250. package/docs/types/plugStatus.html +1 -1
  251. package/docs/types/plugWebhookContext.html +1 -1
  252. package/docs/types/relaySwitch1Context.html +1 -1
  253. package/docs/types/relaySwitch1PMContext.html +1 -1
  254. package/docs/types/relaySwitch1PMStatus.html +1 -1
  255. package/docs/types/relaySwitch1Status.html +1 -1
  256. package/docs/types/robotVacuumCleanerS1PlusStatus.html +1 -1
  257. package/docs/types/robotVacuumCleanerS1PlusWebhookContext.html +1 -1
  258. package/docs/types/robotVacuumCleanerS1Status.html +1 -1
  259. package/docs/types/robotVacuumCleanerS1WebhookContext.html +1 -1
  260. package/docs/types/stripLightStatus.html +1 -1
  261. package/docs/types/stripLightWebhookContext.html +1 -1
  262. package/docs/types/waterLeakDetectorStatus.html +1 -1
  263. package/docs/types/waterLeakDetectorWebhookContext.html +1 -1
  264. package/docs/variables/parameterChecker.html +1 -0
  265. package/docs/variables/urls.html +1 -0
  266. package/package.json +6 -6
  267. package/dist/types/bledevicestatus.d.ts.map +0 -1
  268. package/dist/types/bledevicestatus.js +0 -2
  269. package/dist/types/bledevicestatus.js.map +0 -1
  270. package/dist/types/devicelist.d.ts +0 -90
  271. package/dist/types/devicelist.d.ts.map +0 -1
  272. package/dist/types/devicelist.js +0 -2
  273. package/dist/types/devicelist.js.map +0 -1
  274. package/dist/types/devicepush.d.ts +0 -13
  275. package/dist/types/devicepush.d.ts.map +0 -1
  276. package/dist/types/devicepush.js +0 -2
  277. package/dist/types/devicepush.js.map +0 -1
  278. package/dist/types/deviceresponse.d.ts +0 -12
  279. package/dist/types/deviceresponse.d.ts.map +0 -1
  280. package/dist/types/deviceresponse.js +0 -2
  281. package/dist/types/deviceresponse.js.map +0 -1
  282. package/dist/types/devicestatus.d.ts +0 -194
  283. package/dist/types/devicestatus.d.ts.map +0 -1
  284. package/dist/types/devicestatus.js +0 -3
  285. package/dist/types/devicestatus.js.map +0 -1
  286. package/dist/types/devicewebhookstatus.d.ts +0 -236
  287. package/dist/types/devicewebhookstatus.d.ts.map +0 -1
  288. package/dist/types/devicewebhookstatus.js +0 -2
  289. package/dist/types/devicewebhookstatus.js.map +0 -1
  290. package/dist/types/irdevicelist.d.ts +0 -10
  291. package/dist/types/irdevicelist.d.ts.map +0 -1
  292. package/dist/types/irdevicelist.js +0 -2
  293. package/dist/types/irdevicelist.js.map +0 -1
  294. package/docs/interfaces/bodyChange.html +0 -4
  295. package/docs/interfaces/device.html +0 -7
  296. package/docs/interfaces/deviceList.html +0 -2
  297. package/docs/interfaces/switchbot.html +0 -3
  298. package/docs/types/batteryCirculatorFan.html +0 -1
  299. package/docs/types/batteryCirculatorFanServiceData.html +0 -1
  300. package/docs/types/blindTiltServiceData.html +0 -1
  301. package/docs/types/botServiceData.html +0 -1
  302. package/docs/types/ceilingLightProServiceData.html +0 -1
  303. package/docs/types/ceilingLightServiceData.html +0 -1
  304. package/docs/types/colorBulbServiceData.html +0 -1
  305. package/docs/types/contactSensorServiceData.html +0 -1
  306. package/docs/types/curtain3ServiceData.html +0 -1
  307. package/docs/types/curtainServiceData.html +0 -1
  308. package/docs/types/hub2ServiceData.html +0 -1
  309. package/docs/types/humidifier2ServiceData.html +0 -1
  310. package/docs/types/humidifierServiceData.html +0 -1
  311. package/docs/types/keypadDetectorServiceData.html +0 -1
  312. package/docs/types/lockProServiceData.html +0 -1
  313. package/docs/types/lockServiceData.html +0 -1
  314. package/docs/types/meterPlusServiceData.html +0 -1
  315. package/docs/types/meterProCO2ServiceData.html +0 -1
  316. package/docs/types/meterProServiceData.html +0 -1
  317. package/docs/types/meterServiceData.html +0 -1
  318. package/docs/types/motionSensorServiceData.html +0 -1
  319. package/docs/types/outdoorMeterServiceData.html +0 -1
  320. package/docs/types/plugMiniJPServiceData.html +0 -1
  321. package/docs/types/plugMiniUSServiceData.html +0 -1
  322. package/docs/types/relaySwitch1PMServiceData.html +0 -1
  323. package/docs/types/relaySwitch1ServiceData.html +0 -1
  324. package/docs/types/remoteServiceData.html +0 -1
  325. package/docs/types/robotVacuumCleanerS1.html +0 -1
  326. package/docs/types/robotVacuumCleanerServiceData.html +0 -1
  327. package/docs/types/stripLightServiceData.html +0 -1
  328. package/docs/types/waterLeakDetectorServiceData.html +0 -1
  329. package/jest.config.js +0 -3
@@ -1,194 +0,0 @@
1
- import type { device } from './devicelist.js';
2
- export interface deviceStatusRequest {
3
- statusCode: number;
4
- message: string;
5
- body: deviceStatus;
6
- }
7
- export interface deviceStatus extends device {
8
- deviceId: string;
9
- deviceType: string;
10
- hubDeviceId: string;
11
- version: number;
12
- }
13
- export type botStatus = deviceStatus & {
14
- power: string;
15
- battery: number;
16
- mode: 'pressMode' | 'switchMode' | 'customizeMode';
17
- };
18
- export type curtainStatus = deviceStatus & {
19
- calibrate: boolean;
20
- group: boolean;
21
- moving: boolean;
22
- battery: number;
23
- slidePosition: number;
24
- lightLevel?: 'bright' | 'dim';
25
- };
26
- export type meterStatus = deviceStatus & {
27
- temperature: number;
28
- battery: number;
29
- humidity: number;
30
- };
31
- export type meterPlusStatus = deviceStatus & {
32
- temperature: number;
33
- battery: number;
34
- humidity: number;
35
- };
36
- export type meterProStatus = deviceStatus & {
37
- temperature: number;
38
- battery: number;
39
- humidity: number;
40
- version: string;
41
- };
42
- export type meterProCO2Status = deviceStatus & {
43
- temperature: number;
44
- battery: number;
45
- humidity: number;
46
- version: string;
47
- CO2: number;
48
- };
49
- export type outdoorMeterStatus = deviceStatus & {
50
- battery: number;
51
- temperature: number;
52
- humidity: number;
53
- };
54
- export type lockStatus = deviceStatus & {
55
- lockState: string;
56
- doorState: string;
57
- moveDetected: boolean;
58
- battery: number;
59
- };
60
- export type lockProStatus = deviceStatus & {
61
- lockState: string;
62
- doorState: string;
63
- moveDetected: boolean;
64
- battery: number;
65
- };
66
- export type motionSensorStatus = deviceStatus & {
67
- battery: number;
68
- moveDetected: boolean;
69
- brightness: 'bright' | 'dim';
70
- };
71
- export type contactSensorStatus = deviceStatus & {
72
- battery: number;
73
- moveDetected: boolean;
74
- openState: 'open' | 'close' | 'timeOutNotClose';
75
- brightness: 'bright' | 'dim';
76
- };
77
- export type waterLeakDetectorStatus = deviceStatus & {
78
- battery: number;
79
- status: 0 | 1;
80
- };
81
- export type ceilingLightStatus = deviceStatus & {
82
- power: boolean;
83
- brightness: number;
84
- colorTemperature: number;
85
- };
86
- export type ceilingLightProStatus = deviceStatus & {
87
- power: boolean;
88
- brightness: number;
89
- colorTemperature: number;
90
- };
91
- export type plugStatus = deviceStatus & {
92
- power: string;
93
- version: string;
94
- };
95
- export type plugMiniStatus = deviceStatus & {
96
- voltage: Float64Array;
97
- weight: Float64Array;
98
- electricityOfDay: number;
99
- electricCurrent: Float64Array;
100
- power: string;
101
- };
102
- export type stripLightStatus = deviceStatus & {
103
- power: string;
104
- brightness: number;
105
- color: string;
106
- };
107
- export type colorBulbStatus = deviceStatus & {
108
- power: string;
109
- brightness: number;
110
- color: string;
111
- colorTemperature: number;
112
- };
113
- export type robotVacuumCleanerS1Status = deviceStatus & {
114
- workingStatus: string;
115
- onlineStatus: string;
116
- battery: number;
117
- };
118
- export type robotVacuumCleanerS1PlusStatus = deviceStatus & {
119
- workingStatus: string;
120
- onlineStatus: string;
121
- battery: number;
122
- };
123
- export type floorCleaningRobotS10Status = deviceStatus & {
124
- workingStatus: string;
125
- onlineStatus: string;
126
- battery: number;
127
- waterBaseBattery: number;
128
- taskType: string;
129
- };
130
- export type humidifierStatus = deviceStatus & {
131
- power: string;
132
- humidity: number;
133
- temperature: number;
134
- nebulizationEfficiency: number;
135
- auto: boolean;
136
- childLock: boolean;
137
- sound: boolean;
138
- lackWater: boolean;
139
- };
140
- export type humidifier2Status = deviceStatus & {
141
- power: string;
142
- humidity: number;
143
- temperature: number;
144
- nebulizationEfficiency: number;
145
- auto: boolean;
146
- childLock: boolean;
147
- sound: boolean;
148
- lackWater: boolean;
149
- };
150
- export type blindTiltStatus = deviceStatus & {
151
- calibrate: boolean;
152
- battery: number;
153
- direction: string;
154
- slidePosition: string;
155
- lightLevel?: 'bright' | 'dim';
156
- };
157
- export type hub2Status = deviceStatus & {
158
- temperature: number;
159
- lightLevel: number;
160
- humidity: number;
161
- };
162
- export type batteryCirculatorFanStatus = deviceStatus & {
163
- mode: 'direct' | 'natural' | 'sleep' | 'baby';
164
- version: string;
165
- battery: number;
166
- power: string;
167
- nightStatus: number;
168
- oscillation: string;
169
- verticalOscillation: string;
170
- chargingStatus: string;
171
- fanSpeed: number;
172
- };
173
- export type circulatorFanStatus = deviceStatus & {
174
- mode: 'direct' | 'natural' | 'sleep' | 'baby';
175
- version: string;
176
- power: string;
177
- nightStatus: number;
178
- oscillation: string;
179
- verticalOscillation: string;
180
- fanSpeed: number;
181
- };
182
- export type relaySwitch1Status = deviceStatus & {
183
- switchStatus: 0 | 1;
184
- version: string;
185
- };
186
- export type relaySwitch1PMStatus = deviceStatus & {
187
- switchStatus: 0 | 1;
188
- voltage: number;
189
- version: string;
190
- power: number;
191
- usedElectricity: number;
192
- electricCurrent: number;
193
- };
194
- //# sourceMappingURL=devicestatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devicestatus.d.ts","sourceRoot":"","sources":["../../src/types/devicestatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAE7C,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,MAAM,WAAW,YAAa,SAAQ,MAAM;IAE1C,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,WAAW,GAAG,YAAY,GAAG,eAAe,CAAA;CACnD,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE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;CAChB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG;IAChD,YAAY,EAAE,CAAC,GAAG,CAAC,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;CACxB,CAAA"}
@@ -1,3 +0,0 @@
1
- ;
2
- export {};
3
- //# sourceMappingURL=devicestatus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devicestatus.js","sourceRoot":"","sources":["../../src/types/devicestatus.ts"],"names":[],"mappings":"AAkBC,CAAC"}
@@ -1,236 +0,0 @@
1
- export interface webhookRequest {
2
- action: string;
3
- url: string;
4
- deviceList: string;
5
- }
6
- export interface setupWebhookResponse {
7
- statusCode: number;
8
- body: object;
9
- message: string;
10
- }
11
- export interface queryWebhookResponse {
12
- statusCode: number;
13
- body: WebhookDetail[];
14
- message: string;
15
- }
16
- export interface WebhookDetail {
17
- url: string;
18
- createTime: number;
19
- lastUpdateTime: number;
20
- deviceList: string;
21
- enable: boolean;
22
- }
23
- export interface updateWebhookResponse {
24
- statusCode: number;
25
- body: object;
26
- message: string;
27
- }
28
- export interface deleteWebhookResponse {
29
- statusCode: number;
30
- body: object;
31
- message: string;
32
- }
33
- interface deviceWebhook {
34
- eventType: string;
35
- eventVersion: string;
36
- context: deviceWebhookContext;
37
- }
38
- export { deviceWebhook };
39
- export interface deviceWebhookContext {
40
- deviceMac: string;
41
- deviceType: string;
42
- timeOfSample: number;
43
- }
44
- export type botWebhookContext = deviceWebhookContext & {
45
- power: string;
46
- battery: number;
47
- deviceMode: 'pressMode' | 'switchMode' | 'customizeMode';
48
- };
49
- export type curtainWebhookContext = deviceWebhookContext & {
50
- calibrate: boolean;
51
- group: boolean;
52
- slidePosition: number;
53
- battery: number;
54
- };
55
- export type curtain3WebhookContext = deviceWebhookContext & {
56
- calibrate: boolean;
57
- group: boolean;
58
- slidePosition: number;
59
- battery: number;
60
- };
61
- export type motionSensorWebhookContext = deviceWebhookContext & {
62
- detectionState: 'NOT_DETECTED' | 'DETECTED';
63
- battery: number;
64
- };
65
- export type contactSensorWebhookContext = deviceWebhookContext & {
66
- detectionState: 'NOT_DETECTED' | 'DETECTED';
67
- battery: number;
68
- doorMode: 'IN_DOOR' | 'OUT_DOOR';
69
- brightness: 'dim' | 'bright';
70
- openState: 'open' | 'close' | 'timeOutNotClose';
71
- };
72
- export type waterLeakDetectorWebhookContext = deviceWebhookContext & {
73
- detectionState: 0 | 1;
74
- battery: number;
75
- };
76
- export type meterWebhookContext = deviceWebhookContext & {
77
- temperature: number;
78
- battery: number;
79
- scale: 'CELSIUS' | 'FAHRENHEIT';
80
- humidity: number;
81
- };
82
- export type meterPlusWebhookContext = deviceWebhookContext & {
83
- temperature: number;
84
- battery: number;
85
- scale: 'CELSIUS' | 'FAHRENHEIT';
86
- humidity: number;
87
- };
88
- export type meterProWebhookContext = deviceWebhookContext & {
89
- temperature: number;
90
- battery: number;
91
- scale: 'CELSIUS' | 'FAHRENHEIT';
92
- humidity: number;
93
- };
94
- export type meterProCO2WebhookContext = deviceWebhookContext & {
95
- temperature: number;
96
- battery: number;
97
- scale: 'CELSIUS' | 'FAHRENHEIT';
98
- humidity: number;
99
- CO2: number;
100
- };
101
- export type outdoorMeterWebhookContext = deviceWebhookContext & {
102
- temperature: number;
103
- battery: number;
104
- scale: 'CELSIUS' | 'FAHRENHEIT';
105
- humidity: number;
106
- };
107
- export type lockWebhookContext = deviceWebhookContext & {
108
- lockState: 'UNLOCKED' | 'LOCKED' | 'JAMMED';
109
- battery: number;
110
- };
111
- export type lockProWebhookContext = deviceWebhookContext & {
112
- lockState: 'UNLOCKED' | 'LOCKED' | 'JAMMED';
113
- battery: number;
114
- };
115
- export type indoorCameraWebhookContext = deviceWebhookContext & {
116
- detectionState: 'DETECTED';
117
- };
118
- export type panTiltCamWebhookContext = deviceWebhookContext & {
119
- detectionState: 'DETECTED';
120
- };
121
- export type colorBulbWebhookContext = deviceWebhookContext & {
122
- powerState: 'ON' | 'OFF';
123
- brightness: number;
124
- color: string;
125
- colorTemperature: number;
126
- };
127
- export type stripLightWebhookContext = deviceWebhookContext & {
128
- powerState: 'ON' | 'OFF';
129
- brightness: number;
130
- color: string;
131
- };
132
- export type plugWebhookContext = deviceWebhookContext & {
133
- powerState: 'ON' | 'OFF';
134
- };
135
- export type plugMiniUSWebhookContext = deviceWebhookContext & {
136
- powerState: 'ON' | 'OFF';
137
- };
138
- export type plugMiniJPWebhookContext = deviceWebhookContext & {
139
- powerState: 'ON' | 'OFF';
140
- };
141
- export type robotVacuumCleanerS1WebhookContext = deviceWebhookContext & {
142
- workingStatus: 'Standby' | 'Clearing' | 'Paused' | 'GotoChargeBase' | 'Charging' | 'ChargeDone' | 'Dormant' | 'InTrouble' | 'InRemoteControl' | 'InDustCollecting';
143
- onlineStatus: 'online' | 'offline';
144
- battery: number;
145
- };
146
- export type robotVacuumCleanerS1PlusWebhookContext = deviceWebhookContext & {
147
- workingStatus: 'Standby' | 'Clearing' | 'Paused' | 'GotoChargeBase' | 'Charging' | 'ChargeDone' | 'Dormant' | 'InTrouble' | 'InRemoteControl' | 'InDustCollecting';
148
- onlineStatus: 'online' | 'offline';
149
- battery: number;
150
- };
151
- export type floorCleaningRobotS10WebhookContext = deviceWebhookContext & {
152
- workingStatus: 'Standby' | 'Clearing' | 'Paused' | 'GotoChargeBase' | 'Charging' | 'ChargeDone' | 'Dormant' | 'InTrouble' | 'InRemoteControl' | 'InDustCollecting';
153
- onlineStatus: 'online' | 'offline';
154
- battery: number;
155
- waterBaseBattery: number;
156
- taskType: 'standBy' | 'explore' | 'cleanAll' | 'cleanArea' | 'cleanRoom' | 'fillWater' | 'deepWashing' | 'backToCharge' | 'markingWaterBase' | 'drying' | 'collectDust' | 'remoteControl' | 'cleanWithExplorer' | 'fillWaterForHumi' | 'markingHumi';
157
- };
158
- export type ceilingLightWebhookContext = deviceWebhookContext & {
159
- powerState: 'ON' | 'OFF';
160
- brightness: number;
161
- colorTemperature: number;
162
- };
163
- export type ceilingLightProWebhookContext = deviceWebhookContext & {
164
- powerState: 'ON' | 'OFF';
165
- brightness: number;
166
- colorTemperature: number;
167
- };
168
- export type keypadWebhookContext = deviceWebhookContext & {
169
- eventName: 'createKey' | 'deleteKey';
170
- commandId: string;
171
- result: 'success' | 'failed' | 'timeout';
172
- };
173
- export type keypadTouchWebhookContext = deviceWebhookContext & {
174
- eventName: 'createKey' | 'deleteKey';
175
- commandId: string;
176
- result: 'success' | 'failed' | 'timeout';
177
- };
178
- export type hub2WebhookContext = deviceWebhookContext & {
179
- temperature: number;
180
- humidity: number;
181
- lightLevel: number;
182
- scale: 'CELSIUS' | 'FAHRENHEIT';
183
- };
184
- export type batteryCirculatorFanWebhookContext = deviceWebhookContext & {
185
- mode: 'direct' | 'natural' | 'sleep' | 'baby';
186
- version: string;
187
- battery: number;
188
- powerState: 'ON' | 'OFF';
189
- nightStatus: 'off' | 1 | 2;
190
- oscillation: 'on' | 'off';
191
- verticalOscillation: 'on' | 'off';
192
- chargingStatus: 'charging' | 'uncharged';
193
- fanSpeed: number;
194
- };
195
- export type circulatorFanWebhookContext = deviceWebhookContext & {
196
- mode: 'direct' | 'natural' | 'sleep' | 'baby';
197
- version: string;
198
- battery: number;
199
- powerState: 'ON' | 'OFF';
200
- nightStatus: 'off' | 1 | 2;
201
- oscillation: 'on' | 'off';
202
- verticalOscillation: 'on' | 'off';
203
- fanSpeed: number;
204
- };
205
- export type blindTiltWebhookContext = deviceWebhookContext & {
206
- version: string;
207
- calibrate: boolean;
208
- group: boolean;
209
- direction: string;
210
- slidePosition: number;
211
- battery: number;
212
- };
213
- export type humidifierWebhookContext = deviceWebhookContext & {
214
- temperature: number;
215
- humidity: number;
216
- scale: 'CELSIUS' | 'FAHRENHEIT';
217
- };
218
- export type humidifier2WebhookContext = deviceWebhookContext & {
219
- temperature: number;
220
- humidity: number;
221
- scale: 'CELSIUS' | 'FAHRENHEIT';
222
- };
223
- export type relaySwitch1Context = deviceWebhookContext & {
224
- online: boolean;
225
- overTemperature: boolean;
226
- switchStatus: 0 | 1;
227
- version: string;
228
- };
229
- export type relaySwitch1PMContext = deviceWebhookContext & {
230
- online: boolean;
231
- overTemperature: boolean;
232
- switchStatus: 0 | 1;
233
- overload: boolean;
234
- version: string;
235
- };
236
- //# sourceMappingURL=devicewebhookstatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devicewebhookstatus.d.ts","sourceRoot":"","sources":["../../src/types/devicewebhookstatus.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,OAAO,CAAA;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,UAAU,aAAa;IACrB,SAAS,EAAE,MAAM,CAAA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KAAK,CAAA;IACjC,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG;IAC3D,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,OAAO,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,GAAG;IAC5D,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,SAAS,GAAG,YAAY,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,GAAG;IAC7D,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,SAAS,GAAG,YAAY,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GAAG;IACvD,MAAM,EAAE,OAAO,CAAA;IACf,eAAe,EAAE,OAAO,CAAA;IACxB,YAAY,EAAE,CAAC,GAAG,CAAC,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,GAAG;IACzD,MAAM,EAAE,OAAO,CAAA;IACf,eAAe,EAAE,OAAO,CAAA;IACxB,YAAY,EAAE,CAAC,GAAG,CAAC,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=devicewebhookstatus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devicewebhookstatus.js","sourceRoot":"","sources":["../../src/types/devicewebhookstatus.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- export interface infraredRemoteList {
2
- device: irdevice[];
3
- }
4
- export interface irdevice {
5
- deviceId?: string;
6
- deviceName: string;
7
- remoteType: string;
8
- hubDeviceId: string;
9
- }
10
- //# sourceMappingURL=irdevicelist.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"irdevicelist.d.ts","sourceRoot":"","sources":["../../src/types/irdevicelist.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;CACpB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=irdevicelist.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"irdevicelist.js","sourceRoot":"","sources":["../../src/types/irdevicelist.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>bodyChange | node-switchbot</title><meta name="description" content="Documentation for node-switchbot"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">node-switchbot</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">bodyChange</a></li></ul><h1>Interface bodyChange</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">bodyChange</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#command">command</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#commandtype">commandType</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#parameter">parameter</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicepush.ts#L5">types/devicepush.ts:5</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#command" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>command</span></a>
2
- <a href="#commandtype" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>command<wbr/>Type</span></a>
3
- <a href="#parameter" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>parameter</span></a>
4
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="command"><span>command</span><a href="#command" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">command</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicepush.ts#L6">types/devicepush.ts:6</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="commandtype"><span>command<wbr/>Type</span><a href="#commandtype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">commandType</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicepush.ts#L8">types/devicepush.ts:8</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="parameter"><span>parameter</span><a href="#parameter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">parameter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicepush.ts#L7">types/devicepush.ts:7</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#command"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>command</span></a><a href="#commandtype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>command<wbr/>Type</span></a><a href="#parameter"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>parameter</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">node-switchbot</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
@@ -1,7 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>device | node-switchbot</title><meta name="description" content="Documentation for node-switchbot"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">node-switchbot</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">device</a></li></ul><h1>Interface device</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">device</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#deviceid">deviceId</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#devicename">deviceName</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#devicetype">deviceType</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#enablecloudservice">enableCloudService</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#hubdeviceid">hubDeviceId</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#version">version</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="2717"><h4>Hierarchy (<a href="../hierarchy.html#device">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">device</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="deviceStatus.html" class="tsd-signature-type tsd-kind-interface">deviceStatus</a></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicelist.ts#L9">types/devicelist.ts:9</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#deviceid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device<wbr/>Id</span></a>
2
- <a href="#devicename" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device<wbr/>Name</span></a>
3
- <a href="#devicetype" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device<wbr/>Type</span></a>
4
- <a href="#enablecloudservice" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Cloud<wbr/>Service</span></a>
5
- <a href="#hubdeviceid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hub<wbr/>Device<wbr/>Id</span></a>
6
- <a href="#version" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>version?</span></a>
7
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="deviceid"><span>device<wbr/>Id</span><a href="#deviceid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">deviceId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicelist.ts#L10">types/devicelist.ts:10</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="devicename"><span>device<wbr/>Name</span><a href="#devicename" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">deviceName</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicelist.ts#L11">types/devicelist.ts:11</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="devicetype"><span>device<wbr/>Type</span><a href="#devicetype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">deviceType</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicelist.ts#L12">types/devicelist.ts:12</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="enablecloudservice"><span>enable<wbr/>Cloud<wbr/>Service</span><a href="#enablecloudservice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enableCloudService</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicelist.ts#L13">types/devicelist.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hubdeviceid"><span>hub<wbr/>Device<wbr/>Id</span><a href="#hubdeviceid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hubDeviceId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicelist.ts#L14">types/devicelist.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="version"><code class="tsd-tag">Optional</code><span>version</span><a href="#version" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicelist.ts#L15">types/devicelist.ts:15</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#deviceid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device<wbr/>Id</span></a><a href="#devicename"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device<wbr/>Name</span></a><a href="#devicetype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device<wbr/>Type</span></a><a href="#enablecloudservice"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Cloud<wbr/>Service</span></a><a href="#hubdeviceid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hub<wbr/>Device<wbr/>Id</span></a><a href="#version"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>version</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">node-switchbot</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
@@ -1,2 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>deviceList | node-switchbot</title><meta name="description" content="Documentation for node-switchbot"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">node-switchbot</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">deviceList</a></li></ul><h1>Interface deviceList</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">deviceList</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#device">device</a><span class="tsd-signature-symbol">:</span> <a href="device.html" class="tsd-signature-type tsd-kind-interface">device</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicelist.ts#L5">types/devicelist.ts:5</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#device" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device</span></a>
2
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="device"><span>device</span><a href="#device" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">device</span><span class="tsd-signature-symbol">:</span> <a href="device.html" class="tsd-signature-type tsd-kind-interface">device</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/OpenWonderLabs/node-switchbot/blob/783854d74f6b3deb6bafa08ef2518b7adaff4e75/src/types/devicelist.ts#L6">types/devicelist.ts:6</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#device"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>device</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">node-switchbot</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>