@homebridge/hap-nodejs 2.3.1-beta.1 → 2.3.1-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 (252) hide show
  1. package/README.md +13 -4
  2. package/dist/accessories/types.d.ts +0 -1
  3. package/dist/hap.d.ts +1 -1
  4. package/dist/hap.js +6 -4
  5. package/dist/hap.js.map +1 -1
  6. package/dist/index.d.ts +4 -1
  7. package/dist/index.js +4 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/internal-types.d.ts +6 -7
  10. package/dist/internal-types.js +1 -5
  11. package/dist/internal-types.js.map +1 -1
  12. package/dist/lib/Accessory.d.ts +49 -25
  13. package/dist/lib/Accessory.js +275 -171
  14. package/dist/lib/Accessory.js.map +1 -1
  15. package/dist/lib/Advertiser.d.ts +37 -18
  16. package/dist/lib/Advertiser.js +143 -62
  17. package/dist/lib/Advertiser.js.map +1 -1
  18. package/dist/lib/Bridge.d.ts +1 -2
  19. package/dist/lib/Bridge.js +1 -1
  20. package/dist/lib/Characteristic.d.ts +19 -20
  21. package/dist/lib/Characteristic.js +187 -153
  22. package/dist/lib/Characteristic.js.map +1 -1
  23. package/dist/lib/HAPServer.d.ts +19 -13
  24. package/dist/lib/HAPServer.js +266 -220
  25. package/dist/lib/HAPServer.js.map +1 -1
  26. package/dist/lib/Service.d.ts +11 -11
  27. package/dist/lib/Service.js +54 -37
  28. package/dist/lib/Service.js.map +1 -1
  29. package/dist/lib/camera/RTPProxy.d.ts +5 -5
  30. package/dist/lib/camera/RTPProxy.js +48 -23
  31. package/dist/lib/camera/RTPProxy.js.map +1 -1
  32. package/dist/lib/camera/RTPStreamManagement.d.ts +18 -13
  33. package/dist/lib/camera/RTPStreamManagement.js +247 -216
  34. package/dist/lib/camera/RTPStreamManagement.js.map +1 -1
  35. package/dist/lib/camera/RecordingManagement.d.ts +13 -13
  36. package/dist/lib/camera/RecordingManagement.js +115 -110
  37. package/dist/lib/camera/RecordingManagement.js.map +1 -1
  38. package/dist/lib/camera/index.d.ts +0 -1
  39. package/dist/lib/controller/AdaptiveLightingController.d.ts +41 -36
  40. package/dist/lib/controller/AdaptiveLightingController.js +126 -113
  41. package/dist/lib/controller/AdaptiveLightingController.js.map +1 -1
  42. package/dist/lib/controller/CameraController.d.ts +17 -17
  43. package/dist/lib/controller/CameraController.js +30 -26
  44. package/dist/lib/controller/CameraController.js.map +1 -1
  45. package/dist/lib/controller/Controller.d.ts +15 -12
  46. package/dist/lib/controller/Controller.js +0 -1
  47. package/dist/lib/controller/Controller.js.map +1 -1
  48. package/dist/lib/controller/DoorbellController.d.ts +6 -6
  49. package/dist/lib/controller/DoorbellController.js +10 -3
  50. package/dist/lib/controller/DoorbellController.js.map +1 -1
  51. package/dist/lib/controller/RemoteController.d.ts +46 -27
  52. package/dist/lib/controller/RemoteController.js +268 -178
  53. package/dist/lib/controller/RemoteController.js.map +1 -1
  54. package/dist/lib/controller/index.d.ts +0 -1
  55. package/dist/lib/datastream/DataStreamManagement.d.ts +6 -6
  56. package/dist/lib/datastream/DataStreamManagement.js +30 -26
  57. package/dist/lib/datastream/DataStreamManagement.js.map +1 -1
  58. package/dist/lib/datastream/DataStreamParser.d.ts +25 -8
  59. package/dist/lib/datastream/DataStreamParser.js +124 -105
  60. package/dist/lib/datastream/DataStreamParser.js.map +1 -1
  61. package/dist/lib/datastream/DataStreamServer.d.ts +47 -23
  62. package/dist/lib/datastream/DataStreamServer.js +285 -143
  63. package/dist/lib/datastream/DataStreamServer.js.map +1 -1
  64. package/dist/lib/datastream/index.d.ts +0 -1
  65. package/dist/lib/definitions/CharacteristicDefinitions.d.ts +0 -1
  66. package/dist/lib/definitions/CharacteristicDefinitions.js +578 -578
  67. package/dist/lib/definitions/CharacteristicDefinitions.js.map +1 -1
  68. package/dist/lib/definitions/ServiceDefinitions.d.ts +0 -1
  69. package/dist/lib/definitions/index.d.ts +0 -1
  70. package/dist/lib/gen/HomeKit.d.ts +0 -1
  71. package/dist/lib/model/AccessoryInfo.d.ts +5 -6
  72. package/dist/lib/model/AccessoryInfo.js +23 -19
  73. package/dist/lib/model/AccessoryInfo.js.map +1 -1
  74. package/dist/lib/model/ControllerStorage.d.ts +11 -5
  75. package/dist/lib/model/ControllerStorage.js +34 -8
  76. package/dist/lib/model/ControllerStorage.js.map +1 -1
  77. package/dist/lib/model/HAPFileStorage.d.ts +20 -2
  78. package/dist/lib/model/HAPFileStorage.js +59 -10
  79. package/dist/lib/model/HAPFileStorage.js.map +1 -1
  80. package/dist/lib/model/HAPStorage.d.ts +0 -1
  81. package/dist/lib/model/HAPStorage.js +6 -3
  82. package/dist/lib/model/HAPStorage.js.map +1 -1
  83. package/dist/lib/model/IdentifierCache.d.ts +2 -3
  84. package/dist/lib/model/IdentifierCache.js +26 -13
  85. package/dist/lib/model/IdentifierCache.js.map +1 -1
  86. package/dist/lib/tv/AccessControlManagement.d.ts +6 -7
  87. package/dist/lib/tv/AccessControlManagement.js +13 -19
  88. package/dist/lib/tv/AccessControlManagement.js.map +1 -1
  89. package/dist/lib/util/checkName.d.ts +1 -2
  90. package/dist/lib/util/checkName.js.map +1 -1
  91. package/dist/lib/util/clone.d.ts +0 -1
  92. package/dist/lib/util/clone.js.map +1 -1
  93. package/dist/lib/util/color-utils.d.ts +1 -2
  94. package/dist/lib/util/color-utils.js +1 -1
  95. package/dist/lib/util/errors.d.ts +4 -0
  96. package/dist/lib/util/errors.js +15 -0
  97. package/dist/lib/util/errors.js.map +1 -0
  98. package/dist/lib/util/eventedhttp.d.ts +63 -19
  99. package/dist/lib/util/eventedhttp.js +170 -48
  100. package/dist/lib/util/eventedhttp.js.map +1 -1
  101. package/dist/lib/util/hapCrypto.d.ts +1 -2
  102. package/dist/lib/util/hapCrypto.js +6 -7
  103. package/dist/lib/util/hapCrypto.js.map +1 -1
  104. package/dist/lib/util/hapStatusError.d.ts +0 -1
  105. package/dist/lib/util/hapStatusError.js +1 -1
  106. package/dist/lib/util/hapStatusError.js.map +1 -1
  107. package/dist/lib/util/net-utils.d.ts +1 -2
  108. package/dist/lib/util/net-utils.js +6 -7
  109. package/dist/lib/util/net-utils.js.map +1 -1
  110. package/dist/lib/util/once.d.ts +0 -1
  111. package/dist/lib/util/promise-utils.d.ts +1 -2
  112. package/dist/lib/util/promise-utils.js +2 -1
  113. package/dist/lib/util/promise-utils.js.map +1 -1
  114. package/dist/lib/util/request-util.d.ts +4 -4
  115. package/dist/lib/util/request-util.js +29 -28
  116. package/dist/lib/util/request-util.js.map +1 -1
  117. package/dist/lib/util/time.d.ts +1 -2
  118. package/dist/lib/util/time.js.map +1 -1
  119. package/dist/lib/util/tlv.d.ts +4 -4
  120. package/dist/lib/util/tlv.js +16 -5
  121. package/dist/lib/util/tlv.js.map +1 -1
  122. package/dist/lib/util/uuid.d.ts +5 -2
  123. package/dist/lib/util/uuid.js +6 -0
  124. package/dist/lib/util/uuid.js.map +1 -1
  125. package/dist/types.d.ts +20 -17
  126. package/dist/types.js +0 -1
  127. package/dist/types.js.map +1 -1
  128. package/package.json +8 -14
  129. package/dist/accessories/AirConditioner_accessory.d.ts +0 -2
  130. package/dist/accessories/AirConditioner_accessory.d.ts.map +0 -1
  131. package/dist/accessories/AirConditioner_accessory.js +0 -126
  132. package/dist/accessories/AirConditioner_accessory.js.map +0 -1
  133. package/dist/accessories/AppleTVRemote_accessory.d.ts +0 -2
  134. package/dist/accessories/AppleTVRemote_accessory.d.ts.map +0 -1
  135. package/dist/accessories/AppleTVRemote_accessory.js +0 -146
  136. package/dist/accessories/AppleTVRemote_accessory.js.map +0 -1
  137. package/dist/accessories/Camera_accessory.d.ts +0 -2
  138. package/dist/accessories/Camera_accessory.d.ts.map +0 -1
  139. package/dist/accessories/Camera_accessory.js +0 -562
  140. package/dist/accessories/Camera_accessory.js.map +0 -1
  141. package/dist/accessories/Fan_accessory.d.ts +0 -2
  142. package/dist/accessories/Fan_accessory.d.ts.map +0 -1
  143. package/dist/accessories/Fan_accessory.js +0 -71
  144. package/dist/accessories/Fan_accessory.js.map +0 -1
  145. package/dist/accessories/GarageDoorOpener_accessory.d.ts +0 -2
  146. package/dist/accessories/GarageDoorOpener_accessory.d.ts.map +0 -1
  147. package/dist/accessories/GarageDoorOpener_accessory.js +0 -76
  148. package/dist/accessories/GarageDoorOpener_accessory.js.map +0 -1
  149. package/dist/accessories/Light-AdaptiveLighting_accessory.d.ts +0 -2
  150. package/dist/accessories/Light-AdaptiveLighting_accessory.d.ts.map +0 -1
  151. package/dist/accessories/Light-AdaptiveLighting_accessory.js +0 -103
  152. package/dist/accessories/Light-AdaptiveLighting_accessory.js.map +0 -1
  153. package/dist/accessories/Light_accessory.d.ts +0 -2
  154. package/dist/accessories/Light_accessory.d.ts.map +0 -1
  155. package/dist/accessories/Light_accessory.js +0 -143
  156. package/dist/accessories/Light_accessory.js.map +0 -1
  157. package/dist/accessories/Lock_accessory.d.ts +0 -2
  158. package/dist/accessories/Lock_accessory.d.ts.map +0 -1
  159. package/dist/accessories/Lock_accessory.js +0 -74
  160. package/dist/accessories/Lock_accessory.js.map +0 -1
  161. package/dist/accessories/MotionSensor_accessory.d.ts +0 -2
  162. package/dist/accessories/MotionSensor_accessory.d.ts.map +0 -1
  163. package/dist/accessories/MotionSensor_accessory.js +0 -43
  164. package/dist/accessories/MotionSensor_accessory.js.map +0 -1
  165. package/dist/accessories/Outlet_accessory.d.ts +0 -2
  166. package/dist/accessories/Outlet_accessory.d.ts.map +0 -1
  167. package/dist/accessories/Outlet_accessory.js +0 -77
  168. package/dist/accessories/Outlet_accessory.js.map +0 -1
  169. package/dist/accessories/SmartSpeaker_accessory.d.ts +0 -2
  170. package/dist/accessories/SmartSpeaker_accessory.d.ts.map +0 -1
  171. package/dist/accessories/SmartSpeaker_accessory.js +0 -42
  172. package/dist/accessories/SmartSpeaker_accessory.js.map +0 -1
  173. package/dist/accessories/Sprinkler_accessory.d.ts +0 -2
  174. package/dist/accessories/Sprinkler_accessory.d.ts.map +0 -1
  175. package/dist/accessories/Sprinkler_accessory.js +0 -126
  176. package/dist/accessories/Sprinkler_accessory.js.map +0 -1
  177. package/dist/accessories/TV_accessory.d.ts +0 -2
  178. package/dist/accessories/TV_accessory.d.ts.map +0 -1
  179. package/dist/accessories/TV_accessory.js +0 -99
  180. package/dist/accessories/TV_accessory.js.map +0 -1
  181. package/dist/accessories/TemperatureSensor_accessory.d.ts +0 -2
  182. package/dist/accessories/TemperatureSensor_accessory.d.ts.map +0 -1
  183. package/dist/accessories/TemperatureSensor_accessory.js +0 -42
  184. package/dist/accessories/TemperatureSensor_accessory.js.map +0 -1
  185. package/dist/accessories/Wi-FiRouter_accessory.d.ts +0 -3
  186. package/dist/accessories/Wi-FiRouter_accessory.d.ts.map +0 -1
  187. package/dist/accessories/Wi-FiRouter_accessory.js +0 -14
  188. package/dist/accessories/Wi-FiRouter_accessory.js.map +0 -1
  189. package/dist/accessories/Wi-FiSatellite_accessory.d.ts +0 -3
  190. package/dist/accessories/Wi-FiSatellite_accessory.d.ts.map +0 -1
  191. package/dist/accessories/Wi-FiSatellite_accessory.js +0 -16
  192. package/dist/accessories/Wi-FiSatellite_accessory.js.map +0 -1
  193. package/dist/accessories/gstreamer-audioProducer.d.ts +0 -25
  194. package/dist/accessories/gstreamer-audioProducer.d.ts.map +0 -1
  195. package/dist/accessories/gstreamer-audioProducer.js +0 -145
  196. package/dist/accessories/gstreamer-audioProducer.js.map +0 -1
  197. package/dist/accessories/types.d.ts.map +0 -1
  198. package/dist/hap.d.ts.map +0 -1
  199. package/dist/index.d.ts.map +0 -1
  200. package/dist/internal-types.d.ts.map +0 -1
  201. package/dist/lib/Accessory.d.ts.map +0 -1
  202. package/dist/lib/Advertiser.d.ts.map +0 -1
  203. package/dist/lib/Bridge.d.ts.map +0 -1
  204. package/dist/lib/Characteristic.d.ts.map +0 -1
  205. package/dist/lib/HAPServer.d.ts.map +0 -1
  206. package/dist/lib/Service.d.ts.map +0 -1
  207. package/dist/lib/camera/RTPProxy.d.ts.map +0 -1
  208. package/dist/lib/camera/RTPStreamManagement.d.ts.map +0 -1
  209. package/dist/lib/camera/RecordingManagement.d.ts.map +0 -1
  210. package/dist/lib/camera/index.d.ts.map +0 -1
  211. package/dist/lib/controller/AdaptiveLightingController.d.ts.map +0 -1
  212. package/dist/lib/controller/CameraController.d.ts.map +0 -1
  213. package/dist/lib/controller/Controller.d.ts.map +0 -1
  214. package/dist/lib/controller/DoorbellController.d.ts.map +0 -1
  215. package/dist/lib/controller/RemoteController.d.ts.map +0 -1
  216. package/dist/lib/controller/index.d.ts.map +0 -1
  217. package/dist/lib/datastream/DataStreamManagement.d.ts.map +0 -1
  218. package/dist/lib/datastream/DataStreamParser.d.ts.map +0 -1
  219. package/dist/lib/datastream/DataStreamServer.d.ts.map +0 -1
  220. package/dist/lib/datastream/index.d.ts.map +0 -1
  221. package/dist/lib/definitions/CharacteristicDefinitions.d.ts.map +0 -1
  222. package/dist/lib/definitions/ServiceDefinitions.d.ts.map +0 -1
  223. package/dist/lib/definitions/generate-definitions.d.ts +0 -34
  224. package/dist/lib/definitions/generate-definitions.d.ts.map +0 -1
  225. package/dist/lib/definitions/generate-definitions.js +0 -624
  226. package/dist/lib/definitions/generate-definitions.js.map +0 -1
  227. package/dist/lib/definitions/generator-configuration.d.ts +0 -22
  228. package/dist/lib/definitions/generator-configuration.d.ts.map +0 -1
  229. package/dist/lib/definitions/generator-configuration.js +0 -674
  230. package/dist/lib/definitions/generator-configuration.js.map +0 -1
  231. package/dist/lib/definitions/index.d.ts.map +0 -1
  232. package/dist/lib/gen/HomeKit.d.ts.map +0 -1
  233. package/dist/lib/model/AccessoryInfo.d.ts.map +0 -1
  234. package/dist/lib/model/ControllerStorage.d.ts.map +0 -1
  235. package/dist/lib/model/HAPFileStorage.d.ts.map +0 -1
  236. package/dist/lib/model/HAPStorage.d.ts.map +0 -1
  237. package/dist/lib/model/IdentifierCache.d.ts.map +0 -1
  238. package/dist/lib/tv/AccessControlManagement.d.ts.map +0 -1
  239. package/dist/lib/util/checkName.d.ts.map +0 -1
  240. package/dist/lib/util/clone.d.ts.map +0 -1
  241. package/dist/lib/util/color-utils.d.ts.map +0 -1
  242. package/dist/lib/util/eventedhttp.d.ts.map +0 -1
  243. package/dist/lib/util/hapCrypto.d.ts.map +0 -1
  244. package/dist/lib/util/hapStatusError.d.ts.map +0 -1
  245. package/dist/lib/util/net-utils.d.ts.map +0 -1
  246. package/dist/lib/util/once.d.ts.map +0 -1
  247. package/dist/lib/util/promise-utils.d.ts.map +0 -1
  248. package/dist/lib/util/request-util.d.ts.map +0 -1
  249. package/dist/lib/util/time.d.ts.map +0 -1
  250. package/dist/lib/util/tlv.d.ts.map +0 -1
  251. package/dist/lib/util/uuid.d.ts.map +0 -1
  252. package/dist/types.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  // THIS FILE IS AUTO-GENERATED - DO NOT MODIFY
2
2
  // V=891
3
- import { Characteristic } from '../Characteristic.js';
3
+ import { Access, Characteristic, Formats, Perms, Units } from '../Characteristic.js';
4
4
  /**
5
5
  * Characteristic "Access Code Control Point"
6
6
  * @since iOS 15
@@ -9,8 +9,8 @@ export class AccessCodeControlPoint extends Characteristic {
9
9
  static UUID = '00000262-0000-1000-8000-0026BB765291';
10
10
  constructor() {
11
11
  super('Access Code Control Point', AccessCodeControlPoint.UUID, {
12
- format: "tlv8" /* Formats.TLV8 */,
13
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
12
+ format: Formats.TLV8,
13
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
14
14
  });
15
15
  this.value = this.getDefaultValue();
16
16
  }
@@ -24,8 +24,8 @@ export class AccessCodeSupportedConfiguration extends Characteristic {
24
24
  static UUID = '00000261-0000-1000-8000-0026BB765291';
25
25
  constructor() {
26
26
  super('Access Code Supported Configuration', AccessCodeSupportedConfiguration.UUID, {
27
- format: "tlv8" /* Formats.TLV8 */,
28
- perms: ["pr" /* Perms.PAIRED_READ */],
27
+ format: Formats.TLV8,
28
+ perms: [Perms.PAIRED_READ],
29
29
  });
30
30
  this.value = this.getDefaultValue();
31
31
  }
@@ -38,8 +38,8 @@ export class AccessControlLevel extends Characteristic {
38
38
  static UUID = '000000E5-0000-1000-8000-0026BB765291';
39
39
  constructor() {
40
40
  super('Access Control Level', AccessControlLevel.UUID, {
41
- format: "uint16" /* Formats.UINT16 */,
42
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
41
+ format: Formats.UINT16,
42
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
43
43
  minValue: 0,
44
44
  maxValue: 2,
45
45
  minStep: 1,
@@ -56,8 +56,8 @@ export class AccessoryFlags extends Characteristic {
56
56
  static REQUIRES_ADDITIONAL_SETUP_BIT_MASK = 1;
57
57
  constructor() {
58
58
  super('Accessory Flags', AccessoryFlags.UUID, {
59
- format: "uint32" /* Formats.UINT32 */,
60
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
59
+ format: Formats.UINT32,
60
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
61
61
  });
62
62
  this.value = this.getDefaultValue();
63
63
  }
@@ -70,8 +70,8 @@ export class AccessoryIdentifier extends Characteristic {
70
70
  static UUID = '00000057-0000-1000-8000-0026BB765291';
71
71
  constructor() {
72
72
  super('Accessory Identifier', AccessoryIdentifier.UUID, {
73
- format: "string" /* Formats.STRING */,
74
- perms: ["pr" /* Perms.PAIRED_READ */],
73
+ format: Formats.STRING,
74
+ perms: [Perms.PAIRED_READ],
75
75
  });
76
76
  this.value = this.getDefaultValue();
77
77
  }
@@ -86,8 +86,8 @@ export class Active extends Characteristic {
86
86
  static ACTIVE = 1;
87
87
  constructor() {
88
88
  super('Active', Active.UUID, {
89
- format: "uint8" /* Formats.UINT8 */,
90
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
89
+ format: Formats.UINT8,
90
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
91
91
  minValue: 0,
92
92
  maxValue: 1,
93
93
  minStep: 1,
@@ -104,8 +104,8 @@ export class ActiveIdentifier extends Characteristic {
104
104
  static UUID = '000000E7-0000-1000-8000-0026BB765291';
105
105
  constructor() {
106
106
  super('Active Identifier', ActiveIdentifier.UUID, {
107
- format: "uint32" /* Formats.UINT32 */,
108
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
107
+ format: Formats.UINT32,
108
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
109
109
  });
110
110
  this.value = this.getDefaultValue();
111
111
  }
@@ -119,8 +119,8 @@ export class ActivityInterval extends Characteristic {
119
119
  static UUID = '0000023B-0000-1000-8000-0026BB765291';
120
120
  constructor() {
121
121
  super('Activity Interval', ActivityInterval.UUID, {
122
- format: "uint32" /* Formats.UINT32 */,
123
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
122
+ format: Formats.UINT32,
123
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
124
124
  minValue: 0,
125
125
  minStep: 1,
126
126
  });
@@ -135,8 +135,8 @@ export class AdministratorOnlyAccess extends Characteristic {
135
135
  static UUID = '00000001-0000-1000-8000-0026BB765291';
136
136
  constructor() {
137
137
  super('Administrator Only Access', AdministratorOnlyAccess.UUID, {
138
- format: "bool" /* Formats.BOOL */,
139
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
138
+ format: Formats.BOOL,
139
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
140
140
  });
141
141
  this.value = this.getDefaultValue();
142
142
  }
@@ -149,8 +149,8 @@ export class AirParticulateDensity extends Characteristic {
149
149
  static UUID = '00000064-0000-1000-8000-0026BB765291';
150
150
  constructor() {
151
151
  super('Air Particulate Density', AirParticulateDensity.UUID, {
152
- format: "float" /* Formats.FLOAT */,
153
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
152
+ format: Formats.FLOAT,
153
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
154
154
  minValue: 0,
155
155
  maxValue: 1000,
156
156
  });
@@ -167,8 +167,8 @@ export class AirParticulateSize extends Characteristic {
167
167
  static _10_M = 1;
168
168
  constructor() {
169
169
  super('Air Particulate Size', AirParticulateSize.UUID, {
170
- format: "uint8" /* Formats.UINT8 */,
171
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
170
+ format: Formats.UINT8,
171
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
172
172
  minValue: 0,
173
173
  maxValue: 1,
174
174
  minStep: 1,
@@ -185,8 +185,8 @@ export class AirPlayEnable extends Characteristic {
185
185
  static UUID = '0000025B-0000-1000-8000-0026BB765291';
186
186
  constructor() {
187
187
  super('AirPlay Enable', AirPlayEnable.UUID, {
188
- format: "uint8" /* Formats.UINT8 */,
189
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
188
+ format: Formats.UINT8,
189
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
190
190
  minValue: 0,
191
191
  maxValue: 1,
192
192
  });
@@ -207,8 +207,8 @@ export class AirQuality extends Characteristic {
207
207
  static POOR = 5;
208
208
  constructor() {
209
209
  super('Air Quality', AirQuality.UUID, {
210
- format: "uint8" /* Formats.UINT8 */,
211
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
210
+ format: Formats.UINT8,
211
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
212
212
  minValue: 0,
213
213
  maxValue: 5,
214
214
  minStep: 1,
@@ -225,8 +225,8 @@ export class AppMatchingIdentifier extends Characteristic {
225
225
  static UUID = '000000A4-0000-1000-8000-0026BB765291';
226
226
  constructor() {
227
227
  super('App Matching Identifier', AppMatchingIdentifier.UUID, {
228
- format: "tlv8" /* Formats.TLV8 */,
229
- perms: ["pr" /* Perms.PAIRED_READ */],
228
+ format: Formats.TLV8,
229
+ perms: [Perms.PAIRED_READ],
230
230
  });
231
231
  this.value = this.getDefaultValue();
232
232
  }
@@ -239,8 +239,8 @@ export class AssetUpdateReadiness extends Characteristic {
239
239
  static UUID = '00000269-0000-1000-8000-0026BB765291';
240
240
  constructor() {
241
241
  super('Asset Update Readiness', AssetUpdateReadiness.UUID, {
242
- format: "uint32" /* Formats.UINT32 */,
243
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
242
+ format: Formats.UINT32,
243
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
244
244
  });
245
245
  this.value = this.getDefaultValue();
246
246
  }
@@ -253,8 +253,8 @@ export class AudioFeedback extends Characteristic {
253
253
  static UUID = '00000005-0000-1000-8000-0026BB765291';
254
254
  constructor() {
255
255
  super('Audio Feedback', AudioFeedback.UUID, {
256
- format: "bool" /* Formats.BOOL */,
257
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
256
+ format: Formats.BOOL,
257
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
258
258
  });
259
259
  this.value = this.getDefaultValue();
260
260
  }
@@ -267,9 +267,9 @@ export class BatteryLevel extends Characteristic {
267
267
  static UUID = '00000068-0000-1000-8000-0026BB765291';
268
268
  constructor() {
269
269
  super('Battery Level', BatteryLevel.UUID, {
270
- format: "uint8" /* Formats.UINT8 */,
271
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
272
- unit: "percentage" /* Units.PERCENTAGE */,
270
+ format: Formats.UINT8,
271
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
272
+ unit: Units.PERCENTAGE,
273
273
  minValue: 0,
274
274
  maxValue: 100,
275
275
  minStep: 1,
@@ -285,9 +285,9 @@ export class Brightness extends Characteristic {
285
285
  static UUID = '00000008-0000-1000-8000-0026BB765291';
286
286
  constructor() {
287
287
  super('Brightness', Brightness.UUID, {
288
- format: "int" /* Formats.INT */,
289
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
290
- unit: "percentage" /* Units.PERCENTAGE */,
288
+ format: Formats.INT,
289
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
290
+ unit: Units.PERCENTAGE,
291
291
  minValue: 0,
292
292
  maxValue: 100,
293
293
  minStep: 1,
@@ -303,9 +303,9 @@ export class ButtonEvent extends Characteristic {
303
303
  static UUID = '00000126-0000-1000-8000-0026BB765291';
304
304
  constructor() {
305
305
  super('Button Event', ButtonEvent.UUID, {
306
- format: "tlv8" /* Formats.TLV8 */,
307
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
308
- adminOnlyAccess: [2 /* Access.NOTIFY */],
306
+ format: Formats.TLV8,
307
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
308
+ adminOnlyAccess: [Access.NOTIFY],
309
309
  });
310
310
  this.value = this.getDefaultValue();
311
311
  }
@@ -320,12 +320,12 @@ export class CameraOperatingModeIndicator extends Characteristic {
320
320
  static ENABLE = 1;
321
321
  constructor() {
322
322
  super('Camera Operating Mode Indicator', CameraOperatingModeIndicator.UUID, {
323
- format: "uint8" /* Formats.UINT8 */,
323
+ format: Formats.UINT8,
324
324
  perms: [
325
- "ev" /* Perms.NOTIFY */,
326
- "pr" /* Perms.PAIRED_READ */,
327
- "pw" /* Perms.PAIRED_WRITE */,
328
- "tw" /* Perms.TIMED_WRITE */,
325
+ Perms.NOTIFY,
326
+ Perms.PAIRED_READ,
327
+ Perms.PAIRED_WRITE,
328
+ Perms.TIMED_WRITE,
329
329
  ],
330
330
  minValue: 0,
331
331
  maxValue: 1,
@@ -345,8 +345,8 @@ export class CarbonDioxideDetected extends Characteristic {
345
345
  static CO2_LEVELS_ABNORMAL = 1;
346
346
  constructor() {
347
347
  super('Carbon Dioxide Detected', CarbonDioxideDetected.UUID, {
348
- format: "uint8" /* Formats.UINT8 */,
349
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
348
+ format: Formats.UINT8,
349
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
350
350
  minValue: 0,
351
351
  maxValue: 1,
352
352
  minStep: 1,
@@ -363,8 +363,8 @@ export class CarbonDioxideLevel extends Characteristic {
363
363
  static UUID = '00000093-0000-1000-8000-0026BB765291';
364
364
  constructor() {
365
365
  super('Carbon Dioxide Level', CarbonDioxideLevel.UUID, {
366
- format: "float" /* Formats.FLOAT */,
367
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
366
+ format: Formats.FLOAT,
367
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
368
368
  minValue: 0,
369
369
  maxValue: 100000,
370
370
  minStep: 1,
@@ -380,8 +380,8 @@ export class CarbonDioxidePeakLevel extends Characteristic {
380
380
  static UUID = '00000094-0000-1000-8000-0026BB765291';
381
381
  constructor() {
382
382
  super('Carbon Dioxide Peak Level', CarbonDioxidePeakLevel.UUID, {
383
- format: "float" /* Formats.FLOAT */,
384
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
383
+ format: Formats.FLOAT,
384
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
385
385
  minValue: 0,
386
386
  maxValue: 100000,
387
387
  minStep: 1,
@@ -399,8 +399,8 @@ export class CarbonMonoxideDetected extends Characteristic {
399
399
  static CO_LEVELS_ABNORMAL = 1;
400
400
  constructor() {
401
401
  super('Carbon Monoxide Detected', CarbonMonoxideDetected.UUID, {
402
- format: "uint8" /* Formats.UINT8 */,
403
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
402
+ format: Formats.UINT8,
403
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
404
404
  minValue: 0,
405
405
  maxValue: 1,
406
406
  minStep: 1,
@@ -417,8 +417,8 @@ export class CarbonMonoxideLevel extends Characteristic {
417
417
  static UUID = '00000090-0000-1000-8000-0026BB765291';
418
418
  constructor() {
419
419
  super('Carbon Monoxide Level', CarbonMonoxideLevel.UUID, {
420
- format: "float" /* Formats.FLOAT */,
421
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
420
+ format: Formats.FLOAT,
421
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
422
422
  minValue: 0,
423
423
  maxValue: 100,
424
424
  minStep: 1,
@@ -434,8 +434,8 @@ export class CarbonMonoxidePeakLevel extends Characteristic {
434
434
  static UUID = '00000091-0000-1000-8000-0026BB765291';
435
435
  constructor() {
436
436
  super('Carbon Monoxide Peak Level', CarbonMonoxidePeakLevel.UUID, {
437
- format: "float" /* Formats.FLOAT */,
438
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
437
+ format: Formats.FLOAT,
438
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
439
439
  minValue: 0,
440
440
  maxValue: 100,
441
441
  minStep: 1,
@@ -452,8 +452,8 @@ export class CCAEnergyDetectThreshold extends Characteristic {
452
452
  static UUID = '00000246-0000-1000-8000-0026BB765291';
453
453
  constructor() {
454
454
  super('CCA Energy Detect Threshold', CCAEnergyDetectThreshold.UUID, {
455
- format: "int" /* Formats.INT */,
456
- perms: ["pr" /* Perms.PAIRED_READ */],
455
+ format: Formats.INT,
456
+ perms: [Perms.PAIRED_READ],
457
457
  });
458
458
  this.value = this.getDefaultValue();
459
459
  }
@@ -467,8 +467,8 @@ export class CCASignalDetectThreshold extends Characteristic {
467
467
  static UUID = '00000245-0000-1000-8000-0026BB765291';
468
468
  constructor() {
469
469
  super('CCA Signal Detect Threshold', CCASignalDetectThreshold.UUID, {
470
- format: "int" /* Formats.INT */,
471
- perms: ["pr" /* Perms.PAIRED_READ */],
470
+ format: Formats.INT,
471
+ perms: [Perms.PAIRED_READ],
472
472
  });
473
473
  this.value = this.getDefaultValue();
474
474
  }
@@ -482,8 +482,8 @@ export class CharacteristicValueActiveTransitionCount extends Characteristic {
482
482
  static UUID = '0000024B-0000-1000-8000-0026BB765291';
483
483
  constructor() {
484
484
  super('Characteristic Value Active Transition Count', CharacteristicValueActiveTransitionCount.UUID, {
485
- format: "uint8" /* Formats.UINT8 */,
486
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
485
+ format: Formats.UINT8,
486
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
487
487
  });
488
488
  this.value = this.getDefaultValue();
489
489
  }
@@ -497,8 +497,8 @@ export class CharacteristicValueTransitionControl extends Characteristic {
497
497
  static UUID = '00000143-0000-1000-8000-0026BB765291';
498
498
  constructor() {
499
499
  super('Characteristic Value Transition Control', CharacteristicValueTransitionControl.UUID, {
500
- format: "tlv8" /* Formats.TLV8 */,
501
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
500
+ format: Formats.TLV8,
501
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
502
502
  });
503
503
  this.value = this.getDefaultValue();
504
504
  }
@@ -514,8 +514,8 @@ export class ChargingState extends Characteristic {
514
514
  static NOT_CHARGEABLE = 2;
515
515
  constructor() {
516
516
  super('Charging State', ChargingState.UUID, {
517
- format: "uint8" /* Formats.UINT8 */,
518
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
517
+ format: Formats.UINT8,
518
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
519
519
  minValue: 0,
520
520
  maxValue: 2,
521
521
  minStep: 1,
@@ -534,8 +534,8 @@ export class ClosedCaptions extends Characteristic {
534
534
  static ENABLED = 1;
535
535
  constructor() {
536
536
  super('Closed Captions', ClosedCaptions.UUID, {
537
- format: "uint8" /* Formats.UINT8 */,
538
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
537
+ format: Formats.UINT8,
538
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
539
539
  minValue: 0,
540
540
  maxValue: 1,
541
541
  minStep: 1,
@@ -552,8 +552,8 @@ export class ColorTemperature extends Characteristic {
552
552
  static UUID = '000000CE-0000-1000-8000-0026BB765291';
553
553
  constructor() {
554
554
  super('Color Temperature', ColorTemperature.UUID, {
555
- format: "int" /* Formats.INT */,
556
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
555
+ format: Formats.INT,
556
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
557
557
  minValue: 140,
558
558
  maxValue: 500,
559
559
  minStep: 1,
@@ -570,8 +570,8 @@ export class ConfigurationState extends Characteristic {
570
570
  static UUID = '00000263-0000-1000-8000-0026BB765291';
571
571
  constructor() {
572
572
  super('Configuration State', ConfigurationState.UUID, {
573
- format: "uint16" /* Formats.UINT16 */,
574
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
573
+ format: Formats.UINT16,
574
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
575
575
  });
576
576
  this.value = this.getDefaultValue();
577
577
  }
@@ -584,8 +584,8 @@ export class ConfiguredName extends Characteristic {
584
584
  static UUID = '000000E3-0000-1000-8000-0026BB765291';
585
585
  constructor() {
586
586
  super('Configured Name', ConfiguredName.UUID, {
587
- format: "string" /* Formats.STRING */,
588
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
587
+ format: Formats.STRING,
588
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
589
589
  });
590
590
  this.value = this.getDefaultValue();
591
591
  }
@@ -598,8 +598,8 @@ export class ConnectionHealthMonitor extends Characteristic {
598
598
  static UUID = '00000273-0000-1000-8000-0026BB765291';
599
599
  constructor() {
600
600
  super('Connection Health Monitor', ConnectionHealthMonitor.UUID, {
601
- format: "tlv8" /* Formats.TLV8 */,
602
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
601
+ format: Formats.TLV8,
602
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
603
603
  });
604
604
  this.value = this.getDefaultValue();
605
605
  }
@@ -614,8 +614,8 @@ export class ContactSensorState extends Characteristic {
614
614
  static CONTACT_NOT_DETECTED = 1;
615
615
  constructor() {
616
616
  super('Contact Sensor State', ContactSensorState.UUID, {
617
- format: "uint8" /* Formats.UINT8 */,
618
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
617
+ format: Formats.UINT8,
618
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
619
619
  minValue: 0,
620
620
  maxValue: 1,
621
621
  minStep: 1,
@@ -632,9 +632,9 @@ export class CoolingThresholdTemperature extends Characteristic {
632
632
  static UUID = '0000000D-0000-1000-8000-0026BB765291';
633
633
  constructor() {
634
634
  super('Cooling Threshold Temperature', CoolingThresholdTemperature.UUID, {
635
- format: "float" /* Formats.FLOAT */,
636
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
637
- unit: "celsius" /* Units.CELSIUS */,
635
+ format: Formats.FLOAT,
636
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
637
+ unit: Units.CELSIUS,
638
638
  minValue: 10,
639
639
  maxValue: 35,
640
640
  minStep: 0.1,
@@ -651,8 +651,8 @@ export class CryptoHash extends Characteristic {
651
651
  static UUID = '00000250-0000-1000-8000-0026BB765291';
652
652
  constructor() {
653
653
  super('Crypto Hash', CryptoHash.UUID, {
654
- format: "tlv8" /* Formats.TLV8 */,
655
- perms: ["pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
654
+ format: Formats.TLV8,
655
+ perms: [Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
656
656
  });
657
657
  this.value = this.getDefaultValue();
658
658
  }
@@ -668,8 +668,8 @@ export class CurrentAirPurifierState extends Characteristic {
668
668
  static PURIFYING_AIR = 2;
669
669
  constructor() {
670
670
  super('Current Air Purifier State', CurrentAirPurifierState.UUID, {
671
- format: "uint8" /* Formats.UINT8 */,
672
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
671
+ format: Formats.UINT8,
672
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
673
673
  minValue: 0,
674
674
  maxValue: 2,
675
675
  minStep: 1,
@@ -686,9 +686,9 @@ export class CurrentAmbientLightLevel extends Characteristic {
686
686
  static UUID = '0000006B-0000-1000-8000-0026BB765291';
687
687
  constructor() {
688
688
  super('Current Ambient Light Level', CurrentAmbientLightLevel.UUID, {
689
- format: "float" /* Formats.FLOAT */,
690
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
691
- unit: "lux" /* Units.LUX */,
689
+ format: Formats.FLOAT,
690
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
691
+ unit: Units.LUX,
692
692
  minValue: 0.0001,
693
693
  maxValue: 100000,
694
694
  });
@@ -708,8 +708,8 @@ export class CurrentDoorState extends Characteristic {
708
708
  static STOPPED = 4;
709
709
  constructor() {
710
710
  super('Current Door State', CurrentDoorState.UUID, {
711
- format: "uint8" /* Formats.UINT8 */,
712
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
711
+ format: Formats.UINT8,
712
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
713
713
  minValue: 0,
714
714
  maxValue: 4,
715
715
  minStep: 1,
@@ -729,8 +729,8 @@ export class CurrentFanState extends Characteristic {
729
729
  static BLOWING_AIR = 2;
730
730
  constructor() {
731
731
  super('Current Fan State', CurrentFanState.UUID, {
732
- format: "uint8" /* Formats.UINT8 */,
733
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
732
+ format: Formats.UINT8,
733
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
734
734
  minValue: 0,
735
735
  maxValue: 2,
736
736
  minStep: 1,
@@ -751,8 +751,8 @@ export class CurrentHeaterCoolerState extends Characteristic {
751
751
  static COOLING = 3;
752
752
  constructor() {
753
753
  super('Current Heater-Cooler State', CurrentHeaterCoolerState.UUID, {
754
- format: "uint8" /* Formats.UINT8 */,
755
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
754
+ format: Formats.UINT8,
755
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
756
756
  minValue: 0,
757
757
  maxValue: 3,
758
758
  minStep: 1,
@@ -772,8 +772,8 @@ export class CurrentHeatingCoolingState extends Characteristic {
772
772
  static COOL = 2;
773
773
  constructor() {
774
774
  super('Current Heating Cooling State', CurrentHeatingCoolingState.UUID, {
775
- format: "uint8" /* Formats.UINT8 */,
776
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
775
+ format: Formats.UINT8,
776
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
777
777
  minValue: 0,
778
778
  maxValue: 2,
779
779
  minStep: 1,
@@ -790,9 +790,9 @@ export class CurrentHorizontalTiltAngle extends Characteristic {
790
790
  static UUID = '0000006C-0000-1000-8000-0026BB765291';
791
791
  constructor() {
792
792
  super('Current Horizontal Tilt Angle', CurrentHorizontalTiltAngle.UUID, {
793
- format: "int" /* Formats.INT */,
794
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
795
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
793
+ format: Formats.INT,
794
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
795
+ unit: Units.ARC_DEGREE,
796
796
  minValue: -90,
797
797
  maxValue: 90,
798
798
  minStep: 1,
@@ -812,8 +812,8 @@ export class CurrentHumidifierDehumidifierState extends Characteristic {
812
812
  static DEHUMIDIFYING = 3;
813
813
  constructor() {
814
814
  super('Current Humidifier-Dehumidifier State', CurrentHumidifierDehumidifierState.UUID, {
815
- format: "uint8" /* Formats.UINT8 */,
816
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
815
+ format: Formats.UINT8,
816
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
817
817
  minValue: 0,
818
818
  maxValue: 3,
819
819
  minStep: 1,
@@ -835,8 +835,8 @@ export class CurrentMediaState extends Characteristic {
835
835
  static INTERRUPTED = 5;
836
836
  constructor() {
837
837
  super('Current Media State', CurrentMediaState.UUID, {
838
- format: "uint8" /* Formats.UINT8 */,
839
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
838
+ format: Formats.UINT8,
839
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
840
840
  minValue: 0,
841
841
  maxValue: 5,
842
842
  minStep: 1,
@@ -853,9 +853,9 @@ export class CurrentPosition extends Characteristic {
853
853
  static UUID = '0000006D-0000-1000-8000-0026BB765291';
854
854
  constructor() {
855
855
  super('Current Position', CurrentPosition.UUID, {
856
- format: "uint8" /* Formats.UINT8 */,
857
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
858
- unit: "percentage" /* Units.PERCENTAGE */,
856
+ format: Formats.UINT8,
857
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
858
+ unit: Units.PERCENTAGE,
859
859
  minValue: 0,
860
860
  maxValue: 100,
861
861
  minStep: 1,
@@ -871,9 +871,9 @@ export class CurrentRelativeHumidity extends Characteristic {
871
871
  static UUID = '00000010-0000-1000-8000-0026BB765291';
872
872
  constructor() {
873
873
  super('Current Relative Humidity', CurrentRelativeHumidity.UUID, {
874
- format: "float" /* Formats.FLOAT */,
875
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
876
- unit: "percentage" /* Units.PERCENTAGE */,
874
+ format: Formats.FLOAT,
875
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
876
+ unit: Units.PERCENTAGE,
877
877
  minValue: 0,
878
878
  maxValue: 100,
879
879
  minStep: 1,
@@ -892,8 +892,8 @@ export class CurrentSlatState extends Characteristic {
892
892
  static SWINGING = 2;
893
893
  constructor() {
894
894
  super('Current Slat State', CurrentSlatState.UUID, {
895
- format: "uint8" /* Formats.UINT8 */,
896
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
895
+ format: Formats.UINT8,
896
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
897
897
  minValue: 0,
898
898
  maxValue: 2,
899
899
  minStep: 1,
@@ -910,9 +910,9 @@ export class CurrentTemperature extends Characteristic {
910
910
  static UUID = '00000011-0000-1000-8000-0026BB765291';
911
911
  constructor() {
912
912
  super('Current Temperature', CurrentTemperature.UUID, {
913
- format: "float" /* Formats.FLOAT */,
914
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
915
- unit: "celsius" /* Units.CELSIUS */,
913
+ format: Formats.FLOAT,
914
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
915
+ unit: Units.CELSIUS,
916
916
  minValue: -270,
917
917
  maxValue: 100,
918
918
  minStep: 0.1,
@@ -928,9 +928,9 @@ export class CurrentTiltAngle extends Characteristic {
928
928
  static UUID = '000000C1-0000-1000-8000-0026BB765291';
929
929
  constructor() {
930
930
  super('Current Tilt Angle', CurrentTiltAngle.UUID, {
931
- format: "int" /* Formats.INT */,
932
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
933
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
931
+ format: Formats.INT,
932
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
933
+ unit: Units.ARC_DEGREE,
934
934
  minValue: -90,
935
935
  maxValue: 90,
936
936
  minStep: 1,
@@ -947,8 +947,8 @@ export class CurrentTransport extends Characteristic {
947
947
  static UUID = '0000022B-0000-1000-8000-0026BB765291';
948
948
  constructor() {
949
949
  super('Current Transport', CurrentTransport.UUID, {
950
- format: "bool" /* Formats.BOOL */,
951
- perms: ["pr" /* Perms.PAIRED_READ */],
950
+ format: Formats.BOOL,
951
+ perms: [Perms.PAIRED_READ],
952
952
  });
953
953
  this.value = this.getDefaultValue();
954
954
  }
@@ -961,9 +961,9 @@ export class CurrentVerticalTiltAngle extends Characteristic {
961
961
  static UUID = '0000006E-0000-1000-8000-0026BB765291';
962
962
  constructor() {
963
963
  super('Current Vertical Tilt Angle', CurrentVerticalTiltAngle.UUID, {
964
- format: "int" /* Formats.INT */,
965
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
966
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
964
+ format: Formats.INT,
965
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
966
+ unit: Units.ARC_DEGREE,
967
967
  minValue: -90,
968
968
  maxValue: 90,
969
969
  minStep: 1,
@@ -981,8 +981,8 @@ export class CurrentVisibilityState extends Characteristic {
981
981
  static HIDDEN = 1;
982
982
  constructor() {
983
983
  super('Current Visibility State', CurrentVisibilityState.UUID, {
984
- format: "uint8" /* Formats.UINT8 */,
985
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
984
+ format: Formats.UINT8,
985
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
986
986
  minValue: 0,
987
987
  maxValue: 1,
988
988
  minStep: 1,
@@ -1000,8 +1000,8 @@ export class DataStreamHAPTransport extends Characteristic {
1000
1000
  static UUID = '00000138-0000-1000-8000-0026BB765291';
1001
1001
  constructor() {
1002
1002
  super('Data Stream HAP Transport', DataStreamHAPTransport.UUID, {
1003
- format: "tlv8" /* Formats.TLV8 */,
1004
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
1003
+ format: Formats.TLV8,
1004
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
1005
1005
  });
1006
1006
  this.value = this.getDefaultValue();
1007
1007
  }
@@ -1015,8 +1015,8 @@ export class DataStreamHAPTransportInterrupt extends Characteristic {
1015
1015
  static UUID = '00000139-0000-1000-8000-0026BB765291';
1016
1016
  constructor() {
1017
1017
  super('Data Stream HAP Transport Interrupt', DataStreamHAPTransportInterrupt.UUID, {
1018
- format: "tlv8" /* Formats.TLV8 */,
1019
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1018
+ format: Formats.TLV8,
1019
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1020
1020
  });
1021
1021
  this.value = this.getDefaultValue();
1022
1022
  }
@@ -1030,9 +1030,9 @@ export class DiagonalFieldOfView extends Characteristic {
1030
1030
  static UUID = '00000224-0000-1000-8000-0026BB765291';
1031
1031
  constructor() {
1032
1032
  super('Diagonal Field Of View', DiagonalFieldOfView.UUID, {
1033
- format: "float" /* Formats.FLOAT */,
1034
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1035
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
1033
+ format: Formats.FLOAT,
1034
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1035
+ unit: Units.ARC_DEGREE,
1036
1036
  minValue: 0,
1037
1037
  maxValue: 360,
1038
1038
  });
@@ -1047,8 +1047,8 @@ export class DigitalZoom extends Characteristic {
1047
1047
  static UUID = '0000011D-0000-1000-8000-0026BB765291';
1048
1048
  constructor() {
1049
1049
  super('Digital Zoom', DigitalZoom.UUID, {
1050
- format: "float" /* Formats.FLOAT */,
1051
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1050
+ format: Formats.FLOAT,
1051
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1052
1052
  minStep: 0.1,
1053
1053
  });
1054
1054
  this.value = this.getDefaultValue();
@@ -1062,8 +1062,8 @@ export class DisplayOrder extends Characteristic {
1062
1062
  static UUID = '00000136-0000-1000-8000-0026BB765291';
1063
1063
  constructor() {
1064
1064
  super('Display Order', DisplayOrder.UUID, {
1065
- format: "tlv8" /* Formats.TLV8 */,
1066
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1065
+ format: Formats.TLV8,
1066
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1067
1067
  });
1068
1068
  this.value = this.getDefaultValue();
1069
1069
  }
@@ -1076,8 +1076,8 @@ export class ErrorStatus extends Characteristic {
1076
1076
  static UUID = '00000330-0000-1000-8000-0026BB765291';
1077
1077
  constructor() {
1078
1078
  super('Error Status', ErrorStatus.UUID, {
1079
- format: "tlv8" /* Formats.TLV8 */,
1080
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1079
+ format: Formats.TLV8,
1080
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1081
1081
  });
1082
1082
  this.value = this.getDefaultValue();
1083
1083
  }
@@ -1091,8 +1091,8 @@ export class EventRetransmissionMaximum extends Characteristic {
1091
1091
  static UUID = '0000023D-0000-1000-8000-0026BB765291';
1092
1092
  constructor() {
1093
1093
  super('Event Retransmission Maximum', EventRetransmissionMaximum.UUID, {
1094
- format: "uint8" /* Formats.UINT8 */,
1095
- perms: ["pr" /* Perms.PAIRED_READ */],
1094
+ format: Formats.UINT8,
1095
+ perms: [Perms.PAIRED_READ],
1096
1096
  });
1097
1097
  this.value = this.getDefaultValue();
1098
1098
  }
@@ -1107,8 +1107,8 @@ export class EventSnapshotsActive extends Characteristic {
1107
1107
  static ENABLE = 1;
1108
1108
  constructor() {
1109
1109
  super('Event Snapshots Active', EventSnapshotsActive.UUID, {
1110
- format: "uint8" /* Formats.UINT8 */,
1111
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1110
+ format: Formats.UINT8,
1111
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1112
1112
  minValue: 0,
1113
1113
  maxValue: 1,
1114
1114
  validValues: [0, 1],
@@ -1125,8 +1125,8 @@ export class EventTransmissionCounters extends Characteristic {
1125
1125
  static UUID = '0000023E-0000-1000-8000-0026BB765291';
1126
1126
  constructor() {
1127
1127
  super('Event Transmission Counters', EventTransmissionCounters.UUID, {
1128
- format: "uint32" /* Formats.UINT32 */,
1129
- perms: ["pr" /* Perms.PAIRED_READ */],
1128
+ format: Formats.UINT32,
1129
+ perms: [Perms.PAIRED_READ],
1130
1130
  });
1131
1131
  this.value = this.getDefaultValue();
1132
1132
  }
@@ -1141,8 +1141,8 @@ export class FilterChangeIndication extends Characteristic {
1141
1141
  static CHANGE_FILTER = 1;
1142
1142
  constructor() {
1143
1143
  super('Filter Change Indication', FilterChangeIndication.UUID, {
1144
- format: "uint8" /* Formats.UINT8 */,
1145
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1144
+ format: Formats.UINT8,
1145
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1146
1146
  minValue: 0,
1147
1147
  maxValue: 1,
1148
1148
  minStep: 1,
@@ -1159,8 +1159,8 @@ export class FilterLifeLevel extends Characteristic {
1159
1159
  static UUID = '000000AB-0000-1000-8000-0026BB765291';
1160
1160
  constructor() {
1161
1161
  super('Filter Life Level', FilterLifeLevel.UUID, {
1162
- format: "float" /* Formats.FLOAT */,
1163
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1162
+ format: Formats.FLOAT,
1163
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1164
1164
  minValue: 0,
1165
1165
  maxValue: 100,
1166
1166
  minStep: 1,
@@ -1176,8 +1176,8 @@ export class FirmwareRevision extends Characteristic {
1176
1176
  static UUID = '00000052-0000-1000-8000-0026BB765291';
1177
1177
  constructor() {
1178
1178
  super('Firmware Revision', FirmwareRevision.UUID, {
1179
- format: "string" /* Formats.STRING */,
1180
- perms: ["pr" /* Perms.PAIRED_READ */],
1179
+ format: Formats.STRING,
1180
+ perms: [Perms.PAIRED_READ],
1181
1181
  });
1182
1182
  this.value = this.getDefaultValue();
1183
1183
  }
@@ -1190,8 +1190,8 @@ export class FirmwareUpdateEnabled extends Characteristic {
1190
1190
  static UUID = '00000318-0000-1000-8000-0026BB765291';
1191
1191
  constructor() {
1192
1192
  super('Firmware Update Enabled', FirmwareUpdateEnabled.UUID, {
1193
- format: "bool" /* Formats.BOOL */,
1194
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1193
+ format: Formats.BOOL,
1194
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1195
1195
  });
1196
1196
  this.value = this.getDefaultValue();
1197
1197
  }
@@ -1204,8 +1204,8 @@ export class FirmwareUpdateProtocolList extends Characteristic {
1204
1204
  static UUID = '0000026F-0000-1000-8000-0026BB765291';
1205
1205
  constructor() {
1206
1206
  super('Firmware Update Protocol List', FirmwareUpdateProtocolList.UUID, {
1207
- format: "tlv8" /* Formats.TLV8 */,
1208
- perms: ["pr" /* Perms.PAIRED_READ */],
1207
+ format: Formats.TLV8,
1208
+ perms: [Perms.PAIRED_READ],
1209
1209
  });
1210
1210
  this.value = this.getDefaultValue();
1211
1211
  }
@@ -1218,8 +1218,8 @@ export class FirmwareUpdateReadiness extends Characteristic {
1218
1218
  static UUID = '00000234-0000-1000-8000-0026BB765291';
1219
1219
  constructor() {
1220
1220
  super('Firmware Update Readiness', FirmwareUpdateReadiness.UUID, {
1221
- format: "tlv8" /* Formats.TLV8 */,
1222
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1221
+ format: Formats.TLV8,
1222
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1223
1223
  });
1224
1224
  this.value = this.getDefaultValue();
1225
1225
  }
@@ -1232,8 +1232,8 @@ export class FirmwareUpdateStatus extends Characteristic {
1232
1232
  static UUID = '00000235-0000-1000-8000-0026BB765291';
1233
1233
  constructor() {
1234
1234
  super('Firmware Update Status', FirmwareUpdateStatus.UUID, {
1235
- format: "tlv8" /* Formats.TLV8 */,
1236
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1235
+ format: Formats.TLV8,
1236
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1237
1237
  });
1238
1238
  this.value = this.getDefaultValue();
1239
1239
  }
@@ -1247,8 +1247,8 @@ export class HardwareFinish extends Characteristic {
1247
1247
  static UUID = '0000026C-0000-1000-8000-0026BB765291';
1248
1248
  constructor() {
1249
1249
  super('Hardware Finish', HardwareFinish.UUID, {
1250
- format: "tlv8" /* Formats.TLV8 */,
1251
- perms: ["pr" /* Perms.PAIRED_READ */],
1250
+ format: Formats.TLV8,
1251
+ perms: [Perms.PAIRED_READ],
1252
1252
  });
1253
1253
  this.value = this.getDefaultValue();
1254
1254
  }
@@ -1261,8 +1261,8 @@ export class HardwareRevision extends Characteristic {
1261
1261
  static UUID = '00000053-0000-1000-8000-0026BB765291';
1262
1262
  constructor() {
1263
1263
  super('Hardware Revision', HardwareRevision.UUID, {
1264
- format: "string" /* Formats.STRING */,
1265
- perms: ["pr" /* Perms.PAIRED_READ */],
1264
+ format: Formats.STRING,
1265
+ perms: [Perms.PAIRED_READ],
1266
1266
  });
1267
1267
  this.value = this.getDefaultValue();
1268
1268
  }
@@ -1276,8 +1276,8 @@ export class HeartBeat extends Characteristic {
1276
1276
  static UUID = '0000024A-0000-1000-8000-0026BB765291';
1277
1277
  constructor() {
1278
1278
  super('Heart Beat', HeartBeat.UUID, {
1279
- format: "uint32" /* Formats.UINT32 */,
1280
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1279
+ format: Formats.UINT32,
1280
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1281
1281
  });
1282
1282
  this.value = this.getDefaultValue();
1283
1283
  }
@@ -1290,9 +1290,9 @@ export class HeatingThresholdTemperature extends Characteristic {
1290
1290
  static UUID = '00000012-0000-1000-8000-0026BB765291';
1291
1291
  constructor() {
1292
1292
  super('Heating Threshold Temperature', HeatingThresholdTemperature.UUID, {
1293
- format: "float" /* Formats.FLOAT */,
1294
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1295
- unit: "celsius" /* Units.CELSIUS */,
1293
+ format: Formats.FLOAT,
1294
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1295
+ unit: Units.CELSIUS,
1296
1296
  minValue: 0,
1297
1297
  maxValue: 25,
1298
1298
  minStep: 0.1,
@@ -1308,8 +1308,8 @@ export class HoldPosition extends Characteristic {
1308
1308
  static UUID = '0000006F-0000-1000-8000-0026BB765291';
1309
1309
  constructor() {
1310
1310
  super('Hold Position', HoldPosition.UUID, {
1311
- format: "bool" /* Formats.BOOL */,
1312
- perms: ["pw" /* Perms.PAIRED_WRITE */],
1311
+ format: Formats.BOOL,
1312
+ perms: [Perms.PAIRED_WRITE],
1313
1313
  });
1314
1314
  this.value = this.getDefaultValue();
1315
1315
  }
@@ -1324,8 +1324,8 @@ export class HomeKitCameraActive extends Characteristic {
1324
1324
  static ON = 1;
1325
1325
  constructor() {
1326
1326
  super('HomeKit Camera Active', HomeKitCameraActive.UUID, {
1327
- format: "uint8" /* Formats.UINT8 */,
1328
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1327
+ format: Formats.UINT8,
1328
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1329
1329
  minValue: 0,
1330
1330
  maxValue: 1,
1331
1331
  minStep: 1,
@@ -1342,9 +1342,9 @@ export class Hue extends Characteristic {
1342
1342
  static UUID = '00000013-0000-1000-8000-0026BB765291';
1343
1343
  constructor() {
1344
1344
  super('Hue', Hue.UUID, {
1345
- format: "float" /* Formats.FLOAT */,
1346
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1347
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
1345
+ format: Formats.FLOAT,
1346
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1347
+ unit: Units.ARC_DEGREE,
1348
1348
  minValue: 0,
1349
1349
  maxValue: 360,
1350
1350
  minStep: 1,
@@ -1360,8 +1360,8 @@ export class Identifier extends Characteristic {
1360
1360
  static UUID = '000000E6-0000-1000-8000-0026BB765291';
1361
1361
  constructor() {
1362
1362
  super('Identifier', Identifier.UUID, {
1363
- format: "uint32" /* Formats.UINT32 */,
1364
- perms: ["pr" /* Perms.PAIRED_READ */],
1363
+ format: Formats.UINT32,
1364
+ perms: [Perms.PAIRED_READ],
1365
1365
  });
1366
1366
  this.value = this.getDefaultValue();
1367
1367
  }
@@ -1374,8 +1374,8 @@ export class Identify extends Characteristic {
1374
1374
  static UUID = '00000014-0000-1000-8000-0026BB765291';
1375
1375
  constructor() {
1376
1376
  super('Identify', Identify.UUID, {
1377
- format: "bool" /* Formats.BOOL */,
1378
- perms: ["pw" /* Perms.PAIRED_WRITE */],
1377
+ format: Formats.BOOL,
1378
+ perms: [Perms.PAIRED_WRITE],
1379
1379
  });
1380
1380
  this.value = this.getDefaultValue();
1381
1381
  }
@@ -1388,8 +1388,8 @@ export class ImageMirroring extends Characteristic {
1388
1388
  static UUID = '0000011F-0000-1000-8000-0026BB765291';
1389
1389
  constructor() {
1390
1390
  super('Image Mirroring', ImageMirroring.UUID, {
1391
- format: "bool" /* Formats.BOOL */,
1392
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1391
+ format: Formats.BOOL,
1392
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1393
1393
  });
1394
1394
  this.value = this.getDefaultValue();
1395
1395
  }
@@ -1402,9 +1402,9 @@ export class ImageRotation extends Characteristic {
1402
1402
  static UUID = '0000011E-0000-1000-8000-0026BB765291';
1403
1403
  constructor() {
1404
1404
  super('Image Rotation', ImageRotation.UUID, {
1405
- format: "float" /* Formats.FLOAT */,
1406
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1407
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
1405
+ format: Formats.FLOAT,
1406
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1407
+ unit: Units.ARC_DEGREE,
1408
1408
  minValue: 0,
1409
1409
  maxValue: 270,
1410
1410
  minStep: 90,
@@ -1426,8 +1426,8 @@ export class InputDeviceType extends Characteristic {
1426
1426
  static AUDIO_SYSTEM = 5;
1427
1427
  constructor() {
1428
1428
  super('Input Device Type', InputDeviceType.UUID, {
1429
- format: "uint8" /* Formats.UINT8 */,
1430
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1429
+ format: Formats.UINT8,
1430
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1431
1431
  minValue: 0,
1432
1432
  maxValue: 6,
1433
1433
  minStep: 1,
@@ -1455,8 +1455,8 @@ export class InputSourceType extends Characteristic {
1455
1455
  static APPLICATION = 10;
1456
1456
  constructor() {
1457
1457
  super('Input Source Type', InputSourceType.UUID, {
1458
- format: "uint8" /* Formats.UINT8 */,
1459
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1458
+ format: Formats.UINT8,
1459
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1460
1460
  minValue: 0,
1461
1461
  maxValue: 10,
1462
1462
  minStep: 1,
@@ -1475,8 +1475,8 @@ export class InUse extends Characteristic {
1475
1475
  static IN_USE = 1;
1476
1476
  constructor() {
1477
1477
  super('In Use', InUse.UUID, {
1478
- format: "uint8" /* Formats.UINT8 */,
1479
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1478
+ format: Formats.UINT8,
1479
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1480
1480
  minValue: 0,
1481
1481
  maxValue: 1,
1482
1482
  minStep: 1,
@@ -1495,8 +1495,8 @@ export class IsConfigured extends Characteristic {
1495
1495
  static CONFIGURED = 1;
1496
1496
  constructor() {
1497
1497
  super('Is Configured', IsConfigured.UUID, {
1498
- format: "uint8" /* Formats.UINT8 */,
1499
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1498
+ format: Formats.UINT8,
1499
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1500
1500
  minValue: 0,
1501
1501
  maxValue: 1,
1502
1502
  minStep: 1,
@@ -1515,8 +1515,8 @@ export class LeakDetected extends Characteristic {
1515
1515
  static LEAK_DETECTED = 1;
1516
1516
  constructor() {
1517
1517
  super('Leak Detected', LeakDetected.UUID, {
1518
- format: "uint8" /* Formats.UINT8 */,
1519
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1518
+ format: Formats.UINT8,
1519
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1520
1520
  minValue: 0,
1521
1521
  maxValue: 1,
1522
1522
  minStep: 1,
@@ -1533,8 +1533,8 @@ export class ListPairings extends Characteristic {
1533
1533
  static UUID = '00000050-0000-1000-8000-0026BB765291';
1534
1534
  constructor() {
1535
1535
  super('List Pairings', ListPairings.UUID, {
1536
- format: "tlv8" /* Formats.TLV8 */,
1537
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1536
+ format: Formats.TLV8,
1537
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1538
1538
  });
1539
1539
  this.value = this.getDefaultValue();
1540
1540
  }
@@ -1547,8 +1547,8 @@ export class LockControlPoint extends Characteristic {
1547
1547
  static UUID = '00000019-0000-1000-8000-0026BB765291';
1548
1548
  constructor() {
1549
1549
  super('Lock Control Point', LockControlPoint.UUID, {
1550
- format: "tlv8" /* Formats.TLV8 */,
1551
- perms: ["pw" /* Perms.PAIRED_WRITE */],
1550
+ format: Formats.TLV8,
1551
+ perms: [Perms.PAIRED_WRITE],
1552
1552
  });
1553
1553
  this.value = this.getDefaultValue();
1554
1554
  }
@@ -1565,8 +1565,8 @@ export class LockCurrentState extends Characteristic {
1565
1565
  static UNKNOWN = 3;
1566
1566
  constructor() {
1567
1567
  super('Lock Current State', LockCurrentState.UUID, {
1568
- format: "uint8" /* Formats.UINT8 */,
1569
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1568
+ format: Formats.UINT8,
1569
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1570
1570
  minValue: 0,
1571
1571
  maxValue: 3,
1572
1572
  minStep: 1,
@@ -1594,8 +1594,8 @@ export class LockLastKnownAction extends Characteristic {
1594
1594
  static UNSECURED_PHYSICALLY = 10;
1595
1595
  constructor() {
1596
1596
  super('Lock Last Known Action', LockLastKnownAction.UUID, {
1597
- format: "uint8" /* Formats.UINT8 */,
1598
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1597
+ format: Formats.UINT8,
1598
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1599
1599
  minValue: 0,
1600
1600
  maxValue: 10,
1601
1601
  minStep: 1,
@@ -1612,9 +1612,9 @@ export class LockManagementAutoSecurityTimeout extends Characteristic {
1612
1612
  static UUID = '0000001A-0000-1000-8000-0026BB765291';
1613
1613
  constructor() {
1614
1614
  super('Lock Management Auto Security Timeout', LockManagementAutoSecurityTimeout.UUID, {
1615
- format: "uint32" /* Formats.UINT32 */,
1616
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1617
- unit: "seconds" /* Units.SECONDS */,
1615
+ format: Formats.UINT32,
1616
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1617
+ unit: Units.SECONDS,
1618
1618
  });
1619
1619
  this.value = this.getDefaultValue();
1620
1620
  }
@@ -1629,8 +1629,8 @@ export class LockPhysicalControls extends Characteristic {
1629
1629
  static CONTROL_LOCK_ENABLED = 1;
1630
1630
  constructor() {
1631
1631
  super('Lock Physical Controls', LockPhysicalControls.UUID, {
1632
- format: "uint8" /* Formats.UINT8 */,
1633
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1632
+ format: Formats.UINT8,
1633
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1634
1634
  minValue: 0,
1635
1635
  maxValue: 1,
1636
1636
  minStep: 1,
@@ -1649,8 +1649,8 @@ export class LockTargetState extends Characteristic {
1649
1649
  static SECURED = 1;
1650
1650
  constructor() {
1651
1651
  super('Lock Target State', LockTargetState.UUID, {
1652
- format: "uint8" /* Formats.UINT8 */,
1653
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1652
+ format: Formats.UINT8,
1653
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1654
1654
  minValue: 0,
1655
1655
  maxValue: 1,
1656
1656
  minStep: 1,
@@ -1667,8 +1667,8 @@ export class Logs extends Characteristic {
1667
1667
  static UUID = '0000001F-0000-1000-8000-0026BB765291';
1668
1668
  constructor() {
1669
1669
  super('Logs', Logs.UUID, {
1670
- format: "tlv8" /* Formats.TLV8 */,
1671
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1670
+ format: Formats.TLV8,
1671
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1672
1672
  });
1673
1673
  this.value = this.getDefaultValue();
1674
1674
  }
@@ -1682,8 +1682,8 @@ export class MACRetransmissionMaximum extends Characteristic {
1682
1682
  static UUID = '00000247-0000-1000-8000-0026BB765291';
1683
1683
  constructor() {
1684
1684
  super('MAC Retransmission Maximum', MACRetransmissionMaximum.UUID, {
1685
- format: "uint8" /* Formats.UINT8 */,
1686
- perms: ["pr" /* Perms.PAIRED_READ */],
1685
+ format: Formats.UINT8,
1686
+ perms: [Perms.PAIRED_READ],
1687
1687
  });
1688
1688
  this.value = this.getDefaultValue();
1689
1689
  }
@@ -1696,8 +1696,8 @@ export class MACTransmissionCounters extends Characteristic {
1696
1696
  static UUID = '00000248-0000-1000-8000-0026BB765291';
1697
1697
  constructor() {
1698
1698
  super('MAC Transmission Counters', MACTransmissionCounters.UUID, {
1699
- format: "data" /* Formats.DATA */,
1700
- perms: ["pr" /* Perms.PAIRED_READ */],
1699
+ format: Formats.DATA,
1700
+ perms: [Perms.PAIRED_READ],
1701
1701
  });
1702
1702
  this.value = this.getDefaultValue();
1703
1703
  }
@@ -1712,12 +1712,12 @@ export class ManagedNetworkEnable extends Characteristic {
1712
1712
  static ENABLED = 1;
1713
1713
  constructor() {
1714
1714
  super('Managed Network Enable', ManagedNetworkEnable.UUID, {
1715
- format: "uint8" /* Formats.UINT8 */,
1715
+ format: Formats.UINT8,
1716
1716
  perms: [
1717
- "ev" /* Perms.NOTIFY */,
1718
- "pr" /* Perms.PAIRED_READ */,
1719
- "pw" /* Perms.PAIRED_WRITE */,
1720
- "tw" /* Perms.TIMED_WRITE */,
1717
+ Perms.NOTIFY,
1718
+ Perms.PAIRED_READ,
1719
+ Perms.PAIRED_WRITE,
1720
+ Perms.TIMED_WRITE,
1721
1721
  ],
1722
1722
  minValue: 0,
1723
1723
  maxValue: 1,
@@ -1736,12 +1736,12 @@ export class ManuallyDisabled extends Characteristic {
1736
1736
  static DISABLED = 1;
1737
1737
  constructor() {
1738
1738
  super('Manually Disabled', ManuallyDisabled.UUID, {
1739
- format: "uint8" /* Formats.UINT8 */,
1739
+ format: Formats.UINT8,
1740
1740
  perms: [
1741
- "ev" /* Perms.NOTIFY */,
1742
- "pr" /* Perms.PAIRED_READ */,
1743
- "pw" /* Perms.PAIRED_WRITE */,
1744
- "tw" /* Perms.TIMED_WRITE */,
1741
+ Perms.NOTIFY,
1742
+ Perms.PAIRED_READ,
1743
+ Perms.PAIRED_WRITE,
1744
+ Perms.TIMED_WRITE,
1745
1745
  ],
1746
1746
  minValue: 0,
1747
1747
  maxValue: 1,
@@ -1759,8 +1759,8 @@ export class Manufacturer extends Characteristic {
1759
1759
  static UUID = '00000020-0000-1000-8000-0026BB765291';
1760
1760
  constructor() {
1761
1761
  super('Manufacturer', Manufacturer.UUID, {
1762
- format: "string" /* Formats.STRING */,
1763
- perms: ["pr" /* Perms.PAIRED_READ */],
1762
+ format: Formats.STRING,
1763
+ perms: [Perms.PAIRED_READ],
1764
1764
  maxLen: 64,
1765
1765
  });
1766
1766
  this.value = this.getDefaultValue();
@@ -1774,8 +1774,8 @@ export class MatterFirmwareRevisionNumber extends Characteristic {
1774
1774
  static UUID = '0000026D-0000-1000-8000-0026BB765291';
1775
1775
  constructor() {
1776
1776
  super('Matter Firmware Revision Number', MatterFirmwareRevisionNumber.UUID, {
1777
- format: "uint32" /* Formats.UINT32 */,
1778
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1777
+ format: Formats.UINT32,
1778
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1779
1779
  });
1780
1780
  this.value = this.getDefaultValue();
1781
1781
  }
@@ -1788,8 +1788,8 @@ export class MatterFirmwareUpdateStatus extends Characteristic {
1788
1788
  static UUID = '0000026E-0000-1000-8000-0026BB765291';
1789
1789
  constructor() {
1790
1790
  super('Matter Firmware Update Status', MatterFirmwareUpdateStatus.UUID, {
1791
- format: "tlv8" /* Formats.TLV8 */,
1792
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1791
+ format: Formats.TLV8,
1792
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1793
1793
  });
1794
1794
  this.value = this.getDefaultValue();
1795
1795
  }
@@ -1803,8 +1803,8 @@ export class MaximumTransmitPower extends Characteristic {
1803
1803
  static UUID = '00000243-0000-1000-8000-0026BB765291';
1804
1804
  constructor() {
1805
1805
  super('Maximum Transmit Power', MaximumTransmitPower.UUID, {
1806
- format: "int" /* Formats.INT */,
1807
- perms: ["pr" /* Perms.PAIRED_READ */],
1806
+ format: Formats.INT,
1807
+ perms: [Perms.PAIRED_READ],
1808
1808
  });
1809
1809
  this.value = this.getDefaultValue();
1810
1810
  }
@@ -1817,8 +1817,8 @@ export class MediaAccessControlLevel extends Characteristic {
1817
1817
  static UUID = '000000EE-0000-1000-8000-0026BB765291';
1818
1818
  constructor() {
1819
1819
  super('Media Access Control Level', MediaAccessControlLevel.UUID, {
1820
- format: "uint8" /* Formats.UINT8 */,
1821
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1820
+ format: Formats.UINT8,
1821
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1822
1822
  minValue: 0,
1823
1823
  maxValue: 2,
1824
1824
  minStep: 1,
@@ -1834,8 +1834,8 @@ export class MetricsBufferFullState extends Characteristic {
1834
1834
  static UUID = '00000272-0000-1000-8000-0026BB765291';
1835
1835
  constructor() {
1836
1836
  super('Metrics Buffer Full State', MetricsBufferFullState.UUID, {
1837
- format: "bool" /* Formats.BOOL */,
1838
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1837
+ format: Formats.BOOL,
1838
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1839
1839
  });
1840
1840
  this.value = this.getDefaultValue();
1841
1841
  }
@@ -1848,8 +1848,8 @@ export class Model extends Characteristic {
1848
1848
  static UUID = '00000021-0000-1000-8000-0026BB765291';
1849
1849
  constructor() {
1850
1850
  super('Model', Model.UUID, {
1851
- format: "string" /* Formats.STRING */,
1852
- perms: ["pr" /* Perms.PAIRED_READ */],
1851
+ format: Formats.STRING,
1852
+ perms: [Perms.PAIRED_READ],
1853
1853
  maxLen: 64,
1854
1854
  });
1855
1855
  this.value = this.getDefaultValue();
@@ -1863,8 +1863,8 @@ export class MotionDetected extends Characteristic {
1863
1863
  static UUID = '00000022-0000-1000-8000-0026BB765291';
1864
1864
  constructor() {
1865
1865
  super('Motion Detected', MotionDetected.UUID, {
1866
- format: "bool" /* Formats.BOOL */,
1867
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1866
+ format: Formats.BOOL,
1867
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1868
1868
  });
1869
1869
  this.value = this.getDefaultValue();
1870
1870
  }
@@ -1877,8 +1877,8 @@ export class MultifunctionButton extends Characteristic {
1877
1877
  static UUID = '0000026B-0000-1000-8000-0026BB765291';
1878
1878
  constructor() {
1879
1879
  super('Multifunction Button', MultifunctionButton.UUID, {
1880
- format: "uint8" /* Formats.UINT8 */,
1881
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1880
+ format: Formats.UINT8,
1881
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1882
1882
  minValue: 0,
1883
1883
  maxValue: 1,
1884
1884
  });
@@ -1893,8 +1893,8 @@ export class Mute extends Characteristic {
1893
1893
  static UUID = '0000011A-0000-1000-8000-0026BB765291';
1894
1894
  constructor() {
1895
1895
  super('Mute', Mute.UUID, {
1896
- format: "bool" /* Formats.BOOL */,
1897
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1896
+ format: Formats.BOOL,
1897
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1898
1898
  });
1899
1899
  this.value = this.getDefaultValue();
1900
1900
  }
@@ -1907,8 +1907,8 @@ export class Name extends Characteristic {
1907
1907
  static UUID = '00000023-0000-1000-8000-0026BB765291';
1908
1908
  constructor() {
1909
1909
  super('Name', Name.UUID, {
1910
- format: "string" /* Formats.STRING */,
1911
- perms: ["pr" /* Perms.PAIRED_READ */],
1910
+ format: Formats.STRING,
1911
+ perms: [Perms.PAIRED_READ],
1912
1912
  maxLen: 64,
1913
1913
  });
1914
1914
  this.value = this.getDefaultValue();
@@ -1922,13 +1922,13 @@ export class NetworkAccessViolationControl extends Characteristic {
1922
1922
  static UUID = '0000021F-0000-1000-8000-0026BB765291';
1923
1923
  constructor() {
1924
1924
  super('Network Access Violation Control', NetworkAccessViolationControl.UUID, {
1925
- format: "tlv8" /* Formats.TLV8 */,
1925
+ format: Formats.TLV8,
1926
1926
  perms: [
1927
- "ev" /* Perms.NOTIFY */,
1928
- "pr" /* Perms.PAIRED_READ */,
1929
- "pw" /* Perms.PAIRED_WRITE */,
1930
- "tw" /* Perms.TIMED_WRITE */,
1931
- "wr" /* Perms.WRITE_RESPONSE */,
1927
+ Perms.NOTIFY,
1928
+ Perms.PAIRED_READ,
1929
+ Perms.PAIRED_WRITE,
1930
+ Perms.TIMED_WRITE,
1931
+ Perms.WRITE_RESPONSE,
1932
1932
  ],
1933
1933
  });
1934
1934
  this.value = this.getDefaultValue();
@@ -1942,13 +1942,13 @@ export class NetworkClientProfileControl extends Characteristic {
1942
1942
  static UUID = '0000020C-0000-1000-8000-0026BB765291';
1943
1943
  constructor() {
1944
1944
  super('Network Client Profile Control', NetworkClientProfileControl.UUID, {
1945
- format: "tlv8" /* Formats.TLV8 */,
1945
+ format: Formats.TLV8,
1946
1946
  perms: [
1947
- "ev" /* Perms.NOTIFY */,
1948
- "pr" /* Perms.PAIRED_READ */,
1949
- "pw" /* Perms.PAIRED_WRITE */,
1950
- "tw" /* Perms.TIMED_WRITE */,
1951
- "wr" /* Perms.WRITE_RESPONSE */,
1947
+ Perms.NOTIFY,
1948
+ Perms.PAIRED_READ,
1949
+ Perms.PAIRED_WRITE,
1950
+ Perms.TIMED_WRITE,
1951
+ Perms.WRITE_RESPONSE,
1952
1952
  ],
1953
1953
  });
1954
1954
  this.value = this.getDefaultValue();
@@ -1962,8 +1962,8 @@ export class NetworkClientStatusControl extends Characteristic {
1962
1962
  static UUID = '0000020D-0000-1000-8000-0026BB765291';
1963
1963
  constructor() {
1964
1964
  super('Network Client Status Control', NetworkClientStatusControl.UUID, {
1965
- format: "tlv8" /* Formats.TLV8 */,
1966
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
1965
+ format: Formats.TLV8,
1966
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
1967
1967
  });
1968
1968
  this.value = this.getDefaultValue();
1969
1969
  }
@@ -1977,8 +1977,8 @@ export class NFCAccessControlPoint extends Characteristic {
1977
1977
  static UUID = '00000264-0000-1000-8000-0026BB765291';
1978
1978
  constructor() {
1979
1979
  super('NFC Access Control Point', NFCAccessControlPoint.UUID, {
1980
- format: "tlv8" /* Formats.TLV8 */,
1981
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
1980
+ format: Formats.TLV8,
1981
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
1982
1982
  });
1983
1983
  this.value = this.getDefaultValue();
1984
1984
  }
@@ -1992,8 +1992,8 @@ export class NFCAccessSupportedConfiguration extends Characteristic {
1992
1992
  static UUID = '00000265-0000-1000-8000-0026BB765291';
1993
1993
  constructor() {
1994
1994
  super('NFC Access Supported Configuration', NFCAccessSupportedConfiguration.UUID, {
1995
- format: "tlv8" /* Formats.TLV8 */,
1996
- perms: ["pr" /* Perms.PAIRED_READ */],
1995
+ format: Formats.TLV8,
1996
+ perms: [Perms.PAIRED_READ],
1997
1997
  });
1998
1998
  this.value = this.getDefaultValue();
1999
1999
  }
@@ -2006,12 +2006,12 @@ export class NightVision extends Characteristic {
2006
2006
  static UUID = '0000011B-0000-1000-8000-0026BB765291';
2007
2007
  constructor() {
2008
2008
  super('Night Vision', NightVision.UUID, {
2009
- format: "bool" /* Formats.BOOL */,
2009
+ format: Formats.BOOL,
2010
2010
  perms: [
2011
- "ev" /* Perms.NOTIFY */,
2012
- "pr" /* Perms.PAIRED_READ */,
2013
- "pw" /* Perms.PAIRED_WRITE */,
2014
- "tw" /* Perms.TIMED_WRITE */,
2011
+ Perms.NOTIFY,
2012
+ Perms.PAIRED_READ,
2013
+ Perms.PAIRED_WRITE,
2014
+ Perms.TIMED_WRITE,
2015
2015
  ],
2016
2016
  });
2017
2017
  this.value = this.getDefaultValue();
@@ -2025,8 +2025,8 @@ export class NitrogenDioxideDensity extends Characteristic {
2025
2025
  static UUID = '000000C4-0000-1000-8000-0026BB765291';
2026
2026
  constructor() {
2027
2027
  super('Nitrogen Dioxide Density', NitrogenDioxideDensity.UUID, {
2028
- format: "float" /* Formats.FLOAT */,
2029
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2028
+ format: Formats.FLOAT,
2029
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2030
2030
  minValue: 0,
2031
2031
  maxValue: 1000,
2032
2032
  minStep: 1,
@@ -2042,8 +2042,8 @@ export class ObstructionDetected extends Characteristic {
2042
2042
  static UUID = '00000024-0000-1000-8000-0026BB765291';
2043
2043
  constructor() {
2044
2044
  super('Obstruction Detected', ObstructionDetected.UUID, {
2045
- format: "bool" /* Formats.BOOL */,
2046
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2045
+ format: Formats.BOOL,
2046
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2047
2047
  });
2048
2048
  this.value = this.getDefaultValue();
2049
2049
  }
@@ -2058,8 +2058,8 @@ export class OccupancyDetected extends Characteristic {
2058
2058
  static OCCUPANCY_DETECTED = 1;
2059
2059
  constructor() {
2060
2060
  super('Occupancy Detected', OccupancyDetected.UUID, {
2061
- format: "uint8" /* Formats.UINT8 */,
2062
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2061
+ format: Formats.UINT8,
2062
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2063
2063
  minValue: 0,
2064
2064
  maxValue: 1,
2065
2065
  minStep: 1,
@@ -2076,8 +2076,8 @@ export class On extends Characteristic {
2076
2076
  static UUID = '00000025-0000-1000-8000-0026BB765291';
2077
2077
  constructor() {
2078
2078
  super('On', On.UUID, {
2079
- format: "bool" /* Formats.BOOL */,
2080
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2079
+ format: Formats.BOOL,
2080
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2081
2081
  });
2082
2082
  this.value = this.getDefaultValue();
2083
2083
  }
@@ -2091,8 +2091,8 @@ export class OperatingStateResponse extends Characteristic {
2091
2091
  static UUID = '00000232-0000-1000-8000-0026BB765291';
2092
2092
  constructor() {
2093
2093
  super('Operating State Response', OperatingStateResponse.UUID, {
2094
- format: "tlv8" /* Formats.TLV8 */,
2095
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2094
+ format: Formats.TLV8,
2095
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2096
2096
  });
2097
2097
  this.value = this.getDefaultValue();
2098
2098
  }
@@ -2105,8 +2105,8 @@ export class OpticalZoom extends Characteristic {
2105
2105
  static UUID = '0000011C-0000-1000-8000-0026BB765291';
2106
2106
  constructor() {
2107
2107
  super('Optical Zoom', OpticalZoom.UUID, {
2108
- format: "float" /* Formats.FLOAT */,
2109
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2108
+ format: Formats.FLOAT,
2109
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2110
2110
  minStep: 0.1,
2111
2111
  });
2112
2112
  this.value = this.getDefaultValue();
@@ -2120,8 +2120,8 @@ export class OutletInUse extends Characteristic {
2120
2120
  static UUID = '00000026-0000-1000-8000-0026BB765291';
2121
2121
  constructor() {
2122
2122
  super('Outlet In Use', OutletInUse.UUID, {
2123
- format: "bool" /* Formats.BOOL */,
2124
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2123
+ format: Formats.BOOL,
2124
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2125
2125
  });
2126
2126
  this.value = this.getDefaultValue();
2127
2127
  }
@@ -2134,8 +2134,8 @@ export class OzoneDensity extends Characteristic {
2134
2134
  static UUID = '000000C3-0000-1000-8000-0026BB765291';
2135
2135
  constructor() {
2136
2136
  super('Ozone Density', OzoneDensity.UUID, {
2137
- format: "float" /* Formats.FLOAT */,
2138
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2137
+ format: Formats.FLOAT,
2138
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2139
2139
  minValue: 0,
2140
2140
  maxValue: 1000,
2141
2141
  minStep: 1,
@@ -2151,8 +2151,8 @@ export class PairingFeatures extends Characteristic {
2151
2151
  static UUID = '0000004F-0000-1000-8000-0026BB765291';
2152
2152
  constructor() {
2153
2153
  super('Pairing Features', PairingFeatures.UUID, {
2154
- format: "uint8" /* Formats.UINT8 */,
2155
- perms: ["pr" /* Perms.PAIRED_READ */],
2154
+ format: Formats.UINT8,
2155
+ perms: [Perms.PAIRED_READ],
2156
2156
  });
2157
2157
  this.value = this.getDefaultValue();
2158
2158
  }
@@ -2165,8 +2165,8 @@ export class PairSetup extends Characteristic {
2165
2165
  static UUID = '0000004C-0000-1000-8000-0026BB765291';
2166
2166
  constructor() {
2167
2167
  super('Pair Setup', PairSetup.UUID, {
2168
- format: "tlv8" /* Formats.TLV8 */,
2169
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2168
+ format: Formats.TLV8,
2169
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2170
2170
  });
2171
2171
  this.value = this.getDefaultValue();
2172
2172
  }
@@ -2179,8 +2179,8 @@ export class PairVerify extends Characteristic {
2179
2179
  static UUID = '0000004E-0000-1000-8000-0026BB765291';
2180
2180
  constructor() {
2181
2181
  super('Pair Verify', PairVerify.UUID, {
2182
- format: "tlv8" /* Formats.TLV8 */,
2183
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2182
+ format: Formats.TLV8,
2183
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2184
2184
  });
2185
2185
  this.value = this.getDefaultValue();
2186
2186
  }
@@ -2193,8 +2193,8 @@ export class PasswordSetting extends Characteristic {
2193
2193
  static UUID = '000000E4-0000-1000-8000-0026BB765291';
2194
2194
  constructor() {
2195
2195
  super('Password Setting', PasswordSetting.UUID, {
2196
- format: "tlv8" /* Formats.TLV8 */,
2197
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2196
+ format: Formats.TLV8,
2197
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2198
2198
  });
2199
2199
  this.value = this.getDefaultValue();
2200
2200
  }
@@ -2209,8 +2209,8 @@ export class PeriodicSnapshotsActive extends Characteristic {
2209
2209
  static ENABLE = 1;
2210
2210
  constructor() {
2211
2211
  super('Periodic Snapshots Active', PeriodicSnapshotsActive.UUID, {
2212
- format: "uint8" /* Formats.UINT8 */,
2213
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2212
+ format: Formats.UINT8,
2213
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2214
2214
  validValues: [0, 1],
2215
2215
  });
2216
2216
  this.value = this.getDefaultValue();
@@ -2232,8 +2232,8 @@ export class PictureMode extends Characteristic {
2232
2232
  static CUSTOM = 7;
2233
2233
  constructor() {
2234
2234
  super('Picture Mode', PictureMode.UUID, {
2235
- format: "uint8" /* Formats.UINT8 */,
2236
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2235
+ format: Formats.UINT8,
2236
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2237
2237
  minValue: 0,
2238
2238
  maxValue: 13,
2239
2239
  minStep: 1,
@@ -2266,8 +2266,8 @@ export class Ping extends Characteristic {
2266
2266
  static UUID = '0000023C-0000-1000-8000-0026BB765291';
2267
2267
  constructor() {
2268
2268
  super('Ping', Ping.UUID, {
2269
- format: "data" /* Formats.DATA */,
2270
- perms: ["pr" /* Perms.PAIRED_READ */],
2269
+ format: Formats.DATA,
2270
+ perms: [Perms.PAIRED_READ],
2271
2271
  });
2272
2272
  this.value = this.getDefaultValue();
2273
2273
  }
@@ -2280,8 +2280,8 @@ export class PM10Density extends Characteristic {
2280
2280
  static UUID = '000000C7-0000-1000-8000-0026BB765291';
2281
2281
  constructor() {
2282
2282
  super('PM10 Density', PM10Density.UUID, {
2283
- format: "float" /* Formats.FLOAT */,
2284
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2283
+ format: Formats.FLOAT,
2284
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2285
2285
  minValue: 0,
2286
2286
  maxValue: 1000,
2287
2287
  minStep: 1,
@@ -2297,8 +2297,8 @@ export class PM2_5Density extends Characteristic {
2297
2297
  static UUID = '000000C6-0000-1000-8000-0026BB765291';
2298
2298
  constructor() {
2299
2299
  super('PM2.5 Density', PM2_5Density.UUID, {
2300
- format: "float" /* Formats.FLOAT */,
2301
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2300
+ format: Formats.FLOAT,
2301
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2302
2302
  minValue: 0,
2303
2303
  maxValue: 1000,
2304
2304
  minStep: 1,
@@ -2317,8 +2317,8 @@ export class PositionState extends Characteristic {
2317
2317
  static STOPPED = 2;
2318
2318
  constructor() {
2319
2319
  super('Position State', PositionState.UUID, {
2320
- format: "uint8" /* Formats.UINT8 */,
2321
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2320
+ format: Formats.UINT8,
2321
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2322
2322
  minValue: 0,
2323
2323
  maxValue: 2,
2324
2324
  minStep: 1,
@@ -2337,8 +2337,8 @@ export class PowerModeSelection extends Characteristic {
2337
2337
  static HIDE = 1;
2338
2338
  constructor() {
2339
2339
  super('Power Mode Selection', PowerModeSelection.UUID, {
2340
- format: "uint8" /* Formats.UINT8 */,
2341
- perms: ["pw" /* Perms.PAIRED_WRITE */],
2340
+ format: Formats.UINT8,
2341
+ perms: [Perms.PAIRED_WRITE],
2342
2342
  minValue: 0,
2343
2343
  maxValue: 1,
2344
2344
  minStep: 1,
@@ -2355,8 +2355,8 @@ export class PreferredWiFiList extends Characteristic {
2355
2355
  static UUID = '0000022E-0000-1000-8000-0026BB765291';
2356
2356
  constructor() {
2357
2357
  super('Preferred Wi-Fi List', PreferredWiFiList.UUID, {
2358
- format: "tlv8" /* Formats.TLV8 */,
2359
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2358
+ format: Formats.TLV8,
2359
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2360
2360
  });
2361
2361
  this.value = this.getDefaultValue();
2362
2362
  }
@@ -2369,8 +2369,8 @@ export class ProductData extends Characteristic {
2369
2369
  static UUID = '00000220-0000-1000-8000-0026BB765291';
2370
2370
  constructor() {
2371
2371
  super('Product Data', ProductData.UUID, {
2372
- format: "data" /* Formats.DATA */,
2373
- perms: ["pr" /* Perms.PAIRED_READ */],
2372
+ format: Formats.DATA,
2373
+ perms: [Perms.PAIRED_READ],
2374
2374
  });
2375
2375
  this.value = this.getDefaultValue();
2376
2376
  }
@@ -2386,8 +2386,8 @@ export class ProgrammableSwitchEvent extends Characteristic {
2386
2386
  static LONG_PRESS = 2;
2387
2387
  constructor() {
2388
2388
  super('Programmable Switch Event', ProgrammableSwitchEvent.UUID, {
2389
- format: "uint8" /* Formats.UINT8 */,
2390
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2389
+ format: Formats.UINT8,
2390
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2391
2391
  minValue: 0,
2392
2392
  maxValue: 2,
2393
2393
  minStep: 1,
@@ -2404,8 +2404,8 @@ export class ProgrammableSwitchOutputState extends Characteristic {
2404
2404
  static UUID = '00000074-0000-1000-8000-0026BB765291';
2405
2405
  constructor() {
2406
2406
  super('Programmable Switch Output State', ProgrammableSwitchOutputState.UUID, {
2407
- format: "uint8" /* Formats.UINT8 */,
2408
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2407
+ format: Formats.UINT8,
2408
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2409
2409
  minValue: 0,
2410
2410
  maxValue: 1,
2411
2411
  minStep: 1,
@@ -2424,8 +2424,8 @@ export class ProgramMode extends Characteristic {
2424
2424
  static PROGRAM_SCHEDULED_MANUAL_MODE = 2;
2425
2425
  constructor() {
2426
2426
  super('Program Mode', ProgramMode.UUID, {
2427
- format: "uint8" /* Formats.UINT8 */,
2428
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2427
+ format: Formats.UINT8,
2428
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2429
2429
  minValue: 0,
2430
2430
  maxValue: 2,
2431
2431
  minStep: 1,
@@ -2442,8 +2442,8 @@ export class ProximityControlEnabled extends Characteristic {
2442
2442
  static UUID = '00000316-0000-1000-8000-0026BB765291';
2443
2443
  constructor() {
2444
2444
  super('Proximity Control Enabled', ProximityControlEnabled.UUID, {
2445
- format: "bool" /* Formats.BOOL */,
2446
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2445
+ format: Formats.BOOL,
2446
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2447
2447
  });
2448
2448
  this.value = this.getDefaultValue();
2449
2449
  }
@@ -2457,8 +2457,8 @@ export class ReceivedSignalStrengthIndication extends Characteristic {
2457
2457
  static UUID = '0000023F-0000-1000-8000-0026BB765291';
2458
2458
  constructor() {
2459
2459
  super('Received Signal Strength Indication', ReceivedSignalStrengthIndication.UUID, {
2460
- format: "int" /* Formats.INT */,
2461
- perms: ["pr" /* Perms.PAIRED_READ */],
2460
+ format: Formats.INT,
2461
+ perms: [Perms.PAIRED_READ],
2462
2462
  });
2463
2463
  this.value = this.getDefaultValue();
2464
2464
  }
@@ -2472,8 +2472,8 @@ export class ReceiverSensitivity extends Characteristic {
2472
2472
  static UUID = '00000244-0000-1000-8000-0026BB765291';
2473
2473
  constructor() {
2474
2474
  super('Receiver Sensitivity', ReceiverSensitivity.UUID, {
2475
- format: "int" /* Formats.INT */,
2476
- perms: ["pr" /* Perms.PAIRED_READ */],
2475
+ format: Formats.INT,
2476
+ perms: [Perms.PAIRED_READ],
2477
2477
  });
2478
2478
  this.value = this.getDefaultValue();
2479
2479
  }
@@ -2488,12 +2488,12 @@ export class RecordingAudioActive extends Characteristic {
2488
2488
  static ENABLE = 1;
2489
2489
  constructor() {
2490
2490
  super('Recording Audio Active', RecordingAudioActive.UUID, {
2491
- format: "uint8" /* Formats.UINT8 */,
2491
+ format: Formats.UINT8,
2492
2492
  perms: [
2493
- "ev" /* Perms.NOTIFY */,
2494
- "pr" /* Perms.PAIRED_READ */,
2495
- "pw" /* Perms.PAIRED_WRITE */,
2496
- "tw" /* Perms.TIMED_WRITE */,
2493
+ Perms.NOTIFY,
2494
+ Perms.PAIRED_READ,
2495
+ Perms.PAIRED_WRITE,
2496
+ Perms.TIMED_WRITE,
2497
2497
  ],
2498
2498
  validValues: [0, 1],
2499
2499
  });
@@ -2508,9 +2508,9 @@ export class RelativeHumidityDehumidifierThreshold extends Characteristic {
2508
2508
  static UUID = '000000C9-0000-1000-8000-0026BB765291';
2509
2509
  constructor() {
2510
2510
  super('Relative Humidity Dehumidifier Threshold', RelativeHumidityDehumidifierThreshold.UUID, {
2511
- format: "float" /* Formats.FLOAT */,
2512
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2513
- unit: "percentage" /* Units.PERCENTAGE */,
2511
+ format: Formats.FLOAT,
2512
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2513
+ unit: Units.PERCENTAGE,
2514
2514
  minValue: 0,
2515
2515
  maxValue: 100,
2516
2516
  minStep: 1,
@@ -2526,9 +2526,9 @@ export class RelativeHumidityHumidifierThreshold extends Characteristic {
2526
2526
  static UUID = '000000CA-0000-1000-8000-0026BB765291';
2527
2527
  constructor() {
2528
2528
  super('Relative Humidity Humidifier Threshold', RelativeHumidityHumidifierThreshold.UUID, {
2529
- format: "float" /* Formats.FLOAT */,
2530
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2531
- unit: "percentage" /* Units.PERCENTAGE */,
2529
+ format: Formats.FLOAT,
2530
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2531
+ unit: Units.PERCENTAGE,
2532
2532
  minValue: 0,
2533
2533
  maxValue: 100,
2534
2534
  minStep: 1,
@@ -2545,8 +2545,8 @@ export class RelayControlPoint extends Characteristic {
2545
2545
  static UUID = '0000005E-0000-1000-8000-0026BB765291';
2546
2546
  constructor() {
2547
2547
  super('Relay Control Point', RelayControlPoint.UUID, {
2548
- format: "tlv8" /* Formats.TLV8 */,
2549
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2548
+ format: Formats.TLV8,
2549
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2550
2550
  });
2551
2551
  this.value = this.getDefaultValue();
2552
2552
  }
@@ -2561,8 +2561,8 @@ export class RelayEnabled extends Characteristic {
2561
2561
  static UUID = '0000005B-0000-1000-8000-0026BB765291';
2562
2562
  constructor() {
2563
2563
  super('Relay Enabled', RelayEnabled.UUID, {
2564
- format: "bool" /* Formats.BOOL */,
2565
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2564
+ format: Formats.BOOL,
2565
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2566
2566
  });
2567
2567
  this.value = this.getDefaultValue();
2568
2568
  }
@@ -2577,8 +2577,8 @@ export class RelayState extends Characteristic {
2577
2577
  static UUID = '0000005C-0000-1000-8000-0026BB765291';
2578
2578
  constructor() {
2579
2579
  super('Relay State', RelayState.UUID, {
2580
- format: "uint8" /* Formats.UINT8 */,
2581
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2580
+ format: Formats.UINT8,
2581
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2582
2582
  minValue: 0,
2583
2583
  maxValue: 5,
2584
2584
  minStep: 1,
@@ -2595,9 +2595,9 @@ export class RemainingDuration extends Characteristic {
2595
2595
  static UUID = '000000D4-0000-1000-8000-0026BB765291';
2596
2596
  constructor() {
2597
2597
  super('Remaining Duration', RemainingDuration.UUID, {
2598
- format: "uint32" /* Formats.UINT32 */,
2599
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2600
- unit: "seconds" /* Units.SECONDS */,
2598
+ format: Formats.UINT32,
2599
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2600
+ unit: Units.SECONDS,
2601
2601
  minValue: 0,
2602
2602
  maxValue: 3600,
2603
2603
  minStep: 1,
@@ -2626,8 +2626,8 @@ export class RemoteKey extends Characteristic {
2626
2626
  static INFORMATION = 15;
2627
2627
  constructor() {
2628
2628
  super('Remote Key', RemoteKey.UUID, {
2629
- format: "uint8" /* Formats.UINT8 */,
2630
- perms: ["pw" /* Perms.PAIRED_WRITE */],
2629
+ format: Formats.UINT8,
2630
+ perms: [Perms.PAIRED_WRITE],
2631
2631
  minValue: 0,
2632
2632
  maxValue: 16,
2633
2633
  minStep: 1,
@@ -2662,8 +2662,8 @@ export class ResetFilterIndication extends Characteristic {
2662
2662
  static UUID = '000000AD-0000-1000-8000-0026BB765291';
2663
2663
  constructor() {
2664
2664
  super('Reset Filter Indication', ResetFilterIndication.UUID, {
2665
- format: "uint8" /* Formats.UINT8 */,
2666
- perms: ["pw" /* Perms.PAIRED_WRITE */],
2665
+ format: Formats.UINT8,
2666
+ perms: [Perms.PAIRED_WRITE],
2667
2667
  minValue: 1,
2668
2668
  maxValue: 1,
2669
2669
  minStep: 1,
@@ -2681,8 +2681,8 @@ export class RotationDirection extends Characteristic {
2681
2681
  static COUNTER_CLOCKWISE = 1;
2682
2682
  constructor() {
2683
2683
  super('Rotation Direction', RotationDirection.UUID, {
2684
- format: "int" /* Formats.INT */,
2685
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2684
+ format: Formats.INT,
2685
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2686
2686
  minValue: 0,
2687
2687
  maxValue: 1,
2688
2688
  minStep: 1,
@@ -2699,9 +2699,9 @@ export class RotationSpeed extends Characteristic {
2699
2699
  static UUID = '00000029-0000-1000-8000-0026BB765291';
2700
2700
  constructor() {
2701
2701
  super('Rotation Speed', RotationSpeed.UUID, {
2702
- format: "float" /* Formats.FLOAT */,
2703
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2704
- unit: "percentage" /* Units.PERCENTAGE */,
2702
+ format: Formats.FLOAT,
2703
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2704
+ unit: Units.PERCENTAGE,
2705
2705
  minValue: 0,
2706
2706
  maxValue: 100,
2707
2707
  minStep: 1,
@@ -2719,8 +2719,8 @@ export class RouterStatus extends Characteristic {
2719
2719
  static NOT_READY = 1;
2720
2720
  constructor() {
2721
2721
  super('Router Status', RouterStatus.UUID, {
2722
- format: "uint8" /* Formats.UINT8 */,
2723
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2722
+ format: Formats.UINT8,
2723
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2724
2724
  minValue: 0,
2725
2725
  maxValue: 1,
2726
2726
  validValues: [0, 1],
@@ -2736,9 +2736,9 @@ export class Saturation extends Characteristic {
2736
2736
  static UUID = '0000002F-0000-1000-8000-0026BB765291';
2737
2737
  constructor() {
2738
2738
  super('Saturation', Saturation.UUID, {
2739
- format: "float" /* Formats.FLOAT */,
2740
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2741
- unit: "percentage" /* Units.PERCENTAGE */,
2739
+ format: Formats.FLOAT,
2740
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2741
+ unit: Units.PERCENTAGE,
2742
2742
  minValue: 0,
2743
2743
  maxValue: 100,
2744
2744
  minStep: 1,
@@ -2756,8 +2756,8 @@ export class SecuritySystemAlarmType extends Characteristic {
2756
2756
  static UNKNOWN = 1;
2757
2757
  constructor() {
2758
2758
  super('Security System Alarm Type', SecuritySystemAlarmType.UUID, {
2759
- format: "uint8" /* Formats.UINT8 */,
2760
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2759
+ format: Formats.UINT8,
2760
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2761
2761
  minValue: 0,
2762
2762
  maxValue: 1,
2763
2763
  minStep: 1,
@@ -2779,8 +2779,8 @@ export class SecuritySystemCurrentState extends Characteristic {
2779
2779
  static ALARM_TRIGGERED = 4;
2780
2780
  constructor() {
2781
2781
  super('Security System Current State', SecuritySystemCurrentState.UUID, {
2782
- format: "uint8" /* Formats.UINT8 */,
2783
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2782
+ format: Formats.UINT8,
2783
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2784
2784
  minValue: 0,
2785
2785
  maxValue: 4,
2786
2786
  minStep: 1,
@@ -2801,8 +2801,8 @@ export class SecuritySystemTargetState extends Characteristic {
2801
2801
  static DISARM = 3;
2802
2802
  constructor() {
2803
2803
  super('Security System Target State', SecuritySystemTargetState.UUID, {
2804
- format: "uint8" /* Formats.UINT8 */,
2805
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2804
+ format: Formats.UINT8,
2805
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2806
2806
  minValue: 0,
2807
2807
  maxValue: 3,
2808
2808
  minStep: 1,
@@ -2819,8 +2819,8 @@ export class SelectedAudioStreamConfiguration extends Characteristic {
2819
2819
  static UUID = '00000128-0000-1000-8000-0026BB765291';
2820
2820
  constructor() {
2821
2821
  super('Selected Audio Stream Configuration', SelectedAudioStreamConfiguration.UUID, {
2822
- format: "tlv8" /* Formats.TLV8 */,
2823
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2822
+ format: Formats.TLV8,
2823
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2824
2824
  });
2825
2825
  this.value = this.getDefaultValue();
2826
2826
  }
@@ -2833,8 +2833,8 @@ export class SelectedCameraRecordingConfiguration extends Characteristic {
2833
2833
  static UUID = '00000209-0000-1000-8000-0026BB765291';
2834
2834
  constructor() {
2835
2835
  super('Selected Camera Recording Configuration', SelectedCameraRecordingConfiguration.UUID, {
2836
- format: "tlv8" /* Formats.TLV8 */,
2837
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2836
+ format: Formats.TLV8,
2837
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2838
2838
  });
2839
2839
  this.value = this.getDefaultValue();
2840
2840
  }
@@ -2847,8 +2847,8 @@ export class SelectedDiagnosticsModes extends Characteristic {
2847
2847
  static UUID = '0000024D-0000-1000-8000-0026BB765291';
2848
2848
  constructor() {
2849
2849
  super('Selected Diagnostics Modes', SelectedDiagnosticsModes.UUID, {
2850
- format: "uint32" /* Formats.UINT32 */,
2851
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2850
+ format: Formats.UINT32,
2851
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2852
2852
  });
2853
2853
  this.value = this.getDefaultValue();
2854
2854
  }
@@ -2861,8 +2861,8 @@ export class SelectedRTPStreamConfiguration extends Characteristic {
2861
2861
  static UUID = '00000117-0000-1000-8000-0026BB765291';
2862
2862
  constructor() {
2863
2863
  super('Selected RTP Stream Configuration', SelectedRTPStreamConfiguration.UUID, {
2864
- format: "tlv8" /* Formats.TLV8 */,
2865
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2864
+ format: Formats.TLV8,
2865
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2866
2866
  });
2867
2867
  this.value = this.getDefaultValue();
2868
2868
  }
@@ -2875,8 +2875,8 @@ export class SelectedSessionKeepaliveConfigurationList extends Characteristic {
2875
2875
  static UUID = '00000275-0000-1000-8000-0026BB765291';
2876
2876
  constructor() {
2877
2877
  super('Selected Session Keep-alive Configuration List', SelectedSessionKeepaliveConfigurationList.UUID, {
2878
- format: "tlv8" /* Formats.TLV8 */,
2879
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2878
+ format: Formats.TLV8,
2879
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2880
2880
  });
2881
2881
  this.value = this.getDefaultValue();
2882
2882
  }
@@ -2889,12 +2889,12 @@ export class SelectedSleepConfiguration extends Characteristic {
2889
2889
  static UUID = '00000252-0000-1000-8000-0026BB765291';
2890
2890
  constructor() {
2891
2891
  super('Selected Sleep Configuration', SelectedSleepConfiguration.UUID, {
2892
- format: "tlv8" /* Formats.TLV8 */,
2892
+ format: Formats.TLV8,
2893
2893
  perms: [
2894
- "ev" /* Perms.NOTIFY */,
2895
- "pr" /* Perms.PAIRED_READ */,
2896
- "pw" /* Perms.PAIRED_WRITE */,
2897
- "wr" /* Perms.WRITE_RESPONSE */,
2894
+ Perms.NOTIFY,
2895
+ Perms.PAIRED_READ,
2896
+ Perms.PAIRED_WRITE,
2897
+ Perms.WRITE_RESPONSE,
2898
2898
  ],
2899
2899
  });
2900
2900
  this.value = this.getDefaultValue();
@@ -2908,8 +2908,8 @@ export class SerialNumber extends Characteristic {
2908
2908
  static UUID = '00000030-0000-1000-8000-0026BB765291';
2909
2909
  constructor() {
2910
2910
  super('Serial Number', SerialNumber.UUID, {
2911
- format: "string" /* Formats.STRING */,
2912
- perms: ["pr" /* Perms.PAIRED_READ */],
2911
+ format: Formats.STRING,
2912
+ perms: [Perms.PAIRED_READ],
2913
2913
  maxLen: 64,
2914
2914
  });
2915
2915
  this.value = this.getDefaultValue();
@@ -2923,8 +2923,8 @@ export class ServiceLabelIndex extends Characteristic {
2923
2923
  static UUID = '000000CB-0000-1000-8000-0026BB765291';
2924
2924
  constructor() {
2925
2925
  super('Service Label Index', ServiceLabelIndex.UUID, {
2926
- format: "uint8" /* Formats.UINT8 */,
2927
- perms: ["pr" /* Perms.PAIRED_READ */],
2926
+ format: Formats.UINT8,
2927
+ perms: [Perms.PAIRED_READ],
2928
2928
  minValue: 1,
2929
2929
  maxValue: 255,
2930
2930
  minStep: 1,
@@ -2942,8 +2942,8 @@ export class ServiceLabelNamespace extends Characteristic {
2942
2942
  static ARABIC_NUMERALS = 1;
2943
2943
  constructor() {
2944
2944
  super('Service Label Namespace', ServiceLabelNamespace.UUID, {
2945
- format: "uint8" /* Formats.UINT8 */,
2946
- perms: ["pr" /* Perms.PAIRED_READ */],
2945
+ format: Formats.UINT8,
2946
+ perms: [Perms.PAIRED_READ],
2947
2947
  minValue: 0,
2948
2948
  maxValue: 1,
2949
2949
  minStep: 1,
@@ -2960,8 +2960,8 @@ export class SessionTransportEndpointList extends Characteristic {
2960
2960
  static UUID = '00000279-0000-1000-8000-0026BB765291';
2961
2961
  constructor() {
2962
2962
  super('Session Transport Endpoint List', SessionTransportEndpointList.UUID, {
2963
- format: "tlv8" /* Formats.TLV8 */,
2964
- perms: ["pw" /* Perms.PAIRED_WRITE */],
2963
+ format: Formats.TLV8,
2964
+ perms: [Perms.PAIRED_WRITE],
2965
2965
  });
2966
2966
  this.value = this.getDefaultValue();
2967
2967
  }
@@ -2974,9 +2974,9 @@ export class SetDuration extends Characteristic {
2974
2974
  static UUID = '000000D3-0000-1000-8000-0026BB765291';
2975
2975
  constructor() {
2976
2976
  super('Set Duration', SetDuration.UUID, {
2977
- format: "uint32" /* Formats.UINT32 */,
2978
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2979
- unit: "seconds" /* Units.SECONDS */,
2977
+ format: Formats.UINT32,
2978
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2979
+ unit: Units.SECONDS,
2980
2980
  minValue: 0,
2981
2981
  maxValue: 3600,
2982
2982
  minStep: 1,
@@ -2992,8 +2992,8 @@ export class SetupDataStreamTransport extends Characteristic {
2992
2992
  static UUID = '00000131-0000-1000-8000-0026BB765291';
2993
2993
  constructor() {
2994
2994
  super('Setup Data Stream Transport', SetupDataStreamTransport.UUID, {
2995
- format: "tlv8" /* Formats.TLV8 */,
2996
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
2995
+ format: Formats.TLV8,
2996
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
2997
2997
  });
2998
2998
  this.value = this.getDefaultValue();
2999
2999
  }
@@ -3006,8 +3006,8 @@ export class SetupEndpoints extends Characteristic {
3006
3006
  static UUID = '00000118-0000-1000-8000-0026BB765291';
3007
3007
  constructor() {
3008
3008
  super('Setup Endpoints', SetupEndpoints.UUID, {
3009
- format: "tlv8" /* Formats.TLV8 */,
3010
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3009
+ format: Formats.TLV8,
3010
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3011
3011
  });
3012
3012
  this.value = this.getDefaultValue();
3013
3013
  }
@@ -3021,8 +3021,8 @@ export class SetupTransferTransport extends Characteristic {
3021
3021
  static UUID = '00000201-0000-1000-8000-0026BB765291';
3022
3022
  constructor() {
3023
3023
  super('Setup Transfer Transport', SetupTransferTransport.UUID, {
3024
- format: "tlv8" /* Formats.TLV8 */,
3025
- perms: ["pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
3024
+ format: Formats.TLV8,
3025
+ perms: [Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
3026
3026
  });
3027
3027
  this.value = this.getDefaultValue();
3028
3028
  }
@@ -3036,8 +3036,8 @@ export class SignalToNoiseRatio extends Characteristic {
3036
3036
  static UUID = '00000241-0000-1000-8000-0026BB765291';
3037
3037
  constructor() {
3038
3038
  super('Signal To Noise Ratio', SignalToNoiseRatio.UUID, {
3039
- format: "int" /* Formats.INT */,
3040
- perms: ["pr" /* Perms.PAIRED_READ */],
3039
+ format: Formats.INT,
3040
+ perms: [Perms.PAIRED_READ],
3041
3041
  });
3042
3042
  this.value = this.getDefaultValue();
3043
3043
  }
@@ -3050,8 +3050,8 @@ export class SiriEnable extends Characteristic {
3050
3050
  static UUID = '00000255-0000-1000-8000-0026BB765291';
3051
3051
  constructor() {
3052
3052
  super('Siri Enable', SiriEnable.UUID, {
3053
- format: "uint8" /* Formats.UINT8 */,
3054
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3053
+ format: Formats.UINT8,
3054
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3055
3055
  minValue: 0,
3056
3056
  maxValue: 1,
3057
3057
  });
@@ -3066,8 +3066,8 @@ export class SiriEndpointSessionStatus extends Characteristic {
3066
3066
  static UUID = '00000254-0000-1000-8000-0026BB765291';
3067
3067
  constructor() {
3068
3068
  super('Siri Endpoint Session Status', SiriEndpointSessionStatus.UUID, {
3069
- format: "tlv8" /* Formats.TLV8 */,
3070
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3069
+ format: Formats.TLV8,
3070
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3071
3071
  });
3072
3072
  this.value = this.getDefaultValue();
3073
3073
  }
@@ -3080,8 +3080,8 @@ export class SiriEngineVersion extends Characteristic {
3080
3080
  static UUID = '0000025A-0000-1000-8000-0026BB765291';
3081
3081
  constructor() {
3082
3082
  super('Siri Engine Version', SiriEngineVersion.UUID, {
3083
- format: "string" /* Formats.STRING */,
3084
- perms: ["pr" /* Perms.PAIRED_READ */],
3083
+ format: Formats.STRING,
3084
+ perms: [Perms.PAIRED_READ],
3085
3085
  });
3086
3086
  this.value = this.getDefaultValue();
3087
3087
  }
@@ -3095,8 +3095,8 @@ export class SiriInputType extends Characteristic {
3095
3095
  static PUSH_BUTTON_TRIGGERED_APPLE_TV = 0;
3096
3096
  constructor() {
3097
3097
  super('Siri Input Type', SiriInputType.UUID, {
3098
- format: "uint8" /* Formats.UINT8 */,
3099
- perms: ["pr" /* Perms.PAIRED_READ */],
3098
+ format: Formats.UINT8,
3099
+ perms: [Perms.PAIRED_READ],
3100
3100
  minValue: 0,
3101
3101
  maxValue: 0,
3102
3102
  validValues: [0],
@@ -3112,8 +3112,8 @@ export class SiriLightOnUse extends Characteristic {
3112
3112
  static UUID = '00000258-0000-1000-8000-0026BB765291';
3113
3113
  constructor() {
3114
3114
  super('Siri Light On Use', SiriLightOnUse.UUID, {
3115
- format: "uint8" /* Formats.UINT8 */,
3116
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3115
+ format: Formats.UINT8,
3116
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3117
3117
  minValue: 0,
3118
3118
  maxValue: 1,
3119
3119
  });
@@ -3128,8 +3128,8 @@ export class SiriListening extends Characteristic {
3128
3128
  static UUID = '00000256-0000-1000-8000-0026BB765291';
3129
3129
  constructor() {
3130
3130
  super('Siri Listening', SiriListening.UUID, {
3131
- format: "uint8" /* Formats.UINT8 */,
3132
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3131
+ format: Formats.UINT8,
3132
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3133
3133
  minValue: 0,
3134
3134
  maxValue: 1,
3135
3135
  });
@@ -3144,8 +3144,8 @@ export class SiriTouchToUse extends Characteristic {
3144
3144
  static UUID = '00000257-0000-1000-8000-0026BB765291';
3145
3145
  constructor() {
3146
3146
  super('Siri Touch To Use', SiriTouchToUse.UUID, {
3147
- format: "uint8" /* Formats.UINT8 */,
3148
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3147
+ format: Formats.UINT8,
3148
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3149
3149
  minValue: 0,
3150
3150
  maxValue: 1,
3151
3151
  });
@@ -3162,8 +3162,8 @@ export class SlatType extends Characteristic {
3162
3162
  static VERTICAL = 1;
3163
3163
  constructor() {
3164
3164
  super('Slat Type', SlatType.UUID, {
3165
- format: "uint8" /* Formats.UINT8 */,
3166
- perms: ["pr" /* Perms.PAIRED_READ */],
3165
+ format: Formats.UINT8,
3166
+ perms: [Perms.PAIRED_READ],
3167
3167
  minValue: 0,
3168
3168
  maxValue: 1,
3169
3169
  minStep: 1,
@@ -3182,8 +3182,8 @@ export class SleepDiscoveryMode extends Characteristic {
3182
3182
  static ALWAYS_DISCOVERABLE = 1;
3183
3183
  constructor() {
3184
3184
  super('Sleep Discovery Mode', SleepDiscoveryMode.UUID, {
3185
- format: "uint8" /* Formats.UINT8 */,
3186
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3185
+ format: Formats.UINT8,
3186
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3187
3187
  minValue: 0,
3188
3188
  maxValue: 1,
3189
3189
  minStep: 1,
@@ -3201,8 +3201,8 @@ export class SleepInterval extends Characteristic {
3201
3201
  static UUID = '0000023A-0000-1000-8000-0026BB765291';
3202
3202
  constructor() {
3203
3203
  super('Sleep Interval', SleepInterval.UUID, {
3204
- format: "uint32" /* Formats.UINT32 */,
3205
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3204
+ format: Formats.UINT32,
3205
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3206
3206
  minValue: 0,
3207
3207
  minStep: 1,
3208
3208
  });
@@ -3219,8 +3219,8 @@ export class SmokeDetected extends Characteristic {
3219
3219
  static SMOKE_DETECTED = 1;
3220
3220
  constructor() {
3221
3221
  super('Smoke Detected', SmokeDetected.UUID, {
3222
- format: "uint8" /* Formats.UINT8 */,
3223
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3222
+ format: Formats.UINT8,
3223
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3224
3224
  minValue: 0,
3225
3225
  maxValue: 1,
3226
3226
  minStep: 1,
@@ -3237,8 +3237,8 @@ export class SoftwareRevision extends Characteristic {
3237
3237
  static UUID = '00000054-0000-1000-8000-0026BB765291';
3238
3238
  constructor() {
3239
3239
  super('Software Revision', SoftwareRevision.UUID, {
3240
- format: "string" /* Formats.STRING */,
3241
- perms: ["pr" /* Perms.PAIRED_READ */],
3240
+ format: Formats.STRING,
3241
+ perms: [Perms.PAIRED_READ],
3242
3242
  });
3243
3243
  this.value = this.getDefaultValue();
3244
3244
  }
@@ -3251,8 +3251,8 @@ export class StagedFirmwareVersion extends Characteristic {
3251
3251
  static UUID = '00000249-0000-1000-8000-0026BB765291';
3252
3252
  constructor() {
3253
3253
  super('Staged Firmware Version', StagedFirmwareVersion.UUID, {
3254
- format: "string" /* Formats.STRING */,
3255
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3254
+ format: Formats.STRING,
3255
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3256
3256
  });
3257
3257
  this.value = this.getDefaultValue();
3258
3258
  }
@@ -3265,8 +3265,8 @@ export class StatusActive extends Characteristic {
3265
3265
  static UUID = '00000075-0000-1000-8000-0026BB765291';
3266
3266
  constructor() {
3267
3267
  super('Status Active', StatusActive.UUID, {
3268
- format: "bool" /* Formats.BOOL */,
3269
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3268
+ format: Formats.BOOL,
3269
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3270
3270
  });
3271
3271
  this.value = this.getDefaultValue();
3272
3272
  }
@@ -3281,8 +3281,8 @@ export class StatusFault extends Characteristic {
3281
3281
  static GENERAL_FAULT = 1;
3282
3282
  constructor() {
3283
3283
  super('Status Fault', StatusFault.UUID, {
3284
- format: "uint8" /* Formats.UINT8 */,
3285
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3284
+ format: Formats.UINT8,
3285
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3286
3286
  minValue: 0,
3287
3287
  maxValue: 1,
3288
3288
  minStep: 1,
@@ -3301,8 +3301,8 @@ export class StatusJammed extends Characteristic {
3301
3301
  static JAMMED = 1;
3302
3302
  constructor() {
3303
3303
  super('Status Jammed', StatusJammed.UUID, {
3304
- format: "uint8" /* Formats.UINT8 */,
3305
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3304
+ format: Formats.UINT8,
3305
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3306
3306
  minValue: 0,
3307
3307
  maxValue: 1,
3308
3308
  minStep: 1,
@@ -3321,8 +3321,8 @@ export class StatusLowBattery extends Characteristic {
3321
3321
  static BATTERY_LEVEL_LOW = 1;
3322
3322
  constructor() {
3323
3323
  super('Status Low Battery', StatusLowBattery.UUID, {
3324
- format: "uint8" /* Formats.UINT8 */,
3325
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3324
+ format: Formats.UINT8,
3325
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3326
3326
  minValue: 0,
3327
3327
  maxValue: 1,
3328
3328
  minStep: 1,
@@ -3341,8 +3341,8 @@ export class StatusTampered extends Characteristic {
3341
3341
  static TAMPERED = 1;
3342
3342
  constructor() {
3343
3343
  super('Status Tampered', StatusTampered.UUID, {
3344
- format: "uint8" /* Formats.UINT8 */,
3345
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3344
+ format: Formats.UINT8,
3345
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3346
3346
  minValue: 0,
3347
3347
  maxValue: 1,
3348
3348
  minStep: 1,
@@ -3359,8 +3359,8 @@ export class StreamingStatus extends Characteristic {
3359
3359
  static UUID = '00000120-0000-1000-8000-0026BB765291';
3360
3360
  constructor() {
3361
3361
  super('Streaming Status', StreamingStatus.UUID, {
3362
- format: "tlv8" /* Formats.TLV8 */,
3363
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3362
+ format: Formats.TLV8,
3363
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3364
3364
  });
3365
3365
  this.value = this.getDefaultValue();
3366
3366
  }
@@ -3373,8 +3373,8 @@ export class SulphurDioxideDensity extends Characteristic {
3373
3373
  static UUID = '000000C5-0000-1000-8000-0026BB765291';
3374
3374
  constructor() {
3375
3375
  super('Sulphur Dioxide Density', SulphurDioxideDensity.UUID, {
3376
- format: "float" /* Formats.FLOAT */,
3377
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3376
+ format: Formats.FLOAT,
3377
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3378
3378
  minValue: 0,
3379
3379
  maxValue: 1000,
3380
3380
  minStep: 1,
@@ -3390,8 +3390,8 @@ export class SupportedAssetTypes extends Characteristic {
3390
3390
  static UUID = '00000268-0000-1000-8000-0026BB765291';
3391
3391
  constructor() {
3392
3392
  super('Supported Asset Types', SupportedAssetTypes.UUID, {
3393
- format: "uint32" /* Formats.UINT32 */,
3394
- perms: ["pr" /* Perms.PAIRED_READ */],
3393
+ format: Formats.UINT32,
3394
+ perms: [Perms.PAIRED_READ],
3395
3395
  });
3396
3396
  this.value = this.getDefaultValue();
3397
3397
  }
@@ -3404,8 +3404,8 @@ export class SupportedAudioRecordingConfiguration extends Characteristic {
3404
3404
  static UUID = '00000207-0000-1000-8000-0026BB765291';
3405
3405
  constructor() {
3406
3406
  super('Supported Audio Recording Configuration', SupportedAudioRecordingConfiguration.UUID, {
3407
- format: "tlv8" /* Formats.TLV8 */,
3408
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3407
+ format: Formats.TLV8,
3408
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3409
3409
  });
3410
3410
  this.value = this.getDefaultValue();
3411
3411
  }
@@ -3418,8 +3418,8 @@ export class SupportedAudioStreamConfiguration extends Characteristic {
3418
3418
  static UUID = '00000115-0000-1000-8000-0026BB765291';
3419
3419
  constructor() {
3420
3420
  super('Supported Audio Stream Configuration', SupportedAudioStreamConfiguration.UUID, {
3421
- format: "tlv8" /* Formats.TLV8 */,
3422
- perms: ["pr" /* Perms.PAIRED_READ */],
3421
+ format: Formats.TLV8,
3422
+ perms: [Perms.PAIRED_READ],
3423
3423
  });
3424
3424
  this.value = this.getDefaultValue();
3425
3425
  }
@@ -3432,8 +3432,8 @@ export class SupportedCameraRecordingConfiguration extends Characteristic {
3432
3432
  static UUID = '00000205-0000-1000-8000-0026BB765291';
3433
3433
  constructor() {
3434
3434
  super('Supported Camera Recording Configuration', SupportedCameraRecordingConfiguration.UUID, {
3435
- format: "tlv8" /* Formats.TLV8 */,
3436
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3435
+ format: Formats.TLV8,
3436
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3437
3437
  });
3438
3438
  this.value = this.getDefaultValue();
3439
3439
  }
@@ -3447,8 +3447,8 @@ export class SupportedCharacteristicValueTransitionConfiguration extends Charact
3447
3447
  static UUID = '00000144-0000-1000-8000-0026BB765291';
3448
3448
  constructor() {
3449
3449
  super('Supported Characteristic Value Transition Configuration', SupportedCharacteristicValueTransitionConfiguration.UUID, {
3450
- format: "tlv8" /* Formats.TLV8 */,
3451
- perms: ["pr" /* Perms.PAIRED_READ */],
3450
+ format: Formats.TLV8,
3451
+ perms: [Perms.PAIRED_READ],
3452
3452
  });
3453
3453
  this.value = this.getDefaultValue();
3454
3454
  }
@@ -3461,8 +3461,8 @@ export class SupportedDataStreamTransportConfiguration extends Characteristic {
3461
3461
  static UUID = '00000130-0000-1000-8000-0026BB765291';
3462
3462
  constructor() {
3463
3463
  super('Supported Data Stream Transport Configuration', SupportedDataStreamTransportConfiguration.UUID, {
3464
- format: "tlv8" /* Formats.TLV8 */,
3465
- perms: ["pr" /* Perms.PAIRED_READ */],
3464
+ format: Formats.TLV8,
3465
+ perms: [Perms.PAIRED_READ],
3466
3466
  });
3467
3467
  this.value = this.getDefaultValue();
3468
3468
  }
@@ -3475,8 +3475,8 @@ export class SupportedDiagnosticsModes extends Characteristic {
3475
3475
  static UUID = '0000024C-0000-1000-8000-0026BB765291';
3476
3476
  constructor() {
3477
3477
  super('Supported Diagnostics Modes', SupportedDiagnosticsModes.UUID, {
3478
- format: "uint32" /* Formats.UINT32 */,
3479
- perms: ["pr" /* Perms.PAIRED_READ */],
3478
+ format: Formats.UINT32,
3479
+ perms: [Perms.PAIRED_READ],
3480
3480
  });
3481
3481
  this.value = this.getDefaultValue();
3482
3482
  }
@@ -3490,8 +3490,8 @@ export class SupportedDiagnosticsSnapshot extends Characteristic {
3490
3490
  static UUID = '00000238-0000-1000-8000-0026BB765291';
3491
3491
  constructor() {
3492
3492
  super('Supported Diagnostics Snapshot', SupportedDiagnosticsSnapshot.UUID, {
3493
- format: "tlv8" /* Formats.TLV8 */,
3494
- perms: ["pr" /* Perms.PAIRED_READ */],
3493
+ format: Formats.TLV8,
3494
+ perms: [Perms.PAIRED_READ],
3495
3495
  });
3496
3496
  this.value = this.getDefaultValue();
3497
3497
  }
@@ -3504,8 +3504,8 @@ export class SupportedFirmwareUpdateConfiguration extends Characteristic {
3504
3504
  static UUID = '00000233-0000-1000-8000-0026BB765291';
3505
3505
  constructor() {
3506
3506
  super('Supported Firmware Update Configuration', SupportedFirmwareUpdateConfiguration.UUID, {
3507
- format: "tlv8" /* Formats.TLV8 */,
3508
- perms: ["pr" /* Perms.PAIRED_READ */],
3507
+ format: Formats.TLV8,
3508
+ perms: [Perms.PAIRED_READ],
3509
3509
  });
3510
3510
  this.value = this.getDefaultValue();
3511
3511
  }
@@ -3518,8 +3518,8 @@ export class SupportedMetrics extends Characteristic {
3518
3518
  static UUID = '00000271-0000-1000-8000-0026BB765291';
3519
3519
  constructor() {
3520
3520
  super('Supported Metrics', SupportedMetrics.UUID, {
3521
- format: "tlv8" /* Formats.TLV8 */,
3522
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3521
+ format: Formats.TLV8,
3522
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3523
3523
  });
3524
3524
  this.value = this.getDefaultValue();
3525
3525
  }
@@ -3532,8 +3532,8 @@ export class SupportedRouterConfiguration extends Characteristic {
3532
3532
  static UUID = '00000210-0000-1000-8000-0026BB765291';
3533
3533
  constructor() {
3534
3534
  super('Supported Router Configuration', SupportedRouterConfiguration.UUID, {
3535
- format: "tlv8" /* Formats.TLV8 */,
3536
- perms: ["pr" /* Perms.PAIRED_READ */],
3535
+ format: Formats.TLV8,
3536
+ perms: [Perms.PAIRED_READ],
3537
3537
  });
3538
3538
  this.value = this.getDefaultValue();
3539
3539
  }
@@ -3546,8 +3546,8 @@ export class SupportedRTPConfiguration extends Characteristic {
3546
3546
  static UUID = '00000116-0000-1000-8000-0026BB765291';
3547
3547
  constructor() {
3548
3548
  super('Supported RTP Configuration', SupportedRTPConfiguration.UUID, {
3549
- format: "tlv8" /* Formats.TLV8 */,
3550
- perms: ["pr" /* Perms.PAIRED_READ */],
3549
+ format: Formats.TLV8,
3550
+ perms: [Perms.PAIRED_READ],
3551
3551
  });
3552
3552
  this.value = this.getDefaultValue();
3553
3553
  }
@@ -3560,8 +3560,8 @@ export class SupportedSessionKeepaliveConfigurationList extends Characteristic {
3560
3560
  static UUID = '00000274-0000-1000-8000-0026BB765291';
3561
3561
  constructor() {
3562
3562
  super('Supported Session Keep-alive Configuration List', SupportedSessionKeepaliveConfigurationList.UUID, {
3563
- format: "tlv8" /* Formats.TLV8 */,
3564
- perms: ["pr" /* Perms.PAIRED_READ */],
3563
+ format: Formats.TLV8,
3564
+ perms: [Perms.PAIRED_READ],
3565
3565
  });
3566
3566
  this.value = this.getDefaultValue();
3567
3567
  }
@@ -3574,8 +3574,8 @@ export class SupportedSleepConfiguration extends Characteristic {
3574
3574
  static UUID = '00000251-0000-1000-8000-0026BB765291';
3575
3575
  constructor() {
3576
3576
  super('Supported Sleep Configuration', SupportedSleepConfiguration.UUID, {
3577
- format: "tlv8" /* Formats.TLV8 */,
3578
- perms: ["pr" /* Perms.PAIRED_READ */],
3577
+ format: Formats.TLV8,
3578
+ perms: [Perms.PAIRED_READ],
3579
3579
  });
3580
3580
  this.value = this.getDefaultValue();
3581
3581
  }
@@ -3589,8 +3589,8 @@ export class SupportedTransferTransportConfiguration extends Characteristic {
3589
3589
  static UUID = '00000202-0000-1000-8000-0026BB765291';
3590
3590
  constructor() {
3591
3591
  super('Supported Transfer Transport Configuration', SupportedTransferTransportConfiguration.UUID, {
3592
- format: "tlv8" /* Formats.TLV8 */,
3593
- perms: ["pr" /* Perms.PAIRED_READ */],
3592
+ format: Formats.TLV8,
3593
+ perms: [Perms.PAIRED_READ],
3594
3594
  });
3595
3595
  this.value = this.getDefaultValue();
3596
3596
  }
@@ -3603,8 +3603,8 @@ export class SupportedVideoRecordingConfiguration extends Characteristic {
3603
3603
  static UUID = '00000206-0000-1000-8000-0026BB765291';
3604
3604
  constructor() {
3605
3605
  super('Supported Video Recording Configuration', SupportedVideoRecordingConfiguration.UUID, {
3606
- format: "tlv8" /* Formats.TLV8 */,
3607
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3606
+ format: Formats.TLV8,
3607
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3608
3608
  });
3609
3609
  this.value = this.getDefaultValue();
3610
3610
  }
@@ -3617,8 +3617,8 @@ export class SupportedVideoStreamConfiguration extends Characteristic {
3617
3617
  static UUID = '00000114-0000-1000-8000-0026BB765291';
3618
3618
  constructor() {
3619
3619
  super('Supported Video Stream Configuration', SupportedVideoStreamConfiguration.UUID, {
3620
- format: "tlv8" /* Formats.TLV8 */,
3621
- perms: ["pr" /* Perms.PAIRED_READ */],
3620
+ format: Formats.TLV8,
3621
+ perms: [Perms.PAIRED_READ],
3622
3622
  });
3623
3623
  this.value = this.getDefaultValue();
3624
3624
  }
@@ -3633,8 +3633,8 @@ export class SwingMode extends Characteristic {
3633
3633
  static SWING_ENABLED = 1;
3634
3634
  constructor() {
3635
3635
  super('Swing Mode', SwingMode.UUID, {
3636
- format: "uint8" /* Formats.UINT8 */,
3637
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3636
+ format: Formats.UINT8,
3637
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3638
3638
  minValue: 0,
3639
3639
  maxValue: 1,
3640
3640
  minStep: 1,
@@ -3652,8 +3652,8 @@ export class TapType extends Characteristic {
3652
3652
  static UUID = '0000022F-0000-1000-8000-0026BB765291';
3653
3653
  constructor() {
3654
3654
  super('Tap Type', TapType.UUID, {
3655
- format: "uint16" /* Formats.UINT16 */,
3656
- perms: ["pr" /* Perms.PAIRED_READ */],
3655
+ format: Formats.UINT16,
3656
+ perms: [Perms.PAIRED_READ],
3657
3657
  });
3658
3658
  this.value = this.getDefaultValue();
3659
3659
  }
@@ -3669,8 +3669,8 @@ export class TargetAirPurifierState extends Characteristic {
3669
3669
  static AUTO = 1;
3670
3670
  constructor() {
3671
3671
  super('Target Air Purifier State', TargetAirPurifierState.UUID, {
3672
- format: "uint8" /* Formats.UINT8 */,
3673
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3672
+ format: Formats.UINT8,
3673
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3674
3674
  minValue: 0,
3675
3675
  maxValue: 1,
3676
3676
  minStep: 1,
@@ -3687,9 +3687,9 @@ export class TargetControlList extends Characteristic {
3687
3687
  static UUID = '00000124-0000-1000-8000-0026BB765291';
3688
3688
  constructor() {
3689
3689
  super('Target Control List', TargetControlList.UUID, {
3690
- format: "tlv8" /* Formats.TLV8 */,
3691
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
3692
- adminOnlyAccess: [0 /* Access.READ */, 1 /* Access.WRITE */],
3690
+ format: Formats.TLV8,
3691
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
3692
+ adminOnlyAccess: [Access.READ, Access.WRITE],
3693
3693
  });
3694
3694
  this.value = this.getDefaultValue();
3695
3695
  }
@@ -3702,8 +3702,8 @@ export class TargetControlSupportedConfiguration extends Characteristic {
3702
3702
  static UUID = '00000123-0000-1000-8000-0026BB765291';
3703
3703
  constructor() {
3704
3704
  super('Target Control Supported Configuration', TargetControlSupportedConfiguration.UUID, {
3705
- format: "tlv8" /* Formats.TLV8 */,
3706
- perms: ["pr" /* Perms.PAIRED_READ */],
3705
+ format: Formats.TLV8,
3706
+ perms: [Perms.PAIRED_READ],
3707
3707
  });
3708
3708
  this.value = this.getDefaultValue();
3709
3709
  }
@@ -3718,8 +3718,8 @@ export class TargetDoorState extends Characteristic {
3718
3718
  static CLOSED = 1;
3719
3719
  constructor() {
3720
3720
  super('Target Door State', TargetDoorState.UUID, {
3721
- format: "uint8" /* Formats.UINT8 */,
3722
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3721
+ format: Formats.UINT8,
3722
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3723
3723
  minValue: 0,
3724
3724
  maxValue: 1,
3725
3725
  minStep: 1,
@@ -3738,8 +3738,8 @@ export class TargetFanState extends Characteristic {
3738
3738
  static AUTO = 1;
3739
3739
  constructor() {
3740
3740
  super('Target Fan State', TargetFanState.UUID, {
3741
- format: "uint8" /* Formats.UINT8 */,
3742
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3741
+ format: Formats.UINT8,
3742
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3743
3743
  minValue: 0,
3744
3744
  maxValue: 1,
3745
3745
  minStep: 1,
@@ -3759,8 +3759,8 @@ export class TargetHeaterCoolerState extends Characteristic {
3759
3759
  static COOL = 2;
3760
3760
  constructor() {
3761
3761
  super('Target Heater-Cooler State', TargetHeaterCoolerState.UUID, {
3762
- format: "uint8" /* Formats.UINT8 */,
3763
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3762
+ format: Formats.UINT8,
3763
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3764
3764
  minValue: 0,
3765
3765
  maxValue: 2,
3766
3766
  minStep: 1,
@@ -3781,8 +3781,8 @@ export class TargetHeatingCoolingState extends Characteristic {
3781
3781
  static AUTO = 3;
3782
3782
  constructor() {
3783
3783
  super('Target Heating Cooling State', TargetHeatingCoolingState.UUID, {
3784
- format: "uint8" /* Formats.UINT8 */,
3785
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3784
+ format: Formats.UINT8,
3785
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3786
3786
  minValue: 0,
3787
3787
  maxValue: 3,
3788
3788
  minStep: 1,
@@ -3799,9 +3799,9 @@ export class TargetHorizontalTiltAngle extends Characteristic {
3799
3799
  static UUID = '0000007B-0000-1000-8000-0026BB765291';
3800
3800
  constructor() {
3801
3801
  super('Target Horizontal Tilt Angle', TargetHorizontalTiltAngle.UUID, {
3802
- format: "int" /* Formats.INT */,
3803
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3804
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
3802
+ format: Formats.INT,
3803
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3804
+ unit: Units.ARC_DEGREE,
3805
3805
  minValue: -90,
3806
3806
  maxValue: 90,
3807
3807
  minStep: 1,
@@ -3820,8 +3820,8 @@ export class TargetHumidifierDehumidifierState extends Characteristic {
3820
3820
  static DEHUMIDIFIER = 2;
3821
3821
  constructor() {
3822
3822
  super('Target Humidifier-Dehumidifier State', TargetHumidifierDehumidifierState.UUID, {
3823
- format: "uint8" /* Formats.UINT8 */,
3824
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3823
+ format: Formats.UINT8,
3824
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3825
3825
  minValue: 0,
3826
3826
  maxValue: 2,
3827
3827
  minStep: 1,
@@ -3841,8 +3841,8 @@ export class TargetMediaState extends Characteristic {
3841
3841
  static STOP = 2;
3842
3842
  constructor() {
3843
3843
  super('Target Media State', TargetMediaState.UUID, {
3844
- format: "uint8" /* Formats.UINT8 */,
3845
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3844
+ format: Formats.UINT8,
3845
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3846
3846
  minValue: 0,
3847
3847
  maxValue: 2,
3848
3848
  minStep: 1,
@@ -3859,9 +3859,9 @@ export class TargetPosition extends Characteristic {
3859
3859
  static UUID = '0000007C-0000-1000-8000-0026BB765291';
3860
3860
  constructor() {
3861
3861
  super('Target Position', TargetPosition.UUID, {
3862
- format: "uint8" /* Formats.UINT8 */,
3863
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3864
- unit: "percentage" /* Units.PERCENTAGE */,
3862
+ format: Formats.UINT8,
3863
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3864
+ unit: Units.PERCENTAGE,
3865
3865
  minValue: 0,
3866
3866
  maxValue: 100,
3867
3867
  minStep: 1,
@@ -3877,9 +3877,9 @@ export class TargetRelativeHumidity extends Characteristic {
3877
3877
  static UUID = '00000034-0000-1000-8000-0026BB765291';
3878
3878
  constructor() {
3879
3879
  super('Target Relative Humidity', TargetRelativeHumidity.UUID, {
3880
- format: "float" /* Formats.FLOAT */,
3881
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3882
- unit: "percentage" /* Units.PERCENTAGE */,
3880
+ format: Formats.FLOAT,
3881
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3882
+ unit: Units.PERCENTAGE,
3883
3883
  minValue: 0,
3884
3884
  maxValue: 100,
3885
3885
  minStep: 1,
@@ -3895,9 +3895,9 @@ export class TargetTemperature extends Characteristic {
3895
3895
  static UUID = '00000035-0000-1000-8000-0026BB765291';
3896
3896
  constructor() {
3897
3897
  super('Target Temperature', TargetTemperature.UUID, {
3898
- format: "float" /* Formats.FLOAT */,
3899
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3900
- unit: "celsius" /* Units.CELSIUS */,
3898
+ format: Formats.FLOAT,
3899
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3900
+ unit: Units.CELSIUS,
3901
3901
  minValue: 10,
3902
3902
  maxValue: 38,
3903
3903
  minStep: 0.1,
@@ -3913,9 +3913,9 @@ export class TargetTiltAngle extends Characteristic {
3913
3913
  static UUID = '000000C2-0000-1000-8000-0026BB765291';
3914
3914
  constructor() {
3915
3915
  super('Target Tilt Angle', TargetTiltAngle.UUID, {
3916
- format: "int" /* Formats.INT */,
3917
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3918
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
3916
+ format: Formats.INT,
3917
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3918
+ unit: Units.ARC_DEGREE,
3919
3919
  minValue: -90,
3920
3920
  maxValue: 90,
3921
3921
  minStep: 1,
@@ -3931,9 +3931,9 @@ export class TargetVerticalTiltAngle extends Characteristic {
3931
3931
  static UUID = '0000007D-0000-1000-8000-0026BB765291';
3932
3932
  constructor() {
3933
3933
  super('Target Vertical Tilt Angle', TargetVerticalTiltAngle.UUID, {
3934
- format: "int" /* Formats.INT */,
3935
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3936
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
3934
+ format: Formats.INT,
3935
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3936
+ unit: Units.ARC_DEGREE,
3937
3937
  minValue: -90,
3938
3938
  maxValue: 90,
3939
3939
  minStep: 1,
@@ -3951,8 +3951,8 @@ export class TargetVisibilityState extends Characteristic {
3951
3951
  static HIDDEN = 1;
3952
3952
  constructor() {
3953
3953
  super('Target Visibility State', TargetVisibilityState.UUID, {
3954
- format: "uint8" /* Formats.UINT8 */,
3955
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3954
+ format: Formats.UINT8,
3955
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3956
3956
  minValue: 0,
3957
3957
  maxValue: 1,
3958
3958
  minStep: 1,
@@ -3971,8 +3971,8 @@ export class TemperatureDisplayUnits extends Characteristic {
3971
3971
  static FAHRENHEIT = 1;
3972
3972
  constructor() {
3973
3973
  super('Temperature Display Units', TemperatureDisplayUnits.UUID, {
3974
- format: "uint8" /* Formats.UINT8 */,
3975
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3974
+ format: Formats.UINT8,
3975
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3976
3976
  minValue: 0,
3977
3977
  maxValue: 1,
3978
3978
  minStep: 1,
@@ -3991,8 +3991,8 @@ export class ThirdPartyCameraActive extends Characteristic {
3991
3991
  static ON = 1;
3992
3992
  constructor() {
3993
3993
  super('Third Party Camera Active', ThirdPartyCameraActive.UUID, {
3994
- format: "uint8" /* Formats.UINT8 */,
3995
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3994
+ format: Formats.UINT8,
3995
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3996
3996
  minValue: 0,
3997
3997
  maxValue: 1,
3998
3998
  minStep: 1,
@@ -4009,8 +4009,8 @@ export class ThirdPartyCameraInUse extends Characteristic {
4009
4009
  static UUID = '00000277-0000-1000-8000-0026BB765291';
4010
4010
  constructor() {
4011
4011
  super('Third Party Camera In Use', ThirdPartyCameraInUse.UUID, {
4012
- format: "uint8" /* Formats.UINT8 */,
4013
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4012
+ format: Formats.UINT8,
4013
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4014
4014
  minValue: 0,
4015
4015
  maxValue: 1,
4016
4016
  minStep: 1,
@@ -4026,8 +4026,8 @@ export class ThirdPartyEcosystemEnabled extends Characteristic {
4026
4026
  static UUID = '00000276-0000-1000-8000-0026BB765291';
4027
4027
  constructor() {
4028
4028
  super('Third Party Ecosystem Enabled', ThirdPartyEcosystemEnabled.UUID, {
4029
- format: "uint8" /* Formats.UINT8 */,
4030
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4029
+ format: Formats.UINT8,
4030
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4031
4031
  minValue: 0,
4032
4032
  maxValue: 1,
4033
4033
  minStep: 1,
@@ -4043,8 +4043,8 @@ export class ThreadControlPoint extends Characteristic {
4043
4043
  static UUID = '00000704-0000-1000-8000-0026BB765291';
4044
4044
  constructor() {
4045
4045
  super('Thread Control Point', ThreadControlPoint.UUID, {
4046
- format: "tlv8" /* Formats.TLV8 */,
4047
- perms: ["pw" /* Perms.PAIRED_WRITE */],
4046
+ format: Formats.TLV8,
4047
+ perms: [Perms.PAIRED_WRITE],
4048
4048
  });
4049
4049
  this.value = this.getDefaultValue();
4050
4050
  }
@@ -4057,8 +4057,8 @@ export class ThreadNodeCapabilities extends Characteristic {
4057
4057
  static UUID = '00000702-0000-1000-8000-0026BB765291';
4058
4058
  constructor() {
4059
4059
  super('Thread Node Capabilities', ThreadNodeCapabilities.UUID, {
4060
- format: "uint16" /* Formats.UINT16 */,
4061
- perms: ["pr" /* Perms.PAIRED_READ */],
4060
+ format: Formats.UINT16,
4061
+ perms: [Perms.PAIRED_READ],
4062
4062
  minValue: 0,
4063
4063
  maxValue: 31,
4064
4064
  minStep: 1,
@@ -4074,8 +4074,8 @@ export class ThreadOpenThreadVersion extends Characteristic {
4074
4074
  static UUID = '00000706-0000-1000-8000-0026BB765291';
4075
4075
  constructor() {
4076
4076
  super('Thread OpenThread Version', ThreadOpenThreadVersion.UUID, {
4077
- format: "string" /* Formats.STRING */,
4078
- perms: ["pr" /* Perms.PAIRED_READ */],
4077
+ format: Formats.STRING,
4078
+ perms: [Perms.PAIRED_READ],
4079
4079
  });
4080
4080
  this.value = this.getDefaultValue();
4081
4081
  }
@@ -4088,8 +4088,8 @@ export class ThreadStatus extends Characteristic {
4088
4088
  static UUID = '00000703-0000-1000-8000-0026BB765291';
4089
4089
  constructor() {
4090
4090
  super('Thread Status', ThreadStatus.UUID, {
4091
- format: "uint16" /* Formats.UINT16 */,
4092
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4091
+ format: Formats.UINT16,
4092
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4093
4093
  minValue: 0,
4094
4094
  maxValue: 6,
4095
4095
  minStep: 1,
@@ -4106,8 +4106,8 @@ export class Token extends Characteristic {
4106
4106
  static UUID = '00000231-0000-1000-8000-0026BB765291';
4107
4107
  constructor() {
4108
4108
  super('Token', Token.UUID, {
4109
- format: "data" /* Formats.DATA */,
4110
- perms: ["pw" /* Perms.PAIRED_WRITE */],
4109
+ format: Formats.DATA,
4110
+ perms: [Perms.PAIRED_WRITE],
4111
4111
  });
4112
4112
  this.value = this.getDefaultValue();
4113
4113
  }
@@ -4122,8 +4122,8 @@ export class TransmitPower extends Characteristic {
4122
4122
  static UUID = '00000242-0000-1000-8000-0026BB765291';
4123
4123
  constructor() {
4124
4124
  super('Transmit Power', TransmitPower.UUID, {
4125
- format: "int" /* Formats.INT */,
4126
- perms: ["pr" /* Perms.PAIRED_READ */],
4125
+ format: Formats.INT,
4126
+ perms: [Perms.PAIRED_READ],
4127
4127
  });
4128
4128
  this.value = this.getDefaultValue();
4129
4129
  }
@@ -4137,8 +4137,8 @@ export class TunnelConnectionTimeout extends Characteristic {
4137
4137
  static UUID = '00000061-0000-1000-8000-0026BB765291';
4138
4138
  constructor() {
4139
4139
  super('Tunnel Connection Timeout', TunnelConnectionTimeout.UUID, {
4140
- format: "int" /* Formats.INT */,
4141
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4140
+ format: Formats.INT,
4141
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
4142
4142
  });
4143
4143
  this.value = this.getDefaultValue();
4144
4144
  }
@@ -4153,8 +4153,8 @@ export class TunneledAccessoryAdvertising extends Characteristic {
4153
4153
  static UUID = '00000060-0000-1000-8000-0026BB765291';
4154
4154
  constructor() {
4155
4155
  super('Tunneled Accessory Advertising', TunneledAccessoryAdvertising.UUID, {
4156
- format: "bool" /* Formats.BOOL */,
4157
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4156
+ format: Formats.BOOL,
4157
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
4158
4158
  });
4159
4159
  this.value = this.getDefaultValue();
4160
4160
  }
@@ -4169,8 +4169,8 @@ export class TunneledAccessoryConnected extends Characteristic {
4169
4169
  static UUID = '00000059-0000-1000-8000-0026BB765291';
4170
4170
  constructor() {
4171
4171
  super('Tunneled Accessory Connected', TunneledAccessoryConnected.UUID, {
4172
- format: "bool" /* Formats.BOOL */,
4173
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4172
+ format: Formats.BOOL,
4173
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
4174
4174
  });
4175
4175
  this.value = this.getDefaultValue();
4176
4176
  }
@@ -4185,8 +4185,8 @@ export class TunneledAccessoryStateNumber extends Characteristic {
4185
4185
  static UUID = '00000058-0000-1000-8000-0026BB765291';
4186
4186
  constructor() {
4187
4187
  super('Tunneled Accessory State Number', TunneledAccessoryStateNumber.UUID, {
4188
- format: "int" /* Formats.INT */,
4189
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4188
+ format: Formats.INT,
4189
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4190
4190
  });
4191
4191
  this.value = this.getDefaultValue();
4192
4192
  }
@@ -4204,8 +4204,8 @@ export class ValveType extends Characteristic {
4204
4204
  static WATER_FAUCET = 3;
4205
4205
  constructor() {
4206
4206
  super('Valve Type', ValveType.UUID, {
4207
- format: "uint8" /* Formats.UINT8 */,
4208
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4207
+ format: Formats.UINT8,
4208
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4209
4209
  minValue: 0,
4210
4210
  maxValue: 3,
4211
4211
  minStep: 1,
@@ -4222,8 +4222,8 @@ export class Version extends Characteristic {
4222
4222
  static UUID = '00000037-0000-1000-8000-0026BB765291';
4223
4223
  constructor() {
4224
4224
  super('Version', Version.UUID, {
4225
- format: "string" /* Formats.STRING */,
4226
- perms: ["pr" /* Perms.PAIRED_READ */],
4225
+ format: Formats.STRING,
4226
+ perms: [Perms.PAIRED_READ],
4227
4227
  maxLen: 64,
4228
4228
  });
4229
4229
  this.value = this.getDefaultValue();
@@ -4238,8 +4238,8 @@ export class VideoAnalysisActive extends Characteristic {
4238
4238
  static UUID = '00000229-0000-1000-8000-0026BB765291';
4239
4239
  constructor() {
4240
4240
  super('Video Analysis Active', VideoAnalysisActive.UUID, {
4241
- format: "uint8" /* Formats.UINT8 */,
4242
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4241
+ format: Formats.UINT8,
4242
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
4243
4243
  });
4244
4244
  this.value = this.getDefaultValue();
4245
4245
  }
@@ -4252,8 +4252,8 @@ export class VOCDensity extends Characteristic {
4252
4252
  static UUID = '000000C8-0000-1000-8000-0026BB765291';
4253
4253
  constructor() {
4254
4254
  super('VOC Density', VOCDensity.UUID, {
4255
- format: "float" /* Formats.FLOAT */,
4256
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4255
+ format: Formats.FLOAT,
4256
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4257
4257
  minValue: 0,
4258
4258
  maxValue: 1000,
4259
4259
  minStep: 1,
@@ -4269,9 +4269,9 @@ export class Volume extends Characteristic {
4269
4269
  static UUID = '00000119-0000-1000-8000-0026BB765291';
4270
4270
  constructor() {
4271
4271
  super('Volume', Volume.UUID, {
4272
- format: "uint8" /* Formats.UINT8 */,
4273
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4274
- unit: "percentage" /* Units.PERCENTAGE */,
4272
+ format: Formats.UINT8,
4273
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
4274
+ unit: Units.PERCENTAGE,
4275
4275
  minValue: 0,
4276
4276
  maxValue: 100,
4277
4277
  minStep: 1,
@@ -4291,8 +4291,8 @@ export class VolumeControlType extends Characteristic {
4291
4291
  static ABSOLUTE = 3;
4292
4292
  constructor() {
4293
4293
  super('Volume Control Type', VolumeControlType.UUID, {
4294
- format: "uint8" /* Formats.UINT8 */,
4295
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4294
+ format: Formats.UINT8,
4295
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4296
4296
  minValue: 0,
4297
4297
  maxValue: 3,
4298
4298
  minStep: 1,
@@ -4311,8 +4311,8 @@ export class VolumeSelector extends Characteristic {
4311
4311
  static DECREMENT = 1;
4312
4312
  constructor() {
4313
4313
  super('Volume Selector', VolumeSelector.UUID, {
4314
- format: "uint8" /* Formats.UINT8 */,
4315
- perms: ["pw" /* Perms.PAIRED_WRITE */],
4314
+ format: Formats.UINT8,
4315
+ perms: [Perms.PAIRED_WRITE],
4316
4316
  minValue: 0,
4317
4317
  maxValue: 1,
4318
4318
  minStep: 1,
@@ -4330,8 +4330,8 @@ export class WakeConfiguration extends Characteristic {
4330
4330
  static UUID = '00000222-0000-1000-8000-0026BB765291';
4331
4331
  constructor() {
4332
4332
  super('Wake Configuration', WakeConfiguration.UUID, {
4333
- format: "tlv8" /* Formats.TLV8 */,
4334
- perms: ["pr" /* Perms.PAIRED_READ */],
4333
+ format: Formats.TLV8,
4334
+ perms: [Perms.PAIRED_READ],
4335
4335
  });
4336
4336
  this.value = this.getDefaultValue();
4337
4337
  }
@@ -4344,8 +4344,8 @@ export class WANConfigurationList extends Characteristic {
4344
4344
  static UUID = '00000211-0000-1000-8000-0026BB765291';
4345
4345
  constructor() {
4346
4346
  super('WAN Configuration List', WANConfigurationList.UUID, {
4347
- format: "tlv8" /* Formats.TLV8 */,
4348
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4347
+ format: Formats.TLV8,
4348
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4349
4349
  });
4350
4350
  this.value = this.getDefaultValue();
4351
4351
  }
@@ -4358,8 +4358,8 @@ export class WANStatusList extends Characteristic {
4358
4358
  static UUID = '00000212-0000-1000-8000-0026BB765291';
4359
4359
  constructor() {
4360
4360
  super('WAN Status List', WANStatusList.UUID, {
4361
- format: "tlv8" /* Formats.TLV8 */,
4362
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4361
+ format: Formats.TLV8,
4362
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4363
4363
  });
4364
4364
  this.value = this.getDefaultValue();
4365
4365
  }
@@ -4372,9 +4372,9 @@ export class WaterLevel extends Characteristic {
4372
4372
  static UUID = '000000B5-0000-1000-8000-0026BB765291';
4373
4373
  constructor() {
4374
4374
  super('Water Level', WaterLevel.UUID, {
4375
- format: "float" /* Formats.FLOAT */,
4376
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4377
- unit: "percentage" /* Units.PERCENTAGE */,
4375
+ format: Formats.FLOAT,
4376
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4377
+ unit: Units.PERCENTAGE,
4378
4378
  minValue: 0,
4379
4379
  maxValue: 100,
4380
4380
  minStep: 1,
@@ -4391,8 +4391,8 @@ export class WiFiCapabilities extends Characteristic {
4391
4391
  static UUID = '0000022C-0000-1000-8000-0026BB765291';
4392
4392
  constructor() {
4393
4393
  super('Wi-Fi Capabilities', WiFiCapabilities.UUID, {
4394
- format: "uint32" /* Formats.UINT32 */,
4395
- perms: ["pr" /* Perms.PAIRED_READ */],
4394
+ format: Formats.UINT32,
4395
+ perms: [Perms.PAIRED_READ],
4396
4396
  });
4397
4397
  this.value = this.getDefaultValue();
4398
4398
  }
@@ -4406,13 +4406,13 @@ export class WiFiConfigurationControl extends Characteristic {
4406
4406
  static UUID = '0000022D-0000-1000-8000-0026BB765291';
4407
4407
  constructor() {
4408
4408
  super('Wi-Fi Configuration Control', WiFiConfigurationControl.UUID, {
4409
- format: "tlv8" /* Formats.TLV8 */,
4409
+ format: Formats.TLV8,
4410
4410
  perms: [
4411
- "ev" /* Perms.NOTIFY */,
4412
- "pr" /* Perms.PAIRED_READ */,
4413
- "pw" /* Perms.PAIRED_WRITE */,
4414
- "tw" /* Perms.TIMED_WRITE */,
4415
- "wr" /* Perms.WRITE_RESPONSE */,
4411
+ Perms.NOTIFY,
4412
+ Perms.PAIRED_READ,
4413
+ Perms.PAIRED_WRITE,
4414
+ Perms.TIMED_WRITE,
4415
+ Perms.WRITE_RESPONSE,
4416
4416
  ],
4417
4417
  });
4418
4418
  this.value = this.getDefaultValue();
@@ -4429,8 +4429,8 @@ export class WiFiSatelliteStatus extends Characteristic {
4429
4429
  static NOT_CONNECTED = 2;
4430
4430
  constructor() {
4431
4431
  super('Wi-Fi Satellite Status', WiFiSatelliteStatus.UUID, {
4432
- format: "uint8" /* Formats.UINT8 */,
4433
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4432
+ format: Formats.UINT8,
4433
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4434
4434
  minValue: 0,
4435
4435
  maxValue: 2,
4436
4436
  validValues: [0, 1, 2],