@homebridge/hap-nodejs 2.3.1-beta.0 → 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 (254) 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 +40 -21
  21. package/dist/lib/Characteristic.js +207 -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 +16 -12
  27. package/dist/lib/Service.js +58 -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 +35 -1
  66. package/dist/lib/definitions/CharacteristicDefinitions.js +649 -568
  67. package/dist/lib/definitions/CharacteristicDefinitions.js.map +1 -1
  68. package/dist/lib/definitions/ServiceDefinitions.d.ts +7 -1
  69. package/dist/lib/definitions/ServiceDefinitions.js +16 -1
  70. package/dist/lib/definitions/ServiceDefinitions.js.map +1 -1
  71. package/dist/lib/definitions/index.d.ts +0 -1
  72. package/dist/lib/gen/HomeKit.d.ts +0 -1
  73. package/dist/lib/model/AccessoryInfo.d.ts +5 -6
  74. package/dist/lib/model/AccessoryInfo.js +23 -19
  75. package/dist/lib/model/AccessoryInfo.js.map +1 -1
  76. package/dist/lib/model/ControllerStorage.d.ts +11 -5
  77. package/dist/lib/model/ControllerStorage.js +34 -8
  78. package/dist/lib/model/ControllerStorage.js.map +1 -1
  79. package/dist/lib/model/HAPFileStorage.d.ts +20 -2
  80. package/dist/lib/model/HAPFileStorage.js +59 -10
  81. package/dist/lib/model/HAPFileStorage.js.map +1 -1
  82. package/dist/lib/model/HAPStorage.d.ts +0 -1
  83. package/dist/lib/model/HAPStorage.js +6 -3
  84. package/dist/lib/model/HAPStorage.js.map +1 -1
  85. package/dist/lib/model/IdentifierCache.d.ts +2 -3
  86. package/dist/lib/model/IdentifierCache.js +26 -13
  87. package/dist/lib/model/IdentifierCache.js.map +1 -1
  88. package/dist/lib/tv/AccessControlManagement.d.ts +6 -7
  89. package/dist/lib/tv/AccessControlManagement.js +13 -19
  90. package/dist/lib/tv/AccessControlManagement.js.map +1 -1
  91. package/dist/lib/util/checkName.d.ts +1 -2
  92. package/dist/lib/util/checkName.js.map +1 -1
  93. package/dist/lib/util/clone.d.ts +0 -1
  94. package/dist/lib/util/clone.js.map +1 -1
  95. package/dist/lib/util/color-utils.d.ts +1 -2
  96. package/dist/lib/util/color-utils.js +1 -1
  97. package/dist/lib/util/errors.d.ts +4 -0
  98. package/dist/lib/util/errors.js +15 -0
  99. package/dist/lib/util/errors.js.map +1 -0
  100. package/dist/lib/util/eventedhttp.d.ts +63 -19
  101. package/dist/lib/util/eventedhttp.js +170 -48
  102. package/dist/lib/util/eventedhttp.js.map +1 -1
  103. package/dist/lib/util/hapCrypto.d.ts +1 -2
  104. package/dist/lib/util/hapCrypto.js +6 -7
  105. package/dist/lib/util/hapCrypto.js.map +1 -1
  106. package/dist/lib/util/hapStatusError.d.ts +0 -1
  107. package/dist/lib/util/hapStatusError.js +1 -1
  108. package/dist/lib/util/hapStatusError.js.map +1 -1
  109. package/dist/lib/util/net-utils.d.ts +1 -2
  110. package/dist/lib/util/net-utils.js +6 -7
  111. package/dist/lib/util/net-utils.js.map +1 -1
  112. package/dist/lib/util/once.d.ts +0 -1
  113. package/dist/lib/util/promise-utils.d.ts +1 -2
  114. package/dist/lib/util/promise-utils.js +2 -1
  115. package/dist/lib/util/promise-utils.js.map +1 -1
  116. package/dist/lib/util/request-util.d.ts +4 -4
  117. package/dist/lib/util/request-util.js +29 -28
  118. package/dist/lib/util/request-util.js.map +1 -1
  119. package/dist/lib/util/time.d.ts +1 -2
  120. package/dist/lib/util/time.js.map +1 -1
  121. package/dist/lib/util/tlv.d.ts +4 -4
  122. package/dist/lib/util/tlv.js +16 -5
  123. package/dist/lib/util/tlv.js.map +1 -1
  124. package/dist/lib/util/uuid.d.ts +5 -2
  125. package/dist/lib/util/uuid.js +6 -0
  126. package/dist/lib/util/uuid.js.map +1 -1
  127. package/dist/types.d.ts +20 -17
  128. package/dist/types.js +0 -1
  129. package/dist/types.js.map +1 -1
  130. package/package.json +8 -14
  131. package/dist/accessories/AirConditioner_accessory.d.ts +0 -2
  132. package/dist/accessories/AirConditioner_accessory.d.ts.map +0 -1
  133. package/dist/accessories/AirConditioner_accessory.js +0 -126
  134. package/dist/accessories/AirConditioner_accessory.js.map +0 -1
  135. package/dist/accessories/AppleTVRemote_accessory.d.ts +0 -2
  136. package/dist/accessories/AppleTVRemote_accessory.d.ts.map +0 -1
  137. package/dist/accessories/AppleTVRemote_accessory.js +0 -146
  138. package/dist/accessories/AppleTVRemote_accessory.js.map +0 -1
  139. package/dist/accessories/Camera_accessory.d.ts +0 -2
  140. package/dist/accessories/Camera_accessory.d.ts.map +0 -1
  141. package/dist/accessories/Camera_accessory.js +0 -562
  142. package/dist/accessories/Camera_accessory.js.map +0 -1
  143. package/dist/accessories/Fan_accessory.d.ts +0 -2
  144. package/dist/accessories/Fan_accessory.d.ts.map +0 -1
  145. package/dist/accessories/Fan_accessory.js +0 -71
  146. package/dist/accessories/Fan_accessory.js.map +0 -1
  147. package/dist/accessories/GarageDoorOpener_accessory.d.ts +0 -2
  148. package/dist/accessories/GarageDoorOpener_accessory.d.ts.map +0 -1
  149. package/dist/accessories/GarageDoorOpener_accessory.js +0 -76
  150. package/dist/accessories/GarageDoorOpener_accessory.js.map +0 -1
  151. package/dist/accessories/Light-AdaptiveLighting_accessory.d.ts +0 -2
  152. package/dist/accessories/Light-AdaptiveLighting_accessory.d.ts.map +0 -1
  153. package/dist/accessories/Light-AdaptiveLighting_accessory.js +0 -103
  154. package/dist/accessories/Light-AdaptiveLighting_accessory.js.map +0 -1
  155. package/dist/accessories/Light_accessory.d.ts +0 -2
  156. package/dist/accessories/Light_accessory.d.ts.map +0 -1
  157. package/dist/accessories/Light_accessory.js +0 -143
  158. package/dist/accessories/Light_accessory.js.map +0 -1
  159. package/dist/accessories/Lock_accessory.d.ts +0 -2
  160. package/dist/accessories/Lock_accessory.d.ts.map +0 -1
  161. package/dist/accessories/Lock_accessory.js +0 -74
  162. package/dist/accessories/Lock_accessory.js.map +0 -1
  163. package/dist/accessories/MotionSensor_accessory.d.ts +0 -2
  164. package/dist/accessories/MotionSensor_accessory.d.ts.map +0 -1
  165. package/dist/accessories/MotionSensor_accessory.js +0 -43
  166. package/dist/accessories/MotionSensor_accessory.js.map +0 -1
  167. package/dist/accessories/Outlet_accessory.d.ts +0 -2
  168. package/dist/accessories/Outlet_accessory.d.ts.map +0 -1
  169. package/dist/accessories/Outlet_accessory.js +0 -77
  170. package/dist/accessories/Outlet_accessory.js.map +0 -1
  171. package/dist/accessories/SmartSpeaker_accessory.d.ts +0 -2
  172. package/dist/accessories/SmartSpeaker_accessory.d.ts.map +0 -1
  173. package/dist/accessories/SmartSpeaker_accessory.js +0 -42
  174. package/dist/accessories/SmartSpeaker_accessory.js.map +0 -1
  175. package/dist/accessories/Sprinkler_accessory.d.ts +0 -2
  176. package/dist/accessories/Sprinkler_accessory.d.ts.map +0 -1
  177. package/dist/accessories/Sprinkler_accessory.js +0 -126
  178. package/dist/accessories/Sprinkler_accessory.js.map +0 -1
  179. package/dist/accessories/TV_accessory.d.ts +0 -2
  180. package/dist/accessories/TV_accessory.d.ts.map +0 -1
  181. package/dist/accessories/TV_accessory.js +0 -99
  182. package/dist/accessories/TV_accessory.js.map +0 -1
  183. package/dist/accessories/TemperatureSensor_accessory.d.ts +0 -2
  184. package/dist/accessories/TemperatureSensor_accessory.d.ts.map +0 -1
  185. package/dist/accessories/TemperatureSensor_accessory.js +0 -42
  186. package/dist/accessories/TemperatureSensor_accessory.js.map +0 -1
  187. package/dist/accessories/Wi-FiRouter_accessory.d.ts +0 -3
  188. package/dist/accessories/Wi-FiRouter_accessory.d.ts.map +0 -1
  189. package/dist/accessories/Wi-FiRouter_accessory.js +0 -14
  190. package/dist/accessories/Wi-FiRouter_accessory.js.map +0 -1
  191. package/dist/accessories/Wi-FiSatellite_accessory.d.ts +0 -3
  192. package/dist/accessories/Wi-FiSatellite_accessory.d.ts.map +0 -1
  193. package/dist/accessories/Wi-FiSatellite_accessory.js +0 -16
  194. package/dist/accessories/Wi-FiSatellite_accessory.js.map +0 -1
  195. package/dist/accessories/gstreamer-audioProducer.d.ts +0 -25
  196. package/dist/accessories/gstreamer-audioProducer.d.ts.map +0 -1
  197. package/dist/accessories/gstreamer-audioProducer.js +0 -145
  198. package/dist/accessories/gstreamer-audioProducer.js.map +0 -1
  199. package/dist/accessories/types.d.ts.map +0 -1
  200. package/dist/hap.d.ts.map +0 -1
  201. package/dist/index.d.ts.map +0 -1
  202. package/dist/internal-types.d.ts.map +0 -1
  203. package/dist/lib/Accessory.d.ts.map +0 -1
  204. package/dist/lib/Advertiser.d.ts.map +0 -1
  205. package/dist/lib/Bridge.d.ts.map +0 -1
  206. package/dist/lib/Characteristic.d.ts.map +0 -1
  207. package/dist/lib/HAPServer.d.ts.map +0 -1
  208. package/dist/lib/Service.d.ts.map +0 -1
  209. package/dist/lib/camera/RTPProxy.d.ts.map +0 -1
  210. package/dist/lib/camera/RTPStreamManagement.d.ts.map +0 -1
  211. package/dist/lib/camera/RecordingManagement.d.ts.map +0 -1
  212. package/dist/lib/camera/index.d.ts.map +0 -1
  213. package/dist/lib/controller/AdaptiveLightingController.d.ts.map +0 -1
  214. package/dist/lib/controller/CameraController.d.ts.map +0 -1
  215. package/dist/lib/controller/Controller.d.ts.map +0 -1
  216. package/dist/lib/controller/DoorbellController.d.ts.map +0 -1
  217. package/dist/lib/controller/RemoteController.d.ts.map +0 -1
  218. package/dist/lib/controller/index.d.ts.map +0 -1
  219. package/dist/lib/datastream/DataStreamManagement.d.ts.map +0 -1
  220. package/dist/lib/datastream/DataStreamParser.d.ts.map +0 -1
  221. package/dist/lib/datastream/DataStreamServer.d.ts.map +0 -1
  222. package/dist/lib/datastream/index.d.ts.map +0 -1
  223. package/dist/lib/definitions/CharacteristicDefinitions.d.ts.map +0 -1
  224. package/dist/lib/definitions/ServiceDefinitions.d.ts.map +0 -1
  225. package/dist/lib/definitions/generate-definitions.d.ts +0 -34
  226. package/dist/lib/definitions/generate-definitions.d.ts.map +0 -1
  227. package/dist/lib/definitions/generate-definitions.js +0 -624
  228. package/dist/lib/definitions/generate-definitions.js.map +0 -1
  229. package/dist/lib/definitions/generator-configuration.d.ts +0 -22
  230. package/dist/lib/definitions/generator-configuration.d.ts.map +0 -1
  231. package/dist/lib/definitions/generator-configuration.js +0 -674
  232. package/dist/lib/definitions/generator-configuration.js.map +0 -1
  233. package/dist/lib/definitions/index.d.ts.map +0 -1
  234. package/dist/lib/gen/HomeKit.d.ts.map +0 -1
  235. package/dist/lib/model/AccessoryInfo.d.ts.map +0 -1
  236. package/dist/lib/model/ControllerStorage.d.ts.map +0 -1
  237. package/dist/lib/model/HAPFileStorage.d.ts.map +0 -1
  238. package/dist/lib/model/HAPStorage.d.ts.map +0 -1
  239. package/dist/lib/model/IdentifierCache.d.ts.map +0 -1
  240. package/dist/lib/tv/AccessControlManagement.d.ts.map +0 -1
  241. package/dist/lib/util/checkName.d.ts.map +0 -1
  242. package/dist/lib/util/clone.d.ts.map +0 -1
  243. package/dist/lib/util/color-utils.d.ts.map +0 -1
  244. package/dist/lib/util/eventedhttp.d.ts.map +0 -1
  245. package/dist/lib/util/hapCrypto.d.ts.map +0 -1
  246. package/dist/lib/util/hapStatusError.d.ts.map +0 -1
  247. package/dist/lib/util/net-utils.d.ts.map +0 -1
  248. package/dist/lib/util/once.d.ts.map +0 -1
  249. package/dist/lib/util/promise-utils.d.ts.map +0 -1
  250. package/dist/lib/util/request-util.d.ts.map +0 -1
  251. package/dist/lib/util/time.d.ts.map +0 -1
  252. package/dist/lib/util/tlv.d.ts.map +0 -1
  253. package/dist/lib/util/uuid.d.ts.map +0 -1
  254. package/dist/types.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  // THIS FILE IS AUTO-GENERATED - DO NOT MODIFY
2
- // V=889
3
- import { Characteristic } from '../Characteristic.js';
2
+ // V=891
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,13 +1062,27 @@ 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
  }
1070
1070
  }
1071
1071
  Characteristic.DisplayOrder = DisplayOrder;
1072
+ /**
1073
+ * Characteristic "Error Status"
1074
+ */
1075
+ export class ErrorStatus extends Characteristic {
1076
+ static UUID = '00000330-0000-1000-8000-0026BB765291';
1077
+ constructor() {
1078
+ super('Error Status', ErrorStatus.UUID, {
1079
+ format: Formats.TLV8,
1080
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1081
+ });
1082
+ this.value = this.getDefaultValue();
1083
+ }
1084
+ }
1085
+ Characteristic.ErrorStatus = ErrorStatus;
1072
1086
  /**
1073
1087
  * Characteristic "Event Retransmission Maximum"
1074
1088
  * @since iOS 14
@@ -1077,8 +1091,8 @@ export class EventRetransmissionMaximum extends Characteristic {
1077
1091
  static UUID = '0000023D-0000-1000-8000-0026BB765291';
1078
1092
  constructor() {
1079
1093
  super('Event Retransmission Maximum', EventRetransmissionMaximum.UUID, {
1080
- format: "uint8" /* Formats.UINT8 */,
1081
- perms: ["pr" /* Perms.PAIRED_READ */],
1094
+ format: Formats.UINT8,
1095
+ perms: [Perms.PAIRED_READ],
1082
1096
  });
1083
1097
  this.value = this.getDefaultValue();
1084
1098
  }
@@ -1093,8 +1107,8 @@ export class EventSnapshotsActive extends Characteristic {
1093
1107
  static ENABLE = 1;
1094
1108
  constructor() {
1095
1109
  super('Event Snapshots Active', EventSnapshotsActive.UUID, {
1096
- format: "uint8" /* Formats.UINT8 */,
1097
- 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],
1098
1112
  minValue: 0,
1099
1113
  maxValue: 1,
1100
1114
  validValues: [0, 1],
@@ -1111,8 +1125,8 @@ export class EventTransmissionCounters extends Characteristic {
1111
1125
  static UUID = '0000023E-0000-1000-8000-0026BB765291';
1112
1126
  constructor() {
1113
1127
  super('Event Transmission Counters', EventTransmissionCounters.UUID, {
1114
- format: "uint32" /* Formats.UINT32 */,
1115
- perms: ["pr" /* Perms.PAIRED_READ */],
1128
+ format: Formats.UINT32,
1129
+ perms: [Perms.PAIRED_READ],
1116
1130
  });
1117
1131
  this.value = this.getDefaultValue();
1118
1132
  }
@@ -1127,8 +1141,8 @@ export class FilterChangeIndication extends Characteristic {
1127
1141
  static CHANGE_FILTER = 1;
1128
1142
  constructor() {
1129
1143
  super('Filter Change Indication', FilterChangeIndication.UUID, {
1130
- format: "uint8" /* Formats.UINT8 */,
1131
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1144
+ format: Formats.UINT8,
1145
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1132
1146
  minValue: 0,
1133
1147
  maxValue: 1,
1134
1148
  minStep: 1,
@@ -1145,8 +1159,8 @@ export class FilterLifeLevel extends Characteristic {
1145
1159
  static UUID = '000000AB-0000-1000-8000-0026BB765291';
1146
1160
  constructor() {
1147
1161
  super('Filter Life Level', FilterLifeLevel.UUID, {
1148
- format: "float" /* Formats.FLOAT */,
1149
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1162
+ format: Formats.FLOAT,
1163
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1150
1164
  minValue: 0,
1151
1165
  maxValue: 100,
1152
1166
  minStep: 1,
@@ -1162,13 +1176,27 @@ export class FirmwareRevision extends Characteristic {
1162
1176
  static UUID = '00000052-0000-1000-8000-0026BB765291';
1163
1177
  constructor() {
1164
1178
  super('Firmware Revision', FirmwareRevision.UUID, {
1165
- format: "string" /* Formats.STRING */,
1166
- perms: ["pr" /* Perms.PAIRED_READ */],
1179
+ format: Formats.STRING,
1180
+ perms: [Perms.PAIRED_READ],
1167
1181
  });
1168
1182
  this.value = this.getDefaultValue();
1169
1183
  }
1170
1184
  }
1171
1185
  Characteristic.FirmwareRevision = FirmwareRevision;
1186
+ /**
1187
+ * Characteristic "Firmware Update Enabled"
1188
+ */
1189
+ export class FirmwareUpdateEnabled extends Characteristic {
1190
+ static UUID = '00000318-0000-1000-8000-0026BB765291';
1191
+ constructor() {
1192
+ super('Firmware Update Enabled', FirmwareUpdateEnabled.UUID, {
1193
+ format: Formats.BOOL,
1194
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1195
+ });
1196
+ this.value = this.getDefaultValue();
1197
+ }
1198
+ }
1199
+ Characteristic.FirmwareUpdateEnabled = FirmwareUpdateEnabled;
1172
1200
  /**
1173
1201
  * Characteristic "Firmware Update Protocol List"
1174
1202
  */
@@ -1176,8 +1204,8 @@ export class FirmwareUpdateProtocolList extends Characteristic {
1176
1204
  static UUID = '0000026F-0000-1000-8000-0026BB765291';
1177
1205
  constructor() {
1178
1206
  super('Firmware Update Protocol List', FirmwareUpdateProtocolList.UUID, {
1179
- format: "tlv8" /* Formats.TLV8 */,
1180
- perms: ["pr" /* Perms.PAIRED_READ */],
1207
+ format: Formats.TLV8,
1208
+ perms: [Perms.PAIRED_READ],
1181
1209
  });
1182
1210
  this.value = this.getDefaultValue();
1183
1211
  }
@@ -1190,8 +1218,8 @@ export class FirmwareUpdateReadiness extends Characteristic {
1190
1218
  static UUID = '00000234-0000-1000-8000-0026BB765291';
1191
1219
  constructor() {
1192
1220
  super('Firmware Update Readiness', FirmwareUpdateReadiness.UUID, {
1193
- format: "tlv8" /* Formats.TLV8 */,
1194
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1221
+ format: Formats.TLV8,
1222
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1195
1223
  });
1196
1224
  this.value = this.getDefaultValue();
1197
1225
  }
@@ -1204,8 +1232,8 @@ export class FirmwareUpdateStatus extends Characteristic {
1204
1232
  static UUID = '00000235-0000-1000-8000-0026BB765291';
1205
1233
  constructor() {
1206
1234
  super('Firmware Update Status', FirmwareUpdateStatus.UUID, {
1207
- format: "tlv8" /* Formats.TLV8 */,
1208
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1235
+ format: Formats.TLV8,
1236
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1209
1237
  });
1210
1238
  this.value = this.getDefaultValue();
1211
1239
  }
@@ -1219,8 +1247,8 @@ export class HardwareFinish extends Characteristic {
1219
1247
  static UUID = '0000026C-0000-1000-8000-0026BB765291';
1220
1248
  constructor() {
1221
1249
  super('Hardware Finish', HardwareFinish.UUID, {
1222
- format: "tlv8" /* Formats.TLV8 */,
1223
- perms: ["pr" /* Perms.PAIRED_READ */],
1250
+ format: Formats.TLV8,
1251
+ perms: [Perms.PAIRED_READ],
1224
1252
  });
1225
1253
  this.value = this.getDefaultValue();
1226
1254
  }
@@ -1233,8 +1261,8 @@ export class HardwareRevision extends Characteristic {
1233
1261
  static UUID = '00000053-0000-1000-8000-0026BB765291';
1234
1262
  constructor() {
1235
1263
  super('Hardware Revision', HardwareRevision.UUID, {
1236
- format: "string" /* Formats.STRING */,
1237
- perms: ["pr" /* Perms.PAIRED_READ */],
1264
+ format: Formats.STRING,
1265
+ perms: [Perms.PAIRED_READ],
1238
1266
  });
1239
1267
  this.value = this.getDefaultValue();
1240
1268
  }
@@ -1248,8 +1276,8 @@ export class HeartBeat extends Characteristic {
1248
1276
  static UUID = '0000024A-0000-1000-8000-0026BB765291';
1249
1277
  constructor() {
1250
1278
  super('Heart Beat', HeartBeat.UUID, {
1251
- format: "uint32" /* Formats.UINT32 */,
1252
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1279
+ format: Formats.UINT32,
1280
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1253
1281
  });
1254
1282
  this.value = this.getDefaultValue();
1255
1283
  }
@@ -1262,9 +1290,9 @@ export class HeatingThresholdTemperature extends Characteristic {
1262
1290
  static UUID = '00000012-0000-1000-8000-0026BB765291';
1263
1291
  constructor() {
1264
1292
  super('Heating Threshold Temperature', HeatingThresholdTemperature.UUID, {
1265
- format: "float" /* Formats.FLOAT */,
1266
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1267
- unit: "celsius" /* Units.CELSIUS */,
1293
+ format: Formats.FLOAT,
1294
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1295
+ unit: Units.CELSIUS,
1268
1296
  minValue: 0,
1269
1297
  maxValue: 25,
1270
1298
  minStep: 0.1,
@@ -1280,8 +1308,8 @@ export class HoldPosition extends Characteristic {
1280
1308
  static UUID = '0000006F-0000-1000-8000-0026BB765291';
1281
1309
  constructor() {
1282
1310
  super('Hold Position', HoldPosition.UUID, {
1283
- format: "bool" /* Formats.BOOL */,
1284
- perms: ["pw" /* Perms.PAIRED_WRITE */],
1311
+ format: Formats.BOOL,
1312
+ perms: [Perms.PAIRED_WRITE],
1285
1313
  });
1286
1314
  this.value = this.getDefaultValue();
1287
1315
  }
@@ -1296,8 +1324,8 @@ export class HomeKitCameraActive extends Characteristic {
1296
1324
  static ON = 1;
1297
1325
  constructor() {
1298
1326
  super('HomeKit Camera Active', HomeKitCameraActive.UUID, {
1299
- format: "uint8" /* Formats.UINT8 */,
1300
- 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],
1301
1329
  minValue: 0,
1302
1330
  maxValue: 1,
1303
1331
  minStep: 1,
@@ -1314,9 +1342,9 @@ export class Hue extends Characteristic {
1314
1342
  static UUID = '00000013-0000-1000-8000-0026BB765291';
1315
1343
  constructor() {
1316
1344
  super('Hue', Hue.UUID, {
1317
- format: "float" /* Formats.FLOAT */,
1318
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1319
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
1345
+ format: Formats.FLOAT,
1346
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1347
+ unit: Units.ARC_DEGREE,
1320
1348
  minValue: 0,
1321
1349
  maxValue: 360,
1322
1350
  minStep: 1,
@@ -1332,8 +1360,8 @@ export class Identifier extends Characteristic {
1332
1360
  static UUID = '000000E6-0000-1000-8000-0026BB765291';
1333
1361
  constructor() {
1334
1362
  super('Identifier', Identifier.UUID, {
1335
- format: "uint32" /* Formats.UINT32 */,
1336
- perms: ["pr" /* Perms.PAIRED_READ */],
1363
+ format: Formats.UINT32,
1364
+ perms: [Perms.PAIRED_READ],
1337
1365
  });
1338
1366
  this.value = this.getDefaultValue();
1339
1367
  }
@@ -1346,8 +1374,8 @@ export class Identify extends Characteristic {
1346
1374
  static UUID = '00000014-0000-1000-8000-0026BB765291';
1347
1375
  constructor() {
1348
1376
  super('Identify', Identify.UUID, {
1349
- format: "bool" /* Formats.BOOL */,
1350
- perms: ["pw" /* Perms.PAIRED_WRITE */],
1377
+ format: Formats.BOOL,
1378
+ perms: [Perms.PAIRED_WRITE],
1351
1379
  });
1352
1380
  this.value = this.getDefaultValue();
1353
1381
  }
@@ -1360,8 +1388,8 @@ export class ImageMirroring extends Characteristic {
1360
1388
  static UUID = '0000011F-0000-1000-8000-0026BB765291';
1361
1389
  constructor() {
1362
1390
  super('Image Mirroring', ImageMirroring.UUID, {
1363
- format: "bool" /* Formats.BOOL */,
1364
- 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],
1365
1393
  });
1366
1394
  this.value = this.getDefaultValue();
1367
1395
  }
@@ -1374,12 +1402,12 @@ export class ImageRotation extends Characteristic {
1374
1402
  static UUID = '0000011E-0000-1000-8000-0026BB765291';
1375
1403
  constructor() {
1376
1404
  super('Image Rotation', ImageRotation.UUID, {
1377
- format: "int" /* Formats.INT */,
1378
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1379
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
1405
+ format: Formats.FLOAT,
1406
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1407
+ unit: Units.ARC_DEGREE,
1380
1408
  minValue: 0,
1381
- maxValue: 360,
1382
- minStep: 1,
1409
+ maxValue: 270,
1410
+ minStep: 90,
1383
1411
  });
1384
1412
  this.value = this.getDefaultValue();
1385
1413
  }
@@ -1398,8 +1426,8 @@ export class InputDeviceType extends Characteristic {
1398
1426
  static AUDIO_SYSTEM = 5;
1399
1427
  constructor() {
1400
1428
  super('Input Device Type', InputDeviceType.UUID, {
1401
- format: "uint8" /* Formats.UINT8 */,
1402
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1429
+ format: Formats.UINT8,
1430
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1403
1431
  minValue: 0,
1404
1432
  maxValue: 6,
1405
1433
  minStep: 1,
@@ -1427,8 +1455,8 @@ export class InputSourceType extends Characteristic {
1427
1455
  static APPLICATION = 10;
1428
1456
  constructor() {
1429
1457
  super('Input Source Type', InputSourceType.UUID, {
1430
- format: "uint8" /* Formats.UINT8 */,
1431
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1458
+ format: Formats.UINT8,
1459
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1432
1460
  minValue: 0,
1433
1461
  maxValue: 10,
1434
1462
  minStep: 1,
@@ -1447,8 +1475,8 @@ export class InUse extends Characteristic {
1447
1475
  static IN_USE = 1;
1448
1476
  constructor() {
1449
1477
  super('In Use', InUse.UUID, {
1450
- format: "uint8" /* Formats.UINT8 */,
1451
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1478
+ format: Formats.UINT8,
1479
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1452
1480
  minValue: 0,
1453
1481
  maxValue: 1,
1454
1482
  minStep: 1,
@@ -1467,8 +1495,8 @@ export class IsConfigured extends Characteristic {
1467
1495
  static CONFIGURED = 1;
1468
1496
  constructor() {
1469
1497
  super('Is Configured', IsConfigured.UUID, {
1470
- format: "uint8" /* Formats.UINT8 */,
1471
- 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],
1472
1500
  minValue: 0,
1473
1501
  maxValue: 1,
1474
1502
  minStep: 1,
@@ -1487,8 +1515,8 @@ export class LeakDetected extends Characteristic {
1487
1515
  static LEAK_DETECTED = 1;
1488
1516
  constructor() {
1489
1517
  super('Leak Detected', LeakDetected.UUID, {
1490
- format: "uint8" /* Formats.UINT8 */,
1491
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1518
+ format: Formats.UINT8,
1519
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1492
1520
  minValue: 0,
1493
1521
  maxValue: 1,
1494
1522
  minStep: 1,
@@ -1505,8 +1533,8 @@ export class ListPairings extends Characteristic {
1505
1533
  static UUID = '00000050-0000-1000-8000-0026BB765291';
1506
1534
  constructor() {
1507
1535
  super('List Pairings', ListPairings.UUID, {
1508
- format: "tlv8" /* Formats.TLV8 */,
1509
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1536
+ format: Formats.TLV8,
1537
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1510
1538
  });
1511
1539
  this.value = this.getDefaultValue();
1512
1540
  }
@@ -1519,8 +1547,8 @@ export class LockControlPoint extends Characteristic {
1519
1547
  static UUID = '00000019-0000-1000-8000-0026BB765291';
1520
1548
  constructor() {
1521
1549
  super('Lock Control Point', LockControlPoint.UUID, {
1522
- format: "tlv8" /* Formats.TLV8 */,
1523
- perms: ["pw" /* Perms.PAIRED_WRITE */],
1550
+ format: Formats.TLV8,
1551
+ perms: [Perms.PAIRED_WRITE],
1524
1552
  });
1525
1553
  this.value = this.getDefaultValue();
1526
1554
  }
@@ -1537,8 +1565,8 @@ export class LockCurrentState extends Characteristic {
1537
1565
  static UNKNOWN = 3;
1538
1566
  constructor() {
1539
1567
  super('Lock Current State', LockCurrentState.UUID, {
1540
- format: "uint8" /* Formats.UINT8 */,
1541
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1568
+ format: Formats.UINT8,
1569
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1542
1570
  minValue: 0,
1543
1571
  maxValue: 3,
1544
1572
  minStep: 1,
@@ -1566,8 +1594,8 @@ export class LockLastKnownAction extends Characteristic {
1566
1594
  static UNSECURED_PHYSICALLY = 10;
1567
1595
  constructor() {
1568
1596
  super('Lock Last Known Action', LockLastKnownAction.UUID, {
1569
- format: "uint8" /* Formats.UINT8 */,
1570
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1597
+ format: Formats.UINT8,
1598
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1571
1599
  minValue: 0,
1572
1600
  maxValue: 10,
1573
1601
  minStep: 1,
@@ -1584,9 +1612,9 @@ export class LockManagementAutoSecurityTimeout extends Characteristic {
1584
1612
  static UUID = '0000001A-0000-1000-8000-0026BB765291';
1585
1613
  constructor() {
1586
1614
  super('Lock Management Auto Security Timeout', LockManagementAutoSecurityTimeout.UUID, {
1587
- format: "uint32" /* Formats.UINT32 */,
1588
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1589
- unit: "seconds" /* Units.SECONDS */,
1615
+ format: Formats.UINT32,
1616
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
1617
+ unit: Units.SECONDS,
1590
1618
  });
1591
1619
  this.value = this.getDefaultValue();
1592
1620
  }
@@ -1601,8 +1629,8 @@ export class LockPhysicalControls extends Characteristic {
1601
1629
  static CONTROL_LOCK_ENABLED = 1;
1602
1630
  constructor() {
1603
1631
  super('Lock Physical Controls', LockPhysicalControls.UUID, {
1604
- format: "uint8" /* Formats.UINT8 */,
1605
- 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],
1606
1634
  minValue: 0,
1607
1635
  maxValue: 1,
1608
1636
  minStep: 1,
@@ -1621,8 +1649,8 @@ export class LockTargetState extends Characteristic {
1621
1649
  static SECURED = 1;
1622
1650
  constructor() {
1623
1651
  super('Lock Target State', LockTargetState.UUID, {
1624
- format: "uint8" /* Formats.UINT8 */,
1625
- 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],
1626
1654
  minValue: 0,
1627
1655
  maxValue: 1,
1628
1656
  minStep: 1,
@@ -1639,8 +1667,8 @@ export class Logs extends Characteristic {
1639
1667
  static UUID = '0000001F-0000-1000-8000-0026BB765291';
1640
1668
  constructor() {
1641
1669
  super('Logs', Logs.UUID, {
1642
- format: "tlv8" /* Formats.TLV8 */,
1643
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1670
+ format: Formats.TLV8,
1671
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1644
1672
  });
1645
1673
  this.value = this.getDefaultValue();
1646
1674
  }
@@ -1654,8 +1682,8 @@ export class MACRetransmissionMaximum extends Characteristic {
1654
1682
  static UUID = '00000247-0000-1000-8000-0026BB765291';
1655
1683
  constructor() {
1656
1684
  super('MAC Retransmission Maximum', MACRetransmissionMaximum.UUID, {
1657
- format: "uint8" /* Formats.UINT8 */,
1658
- perms: ["pr" /* Perms.PAIRED_READ */],
1685
+ format: Formats.UINT8,
1686
+ perms: [Perms.PAIRED_READ],
1659
1687
  });
1660
1688
  this.value = this.getDefaultValue();
1661
1689
  }
@@ -1668,8 +1696,8 @@ export class MACTransmissionCounters extends Characteristic {
1668
1696
  static UUID = '00000248-0000-1000-8000-0026BB765291';
1669
1697
  constructor() {
1670
1698
  super('MAC Transmission Counters', MACTransmissionCounters.UUID, {
1671
- format: "data" /* Formats.DATA */,
1672
- perms: ["pr" /* Perms.PAIRED_READ */],
1699
+ format: Formats.DATA,
1700
+ perms: [Perms.PAIRED_READ],
1673
1701
  });
1674
1702
  this.value = this.getDefaultValue();
1675
1703
  }
@@ -1684,12 +1712,12 @@ export class ManagedNetworkEnable extends Characteristic {
1684
1712
  static ENABLED = 1;
1685
1713
  constructor() {
1686
1714
  super('Managed Network Enable', ManagedNetworkEnable.UUID, {
1687
- format: "uint8" /* Formats.UINT8 */,
1715
+ format: Formats.UINT8,
1688
1716
  perms: [
1689
- "ev" /* Perms.NOTIFY */,
1690
- "pr" /* Perms.PAIRED_READ */,
1691
- "pw" /* Perms.PAIRED_WRITE */,
1692
- "tw" /* Perms.TIMED_WRITE */,
1717
+ Perms.NOTIFY,
1718
+ Perms.PAIRED_READ,
1719
+ Perms.PAIRED_WRITE,
1720
+ Perms.TIMED_WRITE,
1693
1721
  ],
1694
1722
  minValue: 0,
1695
1723
  maxValue: 1,
@@ -1708,8 +1736,13 @@ export class ManuallyDisabled extends Characteristic {
1708
1736
  static DISABLED = 1;
1709
1737
  constructor() {
1710
1738
  super('Manually Disabled', ManuallyDisabled.UUID, {
1711
- format: "uint8" /* Formats.UINT8 */,
1712
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1739
+ format: Formats.UINT8,
1740
+ perms: [
1741
+ Perms.NOTIFY,
1742
+ Perms.PAIRED_READ,
1743
+ Perms.PAIRED_WRITE,
1744
+ Perms.TIMED_WRITE,
1745
+ ],
1713
1746
  minValue: 0,
1714
1747
  maxValue: 1,
1715
1748
  minStep: 1,
@@ -1726,8 +1759,8 @@ export class Manufacturer extends Characteristic {
1726
1759
  static UUID = '00000020-0000-1000-8000-0026BB765291';
1727
1760
  constructor() {
1728
1761
  super('Manufacturer', Manufacturer.UUID, {
1729
- format: "string" /* Formats.STRING */,
1730
- perms: ["pr" /* Perms.PAIRED_READ */],
1762
+ format: Formats.STRING,
1763
+ perms: [Perms.PAIRED_READ],
1731
1764
  maxLen: 64,
1732
1765
  });
1733
1766
  this.value = this.getDefaultValue();
@@ -1741,8 +1774,8 @@ export class MatterFirmwareRevisionNumber extends Characteristic {
1741
1774
  static UUID = '0000026D-0000-1000-8000-0026BB765291';
1742
1775
  constructor() {
1743
1776
  super('Matter Firmware Revision Number', MatterFirmwareRevisionNumber.UUID, {
1744
- format: "uint32" /* Formats.UINT32 */,
1745
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1777
+ format: Formats.UINT32,
1778
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1746
1779
  });
1747
1780
  this.value = this.getDefaultValue();
1748
1781
  }
@@ -1755,8 +1788,8 @@ export class MatterFirmwareUpdateStatus extends Characteristic {
1755
1788
  static UUID = '0000026E-0000-1000-8000-0026BB765291';
1756
1789
  constructor() {
1757
1790
  super('Matter Firmware Update Status', MatterFirmwareUpdateStatus.UUID, {
1758
- format: "tlv8" /* Formats.TLV8 */,
1759
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1791
+ format: Formats.TLV8,
1792
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1760
1793
  });
1761
1794
  this.value = this.getDefaultValue();
1762
1795
  }
@@ -1770,8 +1803,8 @@ export class MaximumTransmitPower extends Characteristic {
1770
1803
  static UUID = '00000243-0000-1000-8000-0026BB765291';
1771
1804
  constructor() {
1772
1805
  super('Maximum Transmit Power', MaximumTransmitPower.UUID, {
1773
- format: "int" /* Formats.INT */,
1774
- perms: ["pr" /* Perms.PAIRED_READ */],
1806
+ format: Formats.INT,
1807
+ perms: [Perms.PAIRED_READ],
1775
1808
  });
1776
1809
  this.value = this.getDefaultValue();
1777
1810
  }
@@ -1784,8 +1817,8 @@ export class MediaAccessControlLevel extends Characteristic {
1784
1817
  static UUID = '000000EE-0000-1000-8000-0026BB765291';
1785
1818
  constructor() {
1786
1819
  super('Media Access Control Level', MediaAccessControlLevel.UUID, {
1787
- format: "uint8" /* Formats.UINT8 */,
1788
- 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],
1789
1822
  minValue: 0,
1790
1823
  maxValue: 2,
1791
1824
  minStep: 1,
@@ -1801,8 +1834,8 @@ export class MetricsBufferFullState extends Characteristic {
1801
1834
  static UUID = '00000272-0000-1000-8000-0026BB765291';
1802
1835
  constructor() {
1803
1836
  super('Metrics Buffer Full State', MetricsBufferFullState.UUID, {
1804
- format: "bool" /* Formats.BOOL */,
1805
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1837
+ format: Formats.BOOL,
1838
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1806
1839
  });
1807
1840
  this.value = this.getDefaultValue();
1808
1841
  }
@@ -1815,8 +1848,8 @@ export class Model extends Characteristic {
1815
1848
  static UUID = '00000021-0000-1000-8000-0026BB765291';
1816
1849
  constructor() {
1817
1850
  super('Model', Model.UUID, {
1818
- format: "string" /* Formats.STRING */,
1819
- perms: ["pr" /* Perms.PAIRED_READ */],
1851
+ format: Formats.STRING,
1852
+ perms: [Perms.PAIRED_READ],
1820
1853
  maxLen: 64,
1821
1854
  });
1822
1855
  this.value = this.getDefaultValue();
@@ -1830,8 +1863,8 @@ export class MotionDetected extends Characteristic {
1830
1863
  static UUID = '00000022-0000-1000-8000-0026BB765291';
1831
1864
  constructor() {
1832
1865
  super('Motion Detected', MotionDetected.UUID, {
1833
- format: "bool" /* Formats.BOOL */,
1834
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1866
+ format: Formats.BOOL,
1867
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1835
1868
  });
1836
1869
  this.value = this.getDefaultValue();
1837
1870
  }
@@ -1844,8 +1877,8 @@ export class MultifunctionButton extends Characteristic {
1844
1877
  static UUID = '0000026B-0000-1000-8000-0026BB765291';
1845
1878
  constructor() {
1846
1879
  super('Multifunction Button', MultifunctionButton.UUID, {
1847
- format: "uint8" /* Formats.UINT8 */,
1848
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1880
+ format: Formats.UINT8,
1881
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1849
1882
  minValue: 0,
1850
1883
  maxValue: 1,
1851
1884
  });
@@ -1860,8 +1893,8 @@ export class Mute extends Characteristic {
1860
1893
  static UUID = '0000011A-0000-1000-8000-0026BB765291';
1861
1894
  constructor() {
1862
1895
  super('Mute', Mute.UUID, {
1863
- format: "bool" /* Formats.BOOL */,
1864
- 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],
1865
1898
  });
1866
1899
  this.value = this.getDefaultValue();
1867
1900
  }
@@ -1874,8 +1907,8 @@ export class Name extends Characteristic {
1874
1907
  static UUID = '00000023-0000-1000-8000-0026BB765291';
1875
1908
  constructor() {
1876
1909
  super('Name', Name.UUID, {
1877
- format: "string" /* Formats.STRING */,
1878
- perms: ["pr" /* Perms.PAIRED_READ */],
1910
+ format: Formats.STRING,
1911
+ perms: [Perms.PAIRED_READ],
1879
1912
  maxLen: 64,
1880
1913
  });
1881
1914
  this.value = this.getDefaultValue();
@@ -1889,13 +1922,13 @@ export class NetworkAccessViolationControl extends Characteristic {
1889
1922
  static UUID = '0000021F-0000-1000-8000-0026BB765291';
1890
1923
  constructor() {
1891
1924
  super('Network Access Violation Control', NetworkAccessViolationControl.UUID, {
1892
- format: "tlv8" /* Formats.TLV8 */,
1925
+ format: Formats.TLV8,
1893
1926
  perms: [
1894
- "ev" /* Perms.NOTIFY */,
1895
- "pr" /* Perms.PAIRED_READ */,
1896
- "pw" /* Perms.PAIRED_WRITE */,
1897
- "tw" /* Perms.TIMED_WRITE */,
1898
- "wr" /* Perms.WRITE_RESPONSE */,
1927
+ Perms.NOTIFY,
1928
+ Perms.PAIRED_READ,
1929
+ Perms.PAIRED_WRITE,
1930
+ Perms.TIMED_WRITE,
1931
+ Perms.WRITE_RESPONSE,
1899
1932
  ],
1900
1933
  });
1901
1934
  this.value = this.getDefaultValue();
@@ -1909,13 +1942,13 @@ export class NetworkClientProfileControl extends Characteristic {
1909
1942
  static UUID = '0000020C-0000-1000-8000-0026BB765291';
1910
1943
  constructor() {
1911
1944
  super('Network Client Profile Control', NetworkClientProfileControl.UUID, {
1912
- format: "tlv8" /* Formats.TLV8 */,
1945
+ format: Formats.TLV8,
1913
1946
  perms: [
1914
- "ev" /* Perms.NOTIFY */,
1915
- "pr" /* Perms.PAIRED_READ */,
1916
- "pw" /* Perms.PAIRED_WRITE */,
1917
- "tw" /* Perms.TIMED_WRITE */,
1918
- "wr" /* Perms.WRITE_RESPONSE */,
1947
+ Perms.NOTIFY,
1948
+ Perms.PAIRED_READ,
1949
+ Perms.PAIRED_WRITE,
1950
+ Perms.TIMED_WRITE,
1951
+ Perms.WRITE_RESPONSE,
1919
1952
  ],
1920
1953
  });
1921
1954
  this.value = this.getDefaultValue();
@@ -1929,8 +1962,8 @@ export class NetworkClientStatusControl extends Characteristic {
1929
1962
  static UUID = '0000020D-0000-1000-8000-0026BB765291';
1930
1963
  constructor() {
1931
1964
  super('Network Client Status Control', NetworkClientStatusControl.UUID, {
1932
- format: "tlv8" /* Formats.TLV8 */,
1933
- 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],
1934
1967
  });
1935
1968
  this.value = this.getDefaultValue();
1936
1969
  }
@@ -1944,8 +1977,8 @@ export class NFCAccessControlPoint extends Characteristic {
1944
1977
  static UUID = '00000264-0000-1000-8000-0026BB765291';
1945
1978
  constructor() {
1946
1979
  super('NFC Access Control Point', NFCAccessControlPoint.UUID, {
1947
- format: "tlv8" /* Formats.TLV8 */,
1948
- 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],
1949
1982
  });
1950
1983
  this.value = this.getDefaultValue();
1951
1984
  }
@@ -1959,8 +1992,8 @@ export class NFCAccessSupportedConfiguration extends Characteristic {
1959
1992
  static UUID = '00000265-0000-1000-8000-0026BB765291';
1960
1993
  constructor() {
1961
1994
  super('NFC Access Supported Configuration', NFCAccessSupportedConfiguration.UUID, {
1962
- format: "tlv8" /* Formats.TLV8 */,
1963
- perms: ["pr" /* Perms.PAIRED_READ */],
1995
+ format: Formats.TLV8,
1996
+ perms: [Perms.PAIRED_READ],
1964
1997
  });
1965
1998
  this.value = this.getDefaultValue();
1966
1999
  }
@@ -1973,12 +2006,12 @@ export class NightVision extends Characteristic {
1973
2006
  static UUID = '0000011B-0000-1000-8000-0026BB765291';
1974
2007
  constructor() {
1975
2008
  super('Night Vision', NightVision.UUID, {
1976
- format: "bool" /* Formats.BOOL */,
2009
+ format: Formats.BOOL,
1977
2010
  perms: [
1978
- "ev" /* Perms.NOTIFY */,
1979
- "pr" /* Perms.PAIRED_READ */,
1980
- "pw" /* Perms.PAIRED_WRITE */,
1981
- "tw" /* Perms.TIMED_WRITE */,
2011
+ Perms.NOTIFY,
2012
+ Perms.PAIRED_READ,
2013
+ Perms.PAIRED_WRITE,
2014
+ Perms.TIMED_WRITE,
1982
2015
  ],
1983
2016
  });
1984
2017
  this.value = this.getDefaultValue();
@@ -1992,8 +2025,8 @@ export class NitrogenDioxideDensity extends Characteristic {
1992
2025
  static UUID = '000000C4-0000-1000-8000-0026BB765291';
1993
2026
  constructor() {
1994
2027
  super('Nitrogen Dioxide Density', NitrogenDioxideDensity.UUID, {
1995
- format: "float" /* Formats.FLOAT */,
1996
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2028
+ format: Formats.FLOAT,
2029
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
1997
2030
  minValue: 0,
1998
2031
  maxValue: 1000,
1999
2032
  minStep: 1,
@@ -2009,8 +2042,8 @@ export class ObstructionDetected extends Characteristic {
2009
2042
  static UUID = '00000024-0000-1000-8000-0026BB765291';
2010
2043
  constructor() {
2011
2044
  super('Obstruction Detected', ObstructionDetected.UUID, {
2012
- format: "bool" /* Formats.BOOL */,
2013
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2045
+ format: Formats.BOOL,
2046
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2014
2047
  });
2015
2048
  this.value = this.getDefaultValue();
2016
2049
  }
@@ -2025,8 +2058,8 @@ export class OccupancyDetected extends Characteristic {
2025
2058
  static OCCUPANCY_DETECTED = 1;
2026
2059
  constructor() {
2027
2060
  super('Occupancy Detected', OccupancyDetected.UUID, {
2028
- format: "uint8" /* Formats.UINT8 */,
2029
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2061
+ format: Formats.UINT8,
2062
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2030
2063
  minValue: 0,
2031
2064
  maxValue: 1,
2032
2065
  minStep: 1,
@@ -2043,8 +2076,8 @@ export class On extends Characteristic {
2043
2076
  static UUID = '00000025-0000-1000-8000-0026BB765291';
2044
2077
  constructor() {
2045
2078
  super('On', On.UUID, {
2046
- format: "bool" /* Formats.BOOL */,
2047
- 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],
2048
2081
  });
2049
2082
  this.value = this.getDefaultValue();
2050
2083
  }
@@ -2058,8 +2091,8 @@ export class OperatingStateResponse extends Characteristic {
2058
2091
  static UUID = '00000232-0000-1000-8000-0026BB765291';
2059
2092
  constructor() {
2060
2093
  super('Operating State Response', OperatingStateResponse.UUID, {
2061
- format: "tlv8" /* Formats.TLV8 */,
2062
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2094
+ format: Formats.TLV8,
2095
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2063
2096
  });
2064
2097
  this.value = this.getDefaultValue();
2065
2098
  }
@@ -2072,8 +2105,8 @@ export class OpticalZoom extends Characteristic {
2072
2105
  static UUID = '0000011C-0000-1000-8000-0026BB765291';
2073
2106
  constructor() {
2074
2107
  super('Optical Zoom', OpticalZoom.UUID, {
2075
- format: "float" /* Formats.FLOAT */,
2076
- 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],
2077
2110
  minStep: 0.1,
2078
2111
  });
2079
2112
  this.value = this.getDefaultValue();
@@ -2087,8 +2120,8 @@ export class OutletInUse extends Characteristic {
2087
2120
  static UUID = '00000026-0000-1000-8000-0026BB765291';
2088
2121
  constructor() {
2089
2122
  super('Outlet In Use', OutletInUse.UUID, {
2090
- format: "bool" /* Formats.BOOL */,
2091
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2123
+ format: Formats.BOOL,
2124
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2092
2125
  });
2093
2126
  this.value = this.getDefaultValue();
2094
2127
  }
@@ -2101,8 +2134,8 @@ export class OzoneDensity extends Characteristic {
2101
2134
  static UUID = '000000C3-0000-1000-8000-0026BB765291';
2102
2135
  constructor() {
2103
2136
  super('Ozone Density', OzoneDensity.UUID, {
2104
- format: "float" /* Formats.FLOAT */,
2105
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2137
+ format: Formats.FLOAT,
2138
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2106
2139
  minValue: 0,
2107
2140
  maxValue: 1000,
2108
2141
  minStep: 1,
@@ -2118,8 +2151,8 @@ export class PairingFeatures extends Characteristic {
2118
2151
  static UUID = '0000004F-0000-1000-8000-0026BB765291';
2119
2152
  constructor() {
2120
2153
  super('Pairing Features', PairingFeatures.UUID, {
2121
- format: "uint8" /* Formats.UINT8 */,
2122
- perms: ["pr" /* Perms.PAIRED_READ */],
2154
+ format: Formats.UINT8,
2155
+ perms: [Perms.PAIRED_READ],
2123
2156
  });
2124
2157
  this.value = this.getDefaultValue();
2125
2158
  }
@@ -2132,8 +2165,8 @@ export class PairSetup extends Characteristic {
2132
2165
  static UUID = '0000004C-0000-1000-8000-0026BB765291';
2133
2166
  constructor() {
2134
2167
  super('Pair Setup', PairSetup.UUID, {
2135
- format: "tlv8" /* Formats.TLV8 */,
2136
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2168
+ format: Formats.TLV8,
2169
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2137
2170
  });
2138
2171
  this.value = this.getDefaultValue();
2139
2172
  }
@@ -2146,8 +2179,8 @@ export class PairVerify extends Characteristic {
2146
2179
  static UUID = '0000004E-0000-1000-8000-0026BB765291';
2147
2180
  constructor() {
2148
2181
  super('Pair Verify', PairVerify.UUID, {
2149
- format: "tlv8" /* Formats.TLV8 */,
2150
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2182
+ format: Formats.TLV8,
2183
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2151
2184
  });
2152
2185
  this.value = this.getDefaultValue();
2153
2186
  }
@@ -2160,8 +2193,8 @@ export class PasswordSetting extends Characteristic {
2160
2193
  static UUID = '000000E4-0000-1000-8000-0026BB765291';
2161
2194
  constructor() {
2162
2195
  super('Password Setting', PasswordSetting.UUID, {
2163
- format: "tlv8" /* Formats.TLV8 */,
2164
- 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],
2165
2198
  });
2166
2199
  this.value = this.getDefaultValue();
2167
2200
  }
@@ -2176,8 +2209,8 @@ export class PeriodicSnapshotsActive extends Characteristic {
2176
2209
  static ENABLE = 1;
2177
2210
  constructor() {
2178
2211
  super('Periodic Snapshots Active', PeriodicSnapshotsActive.UUID, {
2179
- format: "uint8" /* Formats.UINT8 */,
2180
- 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],
2181
2214
  validValues: [0, 1],
2182
2215
  });
2183
2216
  this.value = this.getDefaultValue();
@@ -2199,8 +2232,8 @@ export class PictureMode extends Characteristic {
2199
2232
  static CUSTOM = 7;
2200
2233
  constructor() {
2201
2234
  super('Picture Mode', PictureMode.UUID, {
2202
- format: "uint8" /* Formats.UINT8 */,
2203
- 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],
2204
2237
  minValue: 0,
2205
2238
  maxValue: 13,
2206
2239
  minStep: 1,
@@ -2233,8 +2266,8 @@ export class Ping extends Characteristic {
2233
2266
  static UUID = '0000023C-0000-1000-8000-0026BB765291';
2234
2267
  constructor() {
2235
2268
  super('Ping', Ping.UUID, {
2236
- format: "data" /* Formats.DATA */,
2237
- perms: ["pr" /* Perms.PAIRED_READ */],
2269
+ format: Formats.DATA,
2270
+ perms: [Perms.PAIRED_READ],
2238
2271
  });
2239
2272
  this.value = this.getDefaultValue();
2240
2273
  }
@@ -2247,8 +2280,8 @@ export class PM10Density extends Characteristic {
2247
2280
  static UUID = '000000C7-0000-1000-8000-0026BB765291';
2248
2281
  constructor() {
2249
2282
  super('PM10 Density', PM10Density.UUID, {
2250
- format: "float" /* Formats.FLOAT */,
2251
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2283
+ format: Formats.FLOAT,
2284
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2252
2285
  minValue: 0,
2253
2286
  maxValue: 1000,
2254
2287
  minStep: 1,
@@ -2264,8 +2297,8 @@ export class PM2_5Density extends Characteristic {
2264
2297
  static UUID = '000000C6-0000-1000-8000-0026BB765291';
2265
2298
  constructor() {
2266
2299
  super('PM2.5 Density', PM2_5Density.UUID, {
2267
- format: "float" /* Formats.FLOAT */,
2268
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2300
+ format: Formats.FLOAT,
2301
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2269
2302
  minValue: 0,
2270
2303
  maxValue: 1000,
2271
2304
  minStep: 1,
@@ -2284,8 +2317,8 @@ export class PositionState extends Characteristic {
2284
2317
  static STOPPED = 2;
2285
2318
  constructor() {
2286
2319
  super('Position State', PositionState.UUID, {
2287
- format: "uint8" /* Formats.UINT8 */,
2288
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2320
+ format: Formats.UINT8,
2321
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2289
2322
  minValue: 0,
2290
2323
  maxValue: 2,
2291
2324
  minStep: 1,
@@ -2304,8 +2337,8 @@ export class PowerModeSelection extends Characteristic {
2304
2337
  static HIDE = 1;
2305
2338
  constructor() {
2306
2339
  super('Power Mode Selection', PowerModeSelection.UUID, {
2307
- format: "uint8" /* Formats.UINT8 */,
2308
- perms: ["pw" /* Perms.PAIRED_WRITE */],
2340
+ format: Formats.UINT8,
2341
+ perms: [Perms.PAIRED_WRITE],
2309
2342
  minValue: 0,
2310
2343
  maxValue: 1,
2311
2344
  minStep: 1,
@@ -2322,8 +2355,8 @@ export class PreferredWiFiList extends Characteristic {
2322
2355
  static UUID = '0000022E-0000-1000-8000-0026BB765291';
2323
2356
  constructor() {
2324
2357
  super('Preferred Wi-Fi List', PreferredWiFiList.UUID, {
2325
- format: "tlv8" /* Formats.TLV8 */,
2326
- 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],
2327
2360
  });
2328
2361
  this.value = this.getDefaultValue();
2329
2362
  }
@@ -2336,8 +2369,8 @@ export class ProductData extends Characteristic {
2336
2369
  static UUID = '00000220-0000-1000-8000-0026BB765291';
2337
2370
  constructor() {
2338
2371
  super('Product Data', ProductData.UUID, {
2339
- format: "data" /* Formats.DATA */,
2340
- perms: ["pr" /* Perms.PAIRED_READ */],
2372
+ format: Formats.DATA,
2373
+ perms: [Perms.PAIRED_READ],
2341
2374
  });
2342
2375
  this.value = this.getDefaultValue();
2343
2376
  }
@@ -2353,8 +2386,8 @@ export class ProgrammableSwitchEvent extends Characteristic {
2353
2386
  static LONG_PRESS = 2;
2354
2387
  constructor() {
2355
2388
  super('Programmable Switch Event', ProgrammableSwitchEvent.UUID, {
2356
- format: "uint8" /* Formats.UINT8 */,
2357
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2389
+ format: Formats.UINT8,
2390
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2358
2391
  minValue: 0,
2359
2392
  maxValue: 2,
2360
2393
  minStep: 1,
@@ -2371,8 +2404,8 @@ export class ProgrammableSwitchOutputState extends Characteristic {
2371
2404
  static UUID = '00000074-0000-1000-8000-0026BB765291';
2372
2405
  constructor() {
2373
2406
  super('Programmable Switch Output State', ProgrammableSwitchOutputState.UUID, {
2374
- format: "uint8" /* Formats.UINT8 */,
2375
- 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],
2376
2409
  minValue: 0,
2377
2410
  maxValue: 1,
2378
2411
  minStep: 1,
@@ -2391,8 +2424,8 @@ export class ProgramMode extends Characteristic {
2391
2424
  static PROGRAM_SCHEDULED_MANUAL_MODE = 2;
2392
2425
  constructor() {
2393
2426
  super('Program Mode', ProgramMode.UUID, {
2394
- format: "uint8" /* Formats.UINT8 */,
2395
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2427
+ format: Formats.UINT8,
2428
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2396
2429
  minValue: 0,
2397
2430
  maxValue: 2,
2398
2431
  minStep: 1,
@@ -2409,8 +2442,8 @@ export class ProximityControlEnabled extends Characteristic {
2409
2442
  static UUID = '00000316-0000-1000-8000-0026BB765291';
2410
2443
  constructor() {
2411
2444
  super('Proximity Control Enabled', ProximityControlEnabled.UUID, {
2412
- format: "bool" /* Formats.BOOL */,
2413
- 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],
2414
2447
  });
2415
2448
  this.value = this.getDefaultValue();
2416
2449
  }
@@ -2424,8 +2457,8 @@ export class ReceivedSignalStrengthIndication extends Characteristic {
2424
2457
  static UUID = '0000023F-0000-1000-8000-0026BB765291';
2425
2458
  constructor() {
2426
2459
  super('Received Signal Strength Indication', ReceivedSignalStrengthIndication.UUID, {
2427
- format: "int" /* Formats.INT */,
2428
- perms: ["pr" /* Perms.PAIRED_READ */],
2460
+ format: Formats.INT,
2461
+ perms: [Perms.PAIRED_READ],
2429
2462
  });
2430
2463
  this.value = this.getDefaultValue();
2431
2464
  }
@@ -2439,8 +2472,8 @@ export class ReceiverSensitivity extends Characteristic {
2439
2472
  static UUID = '00000244-0000-1000-8000-0026BB765291';
2440
2473
  constructor() {
2441
2474
  super('Receiver Sensitivity', ReceiverSensitivity.UUID, {
2442
- format: "int" /* Formats.INT */,
2443
- perms: ["pr" /* Perms.PAIRED_READ */],
2475
+ format: Formats.INT,
2476
+ perms: [Perms.PAIRED_READ],
2444
2477
  });
2445
2478
  this.value = this.getDefaultValue();
2446
2479
  }
@@ -2455,12 +2488,12 @@ export class RecordingAudioActive extends Characteristic {
2455
2488
  static ENABLE = 1;
2456
2489
  constructor() {
2457
2490
  super('Recording Audio Active', RecordingAudioActive.UUID, {
2458
- format: "uint8" /* Formats.UINT8 */,
2491
+ format: Formats.UINT8,
2459
2492
  perms: [
2460
- "ev" /* Perms.NOTIFY */,
2461
- "pr" /* Perms.PAIRED_READ */,
2462
- "pw" /* Perms.PAIRED_WRITE */,
2463
- "tw" /* Perms.TIMED_WRITE */,
2493
+ Perms.NOTIFY,
2494
+ Perms.PAIRED_READ,
2495
+ Perms.PAIRED_WRITE,
2496
+ Perms.TIMED_WRITE,
2464
2497
  ],
2465
2498
  validValues: [0, 1],
2466
2499
  });
@@ -2475,9 +2508,9 @@ export class RelativeHumidityDehumidifierThreshold extends Characteristic {
2475
2508
  static UUID = '000000C9-0000-1000-8000-0026BB765291';
2476
2509
  constructor() {
2477
2510
  super('Relative Humidity Dehumidifier Threshold', RelativeHumidityDehumidifierThreshold.UUID, {
2478
- format: "float" /* Formats.FLOAT */,
2479
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2480
- unit: "percentage" /* Units.PERCENTAGE */,
2511
+ format: Formats.FLOAT,
2512
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2513
+ unit: Units.PERCENTAGE,
2481
2514
  minValue: 0,
2482
2515
  maxValue: 100,
2483
2516
  minStep: 1,
@@ -2493,9 +2526,9 @@ export class RelativeHumidityHumidifierThreshold extends Characteristic {
2493
2526
  static UUID = '000000CA-0000-1000-8000-0026BB765291';
2494
2527
  constructor() {
2495
2528
  super('Relative Humidity Humidifier Threshold', RelativeHumidityHumidifierThreshold.UUID, {
2496
- format: "float" /* Formats.FLOAT */,
2497
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2498
- unit: "percentage" /* Units.PERCENTAGE */,
2529
+ format: Formats.FLOAT,
2530
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2531
+ unit: Units.PERCENTAGE,
2499
2532
  minValue: 0,
2500
2533
  maxValue: 100,
2501
2534
  minStep: 1,
@@ -2512,8 +2545,8 @@ export class RelayControlPoint extends Characteristic {
2512
2545
  static UUID = '0000005E-0000-1000-8000-0026BB765291';
2513
2546
  constructor() {
2514
2547
  super('Relay Control Point', RelayControlPoint.UUID, {
2515
- format: "tlv8" /* Formats.TLV8 */,
2516
- 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],
2517
2550
  });
2518
2551
  this.value = this.getDefaultValue();
2519
2552
  }
@@ -2528,8 +2561,8 @@ export class RelayEnabled extends Characteristic {
2528
2561
  static UUID = '0000005B-0000-1000-8000-0026BB765291';
2529
2562
  constructor() {
2530
2563
  super('Relay Enabled', RelayEnabled.UUID, {
2531
- format: "bool" /* Formats.BOOL */,
2532
- 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],
2533
2566
  });
2534
2567
  this.value = this.getDefaultValue();
2535
2568
  }
@@ -2544,8 +2577,8 @@ export class RelayState extends Characteristic {
2544
2577
  static UUID = '0000005C-0000-1000-8000-0026BB765291';
2545
2578
  constructor() {
2546
2579
  super('Relay State', RelayState.UUID, {
2547
- format: "uint8" /* Formats.UINT8 */,
2548
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2580
+ format: Formats.UINT8,
2581
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2549
2582
  minValue: 0,
2550
2583
  maxValue: 5,
2551
2584
  minStep: 1,
@@ -2562,9 +2595,9 @@ export class RemainingDuration extends Characteristic {
2562
2595
  static UUID = '000000D4-0000-1000-8000-0026BB765291';
2563
2596
  constructor() {
2564
2597
  super('Remaining Duration', RemainingDuration.UUID, {
2565
- format: "uint32" /* Formats.UINT32 */,
2566
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2567
- unit: "seconds" /* Units.SECONDS */,
2598
+ format: Formats.UINT32,
2599
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2600
+ unit: Units.SECONDS,
2568
2601
  minValue: 0,
2569
2602
  maxValue: 3600,
2570
2603
  minStep: 1,
@@ -2593,8 +2626,8 @@ export class RemoteKey extends Characteristic {
2593
2626
  static INFORMATION = 15;
2594
2627
  constructor() {
2595
2628
  super('Remote Key', RemoteKey.UUID, {
2596
- format: "uint8" /* Formats.UINT8 */,
2597
- perms: ["pw" /* Perms.PAIRED_WRITE */],
2629
+ format: Formats.UINT8,
2630
+ perms: [Perms.PAIRED_WRITE],
2598
2631
  minValue: 0,
2599
2632
  maxValue: 16,
2600
2633
  minStep: 1,
@@ -2629,8 +2662,8 @@ export class ResetFilterIndication extends Characteristic {
2629
2662
  static UUID = '000000AD-0000-1000-8000-0026BB765291';
2630
2663
  constructor() {
2631
2664
  super('Reset Filter Indication', ResetFilterIndication.UUID, {
2632
- format: "uint8" /* Formats.UINT8 */,
2633
- perms: ["pw" /* Perms.PAIRED_WRITE */],
2665
+ format: Formats.UINT8,
2666
+ perms: [Perms.PAIRED_WRITE],
2634
2667
  minValue: 1,
2635
2668
  maxValue: 1,
2636
2669
  minStep: 1,
@@ -2648,8 +2681,8 @@ export class RotationDirection extends Characteristic {
2648
2681
  static COUNTER_CLOCKWISE = 1;
2649
2682
  constructor() {
2650
2683
  super('Rotation Direction', RotationDirection.UUID, {
2651
- format: "int" /* Formats.INT */,
2652
- 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],
2653
2686
  minValue: 0,
2654
2687
  maxValue: 1,
2655
2688
  minStep: 1,
@@ -2666,9 +2699,9 @@ export class RotationSpeed extends Characteristic {
2666
2699
  static UUID = '00000029-0000-1000-8000-0026BB765291';
2667
2700
  constructor() {
2668
2701
  super('Rotation Speed', RotationSpeed.UUID, {
2669
- format: "float" /* Formats.FLOAT */,
2670
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2671
- unit: "percentage" /* Units.PERCENTAGE */,
2702
+ format: Formats.FLOAT,
2703
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2704
+ unit: Units.PERCENTAGE,
2672
2705
  minValue: 0,
2673
2706
  maxValue: 100,
2674
2707
  minStep: 1,
@@ -2686,8 +2719,8 @@ export class RouterStatus extends Characteristic {
2686
2719
  static NOT_READY = 1;
2687
2720
  constructor() {
2688
2721
  super('Router Status', RouterStatus.UUID, {
2689
- format: "uint8" /* Formats.UINT8 */,
2690
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2722
+ format: Formats.UINT8,
2723
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2691
2724
  minValue: 0,
2692
2725
  maxValue: 1,
2693
2726
  validValues: [0, 1],
@@ -2703,9 +2736,9 @@ export class Saturation extends Characteristic {
2703
2736
  static UUID = '0000002F-0000-1000-8000-0026BB765291';
2704
2737
  constructor() {
2705
2738
  super('Saturation', Saturation.UUID, {
2706
- format: "float" /* Formats.FLOAT */,
2707
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2708
- unit: "percentage" /* Units.PERCENTAGE */,
2739
+ format: Formats.FLOAT,
2740
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2741
+ unit: Units.PERCENTAGE,
2709
2742
  minValue: 0,
2710
2743
  maxValue: 100,
2711
2744
  minStep: 1,
@@ -2723,8 +2756,8 @@ export class SecuritySystemAlarmType extends Characteristic {
2723
2756
  static UNKNOWN = 1;
2724
2757
  constructor() {
2725
2758
  super('Security System Alarm Type', SecuritySystemAlarmType.UUID, {
2726
- format: "uint8" /* Formats.UINT8 */,
2727
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2759
+ format: Formats.UINT8,
2760
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2728
2761
  minValue: 0,
2729
2762
  maxValue: 1,
2730
2763
  minStep: 1,
@@ -2746,8 +2779,8 @@ export class SecuritySystemCurrentState extends Characteristic {
2746
2779
  static ALARM_TRIGGERED = 4;
2747
2780
  constructor() {
2748
2781
  super('Security System Current State', SecuritySystemCurrentState.UUID, {
2749
- format: "uint8" /* Formats.UINT8 */,
2750
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2782
+ format: Formats.UINT8,
2783
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
2751
2784
  minValue: 0,
2752
2785
  maxValue: 4,
2753
2786
  minStep: 1,
@@ -2768,8 +2801,8 @@ export class SecuritySystemTargetState extends Characteristic {
2768
2801
  static DISARM = 3;
2769
2802
  constructor() {
2770
2803
  super('Security System Target State', SecuritySystemTargetState.UUID, {
2771
- format: "uint8" /* Formats.UINT8 */,
2772
- 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],
2773
2806
  minValue: 0,
2774
2807
  maxValue: 3,
2775
2808
  minStep: 1,
@@ -2786,8 +2819,8 @@ export class SelectedAudioStreamConfiguration extends Characteristic {
2786
2819
  static UUID = '00000128-0000-1000-8000-0026BB765291';
2787
2820
  constructor() {
2788
2821
  super('Selected Audio Stream Configuration', SelectedAudioStreamConfiguration.UUID, {
2789
- format: "tlv8" /* Formats.TLV8 */,
2790
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2822
+ format: Formats.TLV8,
2823
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2791
2824
  });
2792
2825
  this.value = this.getDefaultValue();
2793
2826
  }
@@ -2800,8 +2833,8 @@ export class SelectedCameraRecordingConfiguration extends Characteristic {
2800
2833
  static UUID = '00000209-0000-1000-8000-0026BB765291';
2801
2834
  constructor() {
2802
2835
  super('Selected Camera Recording Configuration', SelectedCameraRecordingConfiguration.UUID, {
2803
- format: "tlv8" /* Formats.TLV8 */,
2804
- 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],
2805
2838
  });
2806
2839
  this.value = this.getDefaultValue();
2807
2840
  }
@@ -2814,8 +2847,8 @@ export class SelectedDiagnosticsModes extends Characteristic {
2814
2847
  static UUID = '0000024D-0000-1000-8000-0026BB765291';
2815
2848
  constructor() {
2816
2849
  super('Selected Diagnostics Modes', SelectedDiagnosticsModes.UUID, {
2817
- format: "uint32" /* Formats.UINT32 */,
2818
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2850
+ format: Formats.UINT32,
2851
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2819
2852
  });
2820
2853
  this.value = this.getDefaultValue();
2821
2854
  }
@@ -2828,8 +2861,8 @@ export class SelectedRTPStreamConfiguration extends Characteristic {
2828
2861
  static UUID = '00000117-0000-1000-8000-0026BB765291';
2829
2862
  constructor() {
2830
2863
  super('Selected RTP Stream Configuration', SelectedRTPStreamConfiguration.UUID, {
2831
- format: "tlv8" /* Formats.TLV8 */,
2832
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2864
+ format: Formats.TLV8,
2865
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2833
2866
  });
2834
2867
  this.value = this.getDefaultValue();
2835
2868
  }
@@ -2842,8 +2875,8 @@ export class SelectedSessionKeepaliveConfigurationList extends Characteristic {
2842
2875
  static UUID = '00000275-0000-1000-8000-0026BB765291';
2843
2876
  constructor() {
2844
2877
  super('Selected Session Keep-alive Configuration List', SelectedSessionKeepaliveConfigurationList.UUID, {
2845
- format: "tlv8" /* Formats.TLV8 */,
2846
- 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],
2847
2880
  });
2848
2881
  this.value = this.getDefaultValue();
2849
2882
  }
@@ -2856,12 +2889,12 @@ export class SelectedSleepConfiguration extends Characteristic {
2856
2889
  static UUID = '00000252-0000-1000-8000-0026BB765291';
2857
2890
  constructor() {
2858
2891
  super('Selected Sleep Configuration', SelectedSleepConfiguration.UUID, {
2859
- format: "tlv8" /* Formats.TLV8 */,
2892
+ format: Formats.TLV8,
2860
2893
  perms: [
2861
- "ev" /* Perms.NOTIFY */,
2862
- "pr" /* Perms.PAIRED_READ */,
2863
- "pw" /* Perms.PAIRED_WRITE */,
2864
- "wr" /* Perms.WRITE_RESPONSE */,
2894
+ Perms.NOTIFY,
2895
+ Perms.PAIRED_READ,
2896
+ Perms.PAIRED_WRITE,
2897
+ Perms.WRITE_RESPONSE,
2865
2898
  ],
2866
2899
  });
2867
2900
  this.value = this.getDefaultValue();
@@ -2875,8 +2908,8 @@ export class SerialNumber extends Characteristic {
2875
2908
  static UUID = '00000030-0000-1000-8000-0026BB765291';
2876
2909
  constructor() {
2877
2910
  super('Serial Number', SerialNumber.UUID, {
2878
- format: "string" /* Formats.STRING */,
2879
- perms: ["pr" /* Perms.PAIRED_READ */],
2911
+ format: Formats.STRING,
2912
+ perms: [Perms.PAIRED_READ],
2880
2913
  maxLen: 64,
2881
2914
  });
2882
2915
  this.value = this.getDefaultValue();
@@ -2890,8 +2923,8 @@ export class ServiceLabelIndex extends Characteristic {
2890
2923
  static UUID = '000000CB-0000-1000-8000-0026BB765291';
2891
2924
  constructor() {
2892
2925
  super('Service Label Index', ServiceLabelIndex.UUID, {
2893
- format: "uint8" /* Formats.UINT8 */,
2894
- perms: ["pr" /* Perms.PAIRED_READ */],
2926
+ format: Formats.UINT8,
2927
+ perms: [Perms.PAIRED_READ],
2895
2928
  minValue: 1,
2896
2929
  maxValue: 255,
2897
2930
  minStep: 1,
@@ -2909,8 +2942,8 @@ export class ServiceLabelNamespace extends Characteristic {
2909
2942
  static ARABIC_NUMERALS = 1;
2910
2943
  constructor() {
2911
2944
  super('Service Label Namespace', ServiceLabelNamespace.UUID, {
2912
- format: "uint8" /* Formats.UINT8 */,
2913
- perms: ["pr" /* Perms.PAIRED_READ */],
2945
+ format: Formats.UINT8,
2946
+ perms: [Perms.PAIRED_READ],
2914
2947
  minValue: 0,
2915
2948
  maxValue: 1,
2916
2949
  minStep: 1,
@@ -2920,6 +2953,20 @@ export class ServiceLabelNamespace extends Characteristic {
2920
2953
  }
2921
2954
  }
2922
2955
  Characteristic.ServiceLabelNamespace = ServiceLabelNamespace;
2956
+ /**
2957
+ * Characteristic "Session Transport Endpoint List"
2958
+ */
2959
+ export class SessionTransportEndpointList extends Characteristic {
2960
+ static UUID = '00000279-0000-1000-8000-0026BB765291';
2961
+ constructor() {
2962
+ super('Session Transport Endpoint List', SessionTransportEndpointList.UUID, {
2963
+ format: Formats.TLV8,
2964
+ perms: [Perms.PAIRED_WRITE],
2965
+ });
2966
+ this.value = this.getDefaultValue();
2967
+ }
2968
+ }
2969
+ Characteristic.SessionTransportEndpointList = SessionTransportEndpointList;
2923
2970
  /**
2924
2971
  * Characteristic "Set Duration"
2925
2972
  */
@@ -2927,9 +2974,9 @@ export class SetDuration extends Characteristic {
2927
2974
  static UUID = '000000D3-0000-1000-8000-0026BB765291';
2928
2975
  constructor() {
2929
2976
  super('Set Duration', SetDuration.UUID, {
2930
- format: "uint32" /* Formats.UINT32 */,
2931
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2932
- unit: "seconds" /* Units.SECONDS */,
2977
+ format: Formats.UINT32,
2978
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2979
+ unit: Units.SECONDS,
2933
2980
  minValue: 0,
2934
2981
  maxValue: 3600,
2935
2982
  minStep: 1,
@@ -2945,8 +2992,8 @@ export class SetupDataStreamTransport extends Characteristic {
2945
2992
  static UUID = '00000131-0000-1000-8000-0026BB765291';
2946
2993
  constructor() {
2947
2994
  super('Setup Data Stream Transport', SetupDataStreamTransport.UUID, {
2948
- format: "tlv8" /* Formats.TLV8 */,
2949
- 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],
2950
2997
  });
2951
2998
  this.value = this.getDefaultValue();
2952
2999
  }
@@ -2959,8 +3006,8 @@ export class SetupEndpoints extends Characteristic {
2959
3006
  static UUID = '00000118-0000-1000-8000-0026BB765291';
2960
3007
  constructor() {
2961
3008
  super('Setup Endpoints', SetupEndpoints.UUID, {
2962
- format: "tlv8" /* Formats.TLV8 */,
2963
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3009
+ format: Formats.TLV8,
3010
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
2964
3011
  });
2965
3012
  this.value = this.getDefaultValue();
2966
3013
  }
@@ -2974,8 +3021,8 @@ export class SetupTransferTransport extends Characteristic {
2974
3021
  static UUID = '00000201-0000-1000-8000-0026BB765291';
2975
3022
  constructor() {
2976
3023
  super('Setup Transfer Transport', SetupTransferTransport.UUID, {
2977
- format: "tlv8" /* Formats.TLV8 */,
2978
- perms: ["pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
3024
+ format: Formats.TLV8,
3025
+ perms: [Perms.PAIRED_WRITE, Perms.WRITE_RESPONSE],
2979
3026
  });
2980
3027
  this.value = this.getDefaultValue();
2981
3028
  }
@@ -2989,8 +3036,8 @@ export class SignalToNoiseRatio extends Characteristic {
2989
3036
  static UUID = '00000241-0000-1000-8000-0026BB765291';
2990
3037
  constructor() {
2991
3038
  super('Signal To Noise Ratio', SignalToNoiseRatio.UUID, {
2992
- format: "int" /* Formats.INT */,
2993
- perms: ["pr" /* Perms.PAIRED_READ */],
3039
+ format: Formats.INT,
3040
+ perms: [Perms.PAIRED_READ],
2994
3041
  });
2995
3042
  this.value = this.getDefaultValue();
2996
3043
  }
@@ -3003,8 +3050,8 @@ export class SiriEnable extends Characteristic {
3003
3050
  static UUID = '00000255-0000-1000-8000-0026BB765291';
3004
3051
  constructor() {
3005
3052
  super('Siri Enable', SiriEnable.UUID, {
3006
- format: "uint8" /* Formats.UINT8 */,
3007
- 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],
3008
3055
  minValue: 0,
3009
3056
  maxValue: 1,
3010
3057
  });
@@ -3019,8 +3066,8 @@ export class SiriEndpointSessionStatus extends Characteristic {
3019
3066
  static UUID = '00000254-0000-1000-8000-0026BB765291';
3020
3067
  constructor() {
3021
3068
  super('Siri Endpoint Session Status', SiriEndpointSessionStatus.UUID, {
3022
- format: "tlv8" /* Formats.TLV8 */,
3023
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3069
+ format: Formats.TLV8,
3070
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3024
3071
  });
3025
3072
  this.value = this.getDefaultValue();
3026
3073
  }
@@ -3033,8 +3080,8 @@ export class SiriEngineVersion extends Characteristic {
3033
3080
  static UUID = '0000025A-0000-1000-8000-0026BB765291';
3034
3081
  constructor() {
3035
3082
  super('Siri Engine Version', SiriEngineVersion.UUID, {
3036
- format: "string" /* Formats.STRING */,
3037
- perms: ["pr" /* Perms.PAIRED_READ */],
3083
+ format: Formats.STRING,
3084
+ perms: [Perms.PAIRED_READ],
3038
3085
  });
3039
3086
  this.value = this.getDefaultValue();
3040
3087
  }
@@ -3048,8 +3095,8 @@ export class SiriInputType extends Characteristic {
3048
3095
  static PUSH_BUTTON_TRIGGERED_APPLE_TV = 0;
3049
3096
  constructor() {
3050
3097
  super('Siri Input Type', SiriInputType.UUID, {
3051
- format: "uint8" /* Formats.UINT8 */,
3052
- perms: ["pr" /* Perms.PAIRED_READ */],
3098
+ format: Formats.UINT8,
3099
+ perms: [Perms.PAIRED_READ],
3053
3100
  minValue: 0,
3054
3101
  maxValue: 0,
3055
3102
  validValues: [0],
@@ -3065,8 +3112,8 @@ export class SiriLightOnUse extends Characteristic {
3065
3112
  static UUID = '00000258-0000-1000-8000-0026BB765291';
3066
3113
  constructor() {
3067
3114
  super('Siri Light On Use', SiriLightOnUse.UUID, {
3068
- format: "uint8" /* Formats.UINT8 */,
3069
- 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],
3070
3117
  minValue: 0,
3071
3118
  maxValue: 1,
3072
3119
  });
@@ -3081,8 +3128,8 @@ export class SiriListening extends Characteristic {
3081
3128
  static UUID = '00000256-0000-1000-8000-0026BB765291';
3082
3129
  constructor() {
3083
3130
  super('Siri Listening', SiriListening.UUID, {
3084
- format: "uint8" /* Formats.UINT8 */,
3085
- 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],
3086
3133
  minValue: 0,
3087
3134
  maxValue: 1,
3088
3135
  });
@@ -3097,8 +3144,8 @@ export class SiriTouchToUse extends Characteristic {
3097
3144
  static UUID = '00000257-0000-1000-8000-0026BB765291';
3098
3145
  constructor() {
3099
3146
  super('Siri Touch To Use', SiriTouchToUse.UUID, {
3100
- format: "uint8" /* Formats.UINT8 */,
3101
- 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],
3102
3149
  minValue: 0,
3103
3150
  maxValue: 1,
3104
3151
  });
@@ -3115,8 +3162,8 @@ export class SlatType extends Characteristic {
3115
3162
  static VERTICAL = 1;
3116
3163
  constructor() {
3117
3164
  super('Slat Type', SlatType.UUID, {
3118
- format: "uint8" /* Formats.UINT8 */,
3119
- perms: ["pr" /* Perms.PAIRED_READ */],
3165
+ format: Formats.UINT8,
3166
+ perms: [Perms.PAIRED_READ],
3120
3167
  minValue: 0,
3121
3168
  maxValue: 1,
3122
3169
  minStep: 1,
@@ -3135,8 +3182,8 @@ export class SleepDiscoveryMode extends Characteristic {
3135
3182
  static ALWAYS_DISCOVERABLE = 1;
3136
3183
  constructor() {
3137
3184
  super('Sleep Discovery Mode', SleepDiscoveryMode.UUID, {
3138
- format: "uint8" /* Formats.UINT8 */,
3139
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3185
+ format: Formats.UINT8,
3186
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3140
3187
  minValue: 0,
3141
3188
  maxValue: 1,
3142
3189
  minStep: 1,
@@ -3154,8 +3201,8 @@ export class SleepInterval extends Characteristic {
3154
3201
  static UUID = '0000023A-0000-1000-8000-0026BB765291';
3155
3202
  constructor() {
3156
3203
  super('Sleep Interval', SleepInterval.UUID, {
3157
- format: "uint32" /* Formats.UINT32 */,
3158
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3204
+ format: Formats.UINT32,
3205
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3159
3206
  minValue: 0,
3160
3207
  minStep: 1,
3161
3208
  });
@@ -3172,8 +3219,8 @@ export class SmokeDetected extends Characteristic {
3172
3219
  static SMOKE_DETECTED = 1;
3173
3220
  constructor() {
3174
3221
  super('Smoke Detected', SmokeDetected.UUID, {
3175
- format: "uint8" /* Formats.UINT8 */,
3176
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3222
+ format: Formats.UINT8,
3223
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3177
3224
  minValue: 0,
3178
3225
  maxValue: 1,
3179
3226
  minStep: 1,
@@ -3190,8 +3237,8 @@ export class SoftwareRevision extends Characteristic {
3190
3237
  static UUID = '00000054-0000-1000-8000-0026BB765291';
3191
3238
  constructor() {
3192
3239
  super('Software Revision', SoftwareRevision.UUID, {
3193
- format: "string" /* Formats.STRING */,
3194
- perms: ["pr" /* Perms.PAIRED_READ */],
3240
+ format: Formats.STRING,
3241
+ perms: [Perms.PAIRED_READ],
3195
3242
  });
3196
3243
  this.value = this.getDefaultValue();
3197
3244
  }
@@ -3204,8 +3251,8 @@ export class StagedFirmwareVersion extends Characteristic {
3204
3251
  static UUID = '00000249-0000-1000-8000-0026BB765291';
3205
3252
  constructor() {
3206
3253
  super('Staged Firmware Version', StagedFirmwareVersion.UUID, {
3207
- format: "string" /* Formats.STRING */,
3208
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3254
+ format: Formats.STRING,
3255
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3209
3256
  });
3210
3257
  this.value = this.getDefaultValue();
3211
3258
  }
@@ -3218,8 +3265,8 @@ export class StatusActive extends Characteristic {
3218
3265
  static UUID = '00000075-0000-1000-8000-0026BB765291';
3219
3266
  constructor() {
3220
3267
  super('Status Active', StatusActive.UUID, {
3221
- format: "bool" /* Formats.BOOL */,
3222
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3268
+ format: Formats.BOOL,
3269
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3223
3270
  });
3224
3271
  this.value = this.getDefaultValue();
3225
3272
  }
@@ -3234,8 +3281,8 @@ export class StatusFault extends Characteristic {
3234
3281
  static GENERAL_FAULT = 1;
3235
3282
  constructor() {
3236
3283
  super('Status Fault', StatusFault.UUID, {
3237
- format: "uint8" /* Formats.UINT8 */,
3238
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3284
+ format: Formats.UINT8,
3285
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3239
3286
  minValue: 0,
3240
3287
  maxValue: 1,
3241
3288
  minStep: 1,
@@ -3254,8 +3301,8 @@ export class StatusJammed extends Characteristic {
3254
3301
  static JAMMED = 1;
3255
3302
  constructor() {
3256
3303
  super('Status Jammed', StatusJammed.UUID, {
3257
- format: "uint8" /* Formats.UINT8 */,
3258
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3304
+ format: Formats.UINT8,
3305
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3259
3306
  minValue: 0,
3260
3307
  maxValue: 1,
3261
3308
  minStep: 1,
@@ -3274,8 +3321,8 @@ export class StatusLowBattery extends Characteristic {
3274
3321
  static BATTERY_LEVEL_LOW = 1;
3275
3322
  constructor() {
3276
3323
  super('Status Low Battery', StatusLowBattery.UUID, {
3277
- format: "uint8" /* Formats.UINT8 */,
3278
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3324
+ format: Formats.UINT8,
3325
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3279
3326
  minValue: 0,
3280
3327
  maxValue: 1,
3281
3328
  minStep: 1,
@@ -3294,8 +3341,8 @@ export class StatusTampered extends Characteristic {
3294
3341
  static TAMPERED = 1;
3295
3342
  constructor() {
3296
3343
  super('Status Tampered', StatusTampered.UUID, {
3297
- format: "uint8" /* Formats.UINT8 */,
3298
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3344
+ format: Formats.UINT8,
3345
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3299
3346
  minValue: 0,
3300
3347
  maxValue: 1,
3301
3348
  minStep: 1,
@@ -3312,8 +3359,8 @@ export class StreamingStatus extends Characteristic {
3312
3359
  static UUID = '00000120-0000-1000-8000-0026BB765291';
3313
3360
  constructor() {
3314
3361
  super('Streaming Status', StreamingStatus.UUID, {
3315
- format: "tlv8" /* Formats.TLV8 */,
3316
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3362
+ format: Formats.TLV8,
3363
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3317
3364
  });
3318
3365
  this.value = this.getDefaultValue();
3319
3366
  }
@@ -3326,8 +3373,8 @@ export class SulphurDioxideDensity extends Characteristic {
3326
3373
  static UUID = '000000C5-0000-1000-8000-0026BB765291';
3327
3374
  constructor() {
3328
3375
  super('Sulphur Dioxide Density', SulphurDioxideDensity.UUID, {
3329
- format: "float" /* Formats.FLOAT */,
3330
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3376
+ format: Formats.FLOAT,
3377
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3331
3378
  minValue: 0,
3332
3379
  maxValue: 1000,
3333
3380
  minStep: 1,
@@ -3343,8 +3390,8 @@ export class SupportedAssetTypes extends Characteristic {
3343
3390
  static UUID = '00000268-0000-1000-8000-0026BB765291';
3344
3391
  constructor() {
3345
3392
  super('Supported Asset Types', SupportedAssetTypes.UUID, {
3346
- format: "uint32" /* Formats.UINT32 */,
3347
- perms: ["pr" /* Perms.PAIRED_READ */],
3393
+ format: Formats.UINT32,
3394
+ perms: [Perms.PAIRED_READ],
3348
3395
  });
3349
3396
  this.value = this.getDefaultValue();
3350
3397
  }
@@ -3357,8 +3404,8 @@ export class SupportedAudioRecordingConfiguration extends Characteristic {
3357
3404
  static UUID = '00000207-0000-1000-8000-0026BB765291';
3358
3405
  constructor() {
3359
3406
  super('Supported Audio Recording Configuration', SupportedAudioRecordingConfiguration.UUID, {
3360
- format: "tlv8" /* Formats.TLV8 */,
3361
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3407
+ format: Formats.TLV8,
3408
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3362
3409
  });
3363
3410
  this.value = this.getDefaultValue();
3364
3411
  }
@@ -3371,8 +3418,8 @@ export class SupportedAudioStreamConfiguration extends Characteristic {
3371
3418
  static UUID = '00000115-0000-1000-8000-0026BB765291';
3372
3419
  constructor() {
3373
3420
  super('Supported Audio Stream Configuration', SupportedAudioStreamConfiguration.UUID, {
3374
- format: "tlv8" /* Formats.TLV8 */,
3375
- perms: ["pr" /* Perms.PAIRED_READ */],
3421
+ format: Formats.TLV8,
3422
+ perms: [Perms.PAIRED_READ],
3376
3423
  });
3377
3424
  this.value = this.getDefaultValue();
3378
3425
  }
@@ -3385,8 +3432,8 @@ export class SupportedCameraRecordingConfiguration extends Characteristic {
3385
3432
  static UUID = '00000205-0000-1000-8000-0026BB765291';
3386
3433
  constructor() {
3387
3434
  super('Supported Camera Recording Configuration', SupportedCameraRecordingConfiguration.UUID, {
3388
- format: "tlv8" /* Formats.TLV8 */,
3389
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3435
+ format: Formats.TLV8,
3436
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3390
3437
  });
3391
3438
  this.value = this.getDefaultValue();
3392
3439
  }
@@ -3400,8 +3447,8 @@ export class SupportedCharacteristicValueTransitionConfiguration extends Charact
3400
3447
  static UUID = '00000144-0000-1000-8000-0026BB765291';
3401
3448
  constructor() {
3402
3449
  super('Supported Characteristic Value Transition Configuration', SupportedCharacteristicValueTransitionConfiguration.UUID, {
3403
- format: "tlv8" /* Formats.TLV8 */,
3404
- perms: ["pr" /* Perms.PAIRED_READ */],
3450
+ format: Formats.TLV8,
3451
+ perms: [Perms.PAIRED_READ],
3405
3452
  });
3406
3453
  this.value = this.getDefaultValue();
3407
3454
  }
@@ -3414,8 +3461,8 @@ export class SupportedDataStreamTransportConfiguration extends Characteristic {
3414
3461
  static UUID = '00000130-0000-1000-8000-0026BB765291';
3415
3462
  constructor() {
3416
3463
  super('Supported Data Stream Transport Configuration', SupportedDataStreamTransportConfiguration.UUID, {
3417
- format: "tlv8" /* Formats.TLV8 */,
3418
- perms: ["pr" /* Perms.PAIRED_READ */],
3464
+ format: Formats.TLV8,
3465
+ perms: [Perms.PAIRED_READ],
3419
3466
  });
3420
3467
  this.value = this.getDefaultValue();
3421
3468
  }
@@ -3428,8 +3475,8 @@ export class SupportedDiagnosticsModes extends Characteristic {
3428
3475
  static UUID = '0000024C-0000-1000-8000-0026BB765291';
3429
3476
  constructor() {
3430
3477
  super('Supported Diagnostics Modes', SupportedDiagnosticsModes.UUID, {
3431
- format: "uint32" /* Formats.UINT32 */,
3432
- perms: ["pr" /* Perms.PAIRED_READ */],
3478
+ format: Formats.UINT32,
3479
+ perms: [Perms.PAIRED_READ],
3433
3480
  });
3434
3481
  this.value = this.getDefaultValue();
3435
3482
  }
@@ -3443,8 +3490,8 @@ export class SupportedDiagnosticsSnapshot extends Characteristic {
3443
3490
  static UUID = '00000238-0000-1000-8000-0026BB765291';
3444
3491
  constructor() {
3445
3492
  super('Supported Diagnostics Snapshot', SupportedDiagnosticsSnapshot.UUID, {
3446
- format: "tlv8" /* Formats.TLV8 */,
3447
- perms: ["pr" /* Perms.PAIRED_READ */],
3493
+ format: Formats.TLV8,
3494
+ perms: [Perms.PAIRED_READ],
3448
3495
  });
3449
3496
  this.value = this.getDefaultValue();
3450
3497
  }
@@ -3457,8 +3504,8 @@ export class SupportedFirmwareUpdateConfiguration extends Characteristic {
3457
3504
  static UUID = '00000233-0000-1000-8000-0026BB765291';
3458
3505
  constructor() {
3459
3506
  super('Supported Firmware Update Configuration', SupportedFirmwareUpdateConfiguration.UUID, {
3460
- format: "tlv8" /* Formats.TLV8 */,
3461
- perms: ["pr" /* Perms.PAIRED_READ */],
3507
+ format: Formats.TLV8,
3508
+ perms: [Perms.PAIRED_READ],
3462
3509
  });
3463
3510
  this.value = this.getDefaultValue();
3464
3511
  }
@@ -3471,8 +3518,8 @@ export class SupportedMetrics extends Characteristic {
3471
3518
  static UUID = '00000271-0000-1000-8000-0026BB765291';
3472
3519
  constructor() {
3473
3520
  super('Supported Metrics', SupportedMetrics.UUID, {
3474
- format: "tlv8" /* Formats.TLV8 */,
3475
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3521
+ format: Formats.TLV8,
3522
+ perms: [Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3476
3523
  });
3477
3524
  this.value = this.getDefaultValue();
3478
3525
  }
@@ -3485,8 +3532,8 @@ export class SupportedRouterConfiguration extends Characteristic {
3485
3532
  static UUID = '00000210-0000-1000-8000-0026BB765291';
3486
3533
  constructor() {
3487
3534
  super('Supported Router Configuration', SupportedRouterConfiguration.UUID, {
3488
- format: "tlv8" /* Formats.TLV8 */,
3489
- perms: ["pr" /* Perms.PAIRED_READ */],
3535
+ format: Formats.TLV8,
3536
+ perms: [Perms.PAIRED_READ],
3490
3537
  });
3491
3538
  this.value = this.getDefaultValue();
3492
3539
  }
@@ -3499,8 +3546,8 @@ export class SupportedRTPConfiguration extends Characteristic {
3499
3546
  static UUID = '00000116-0000-1000-8000-0026BB765291';
3500
3547
  constructor() {
3501
3548
  super('Supported RTP Configuration', SupportedRTPConfiguration.UUID, {
3502
- format: "tlv8" /* Formats.TLV8 */,
3503
- perms: ["pr" /* Perms.PAIRED_READ */],
3549
+ format: Formats.TLV8,
3550
+ perms: [Perms.PAIRED_READ],
3504
3551
  });
3505
3552
  this.value = this.getDefaultValue();
3506
3553
  }
@@ -3513,8 +3560,8 @@ export class SupportedSessionKeepaliveConfigurationList extends Characteristic {
3513
3560
  static UUID = '00000274-0000-1000-8000-0026BB765291';
3514
3561
  constructor() {
3515
3562
  super('Supported Session Keep-alive Configuration List', SupportedSessionKeepaliveConfigurationList.UUID, {
3516
- format: "tlv8" /* Formats.TLV8 */,
3517
- perms: ["pr" /* Perms.PAIRED_READ */],
3563
+ format: Formats.TLV8,
3564
+ perms: [Perms.PAIRED_READ],
3518
3565
  });
3519
3566
  this.value = this.getDefaultValue();
3520
3567
  }
@@ -3527,8 +3574,8 @@ export class SupportedSleepConfiguration extends Characteristic {
3527
3574
  static UUID = '00000251-0000-1000-8000-0026BB765291';
3528
3575
  constructor() {
3529
3576
  super('Supported Sleep Configuration', SupportedSleepConfiguration.UUID, {
3530
- format: "tlv8" /* Formats.TLV8 */,
3531
- perms: ["pr" /* Perms.PAIRED_READ */],
3577
+ format: Formats.TLV8,
3578
+ perms: [Perms.PAIRED_READ],
3532
3579
  });
3533
3580
  this.value = this.getDefaultValue();
3534
3581
  }
@@ -3542,8 +3589,8 @@ export class SupportedTransferTransportConfiguration extends Characteristic {
3542
3589
  static UUID = '00000202-0000-1000-8000-0026BB765291';
3543
3590
  constructor() {
3544
3591
  super('Supported Transfer Transport Configuration', SupportedTransferTransportConfiguration.UUID, {
3545
- format: "tlv8" /* Formats.TLV8 */,
3546
- perms: ["pr" /* Perms.PAIRED_READ */],
3592
+ format: Formats.TLV8,
3593
+ perms: [Perms.PAIRED_READ],
3547
3594
  });
3548
3595
  this.value = this.getDefaultValue();
3549
3596
  }
@@ -3556,8 +3603,8 @@ export class SupportedVideoRecordingConfiguration extends Characteristic {
3556
3603
  static UUID = '00000206-0000-1000-8000-0026BB765291';
3557
3604
  constructor() {
3558
3605
  super('Supported Video Recording Configuration', SupportedVideoRecordingConfiguration.UUID, {
3559
- format: "tlv8" /* Formats.TLV8 */,
3560
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3606
+ format: Formats.TLV8,
3607
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3561
3608
  });
3562
3609
  this.value = this.getDefaultValue();
3563
3610
  }
@@ -3570,8 +3617,8 @@ export class SupportedVideoStreamConfiguration extends Characteristic {
3570
3617
  static UUID = '00000114-0000-1000-8000-0026BB765291';
3571
3618
  constructor() {
3572
3619
  super('Supported Video Stream Configuration', SupportedVideoStreamConfiguration.UUID, {
3573
- format: "tlv8" /* Formats.TLV8 */,
3574
- perms: ["pr" /* Perms.PAIRED_READ */],
3620
+ format: Formats.TLV8,
3621
+ perms: [Perms.PAIRED_READ],
3575
3622
  });
3576
3623
  this.value = this.getDefaultValue();
3577
3624
  }
@@ -3586,8 +3633,8 @@ export class SwingMode extends Characteristic {
3586
3633
  static SWING_ENABLED = 1;
3587
3634
  constructor() {
3588
3635
  super('Swing Mode', SwingMode.UUID, {
3589
- format: "uint8" /* Formats.UINT8 */,
3590
- 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],
3591
3638
  minValue: 0,
3592
3639
  maxValue: 1,
3593
3640
  minStep: 1,
@@ -3605,8 +3652,8 @@ export class TapType extends Characteristic {
3605
3652
  static UUID = '0000022F-0000-1000-8000-0026BB765291';
3606
3653
  constructor() {
3607
3654
  super('Tap Type', TapType.UUID, {
3608
- format: "uint16" /* Formats.UINT16 */,
3609
- perms: ["pr" /* Perms.PAIRED_READ */],
3655
+ format: Formats.UINT16,
3656
+ perms: [Perms.PAIRED_READ],
3610
3657
  });
3611
3658
  this.value = this.getDefaultValue();
3612
3659
  }
@@ -3622,8 +3669,8 @@ export class TargetAirPurifierState extends Characteristic {
3622
3669
  static AUTO = 1;
3623
3670
  constructor() {
3624
3671
  super('Target Air Purifier State', TargetAirPurifierState.UUID, {
3625
- format: "uint8" /* Formats.UINT8 */,
3626
- 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],
3627
3674
  minValue: 0,
3628
3675
  maxValue: 1,
3629
3676
  minStep: 1,
@@ -3640,9 +3687,9 @@ export class TargetControlList extends Characteristic {
3640
3687
  static UUID = '00000124-0000-1000-8000-0026BB765291';
3641
3688
  constructor() {
3642
3689
  super('Target Control List', TargetControlList.UUID, {
3643
- format: "tlv8" /* Formats.TLV8 */,
3644
- perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
3645
- 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],
3646
3693
  });
3647
3694
  this.value = this.getDefaultValue();
3648
3695
  }
@@ -3655,8 +3702,8 @@ export class TargetControlSupportedConfiguration extends Characteristic {
3655
3702
  static UUID = '00000123-0000-1000-8000-0026BB765291';
3656
3703
  constructor() {
3657
3704
  super('Target Control Supported Configuration', TargetControlSupportedConfiguration.UUID, {
3658
- format: "tlv8" /* Formats.TLV8 */,
3659
- perms: ["pr" /* Perms.PAIRED_READ */],
3705
+ format: Formats.TLV8,
3706
+ perms: [Perms.PAIRED_READ],
3660
3707
  });
3661
3708
  this.value = this.getDefaultValue();
3662
3709
  }
@@ -3671,8 +3718,8 @@ export class TargetDoorState extends Characteristic {
3671
3718
  static CLOSED = 1;
3672
3719
  constructor() {
3673
3720
  super('Target Door State', TargetDoorState.UUID, {
3674
- format: "uint8" /* Formats.UINT8 */,
3675
- 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],
3676
3723
  minValue: 0,
3677
3724
  maxValue: 1,
3678
3725
  minStep: 1,
@@ -3691,8 +3738,8 @@ export class TargetFanState extends Characteristic {
3691
3738
  static AUTO = 1;
3692
3739
  constructor() {
3693
3740
  super('Target Fan State', TargetFanState.UUID, {
3694
- format: "uint8" /* Formats.UINT8 */,
3695
- 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],
3696
3743
  minValue: 0,
3697
3744
  maxValue: 1,
3698
3745
  minStep: 1,
@@ -3712,8 +3759,8 @@ export class TargetHeaterCoolerState extends Characteristic {
3712
3759
  static COOL = 2;
3713
3760
  constructor() {
3714
3761
  super('Target Heater-Cooler State', TargetHeaterCoolerState.UUID, {
3715
- format: "uint8" /* Formats.UINT8 */,
3716
- 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],
3717
3764
  minValue: 0,
3718
3765
  maxValue: 2,
3719
3766
  minStep: 1,
@@ -3734,8 +3781,8 @@ export class TargetHeatingCoolingState extends Characteristic {
3734
3781
  static AUTO = 3;
3735
3782
  constructor() {
3736
3783
  super('Target Heating Cooling State', TargetHeatingCoolingState.UUID, {
3737
- format: "uint8" /* Formats.UINT8 */,
3738
- 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],
3739
3786
  minValue: 0,
3740
3787
  maxValue: 3,
3741
3788
  minStep: 1,
@@ -3752,9 +3799,9 @@ export class TargetHorizontalTiltAngle extends Characteristic {
3752
3799
  static UUID = '0000007B-0000-1000-8000-0026BB765291';
3753
3800
  constructor() {
3754
3801
  super('Target Horizontal Tilt Angle', TargetHorizontalTiltAngle.UUID, {
3755
- format: "int" /* Formats.INT */,
3756
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3757
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
3802
+ format: Formats.INT,
3803
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3804
+ unit: Units.ARC_DEGREE,
3758
3805
  minValue: -90,
3759
3806
  maxValue: 90,
3760
3807
  minStep: 1,
@@ -3773,8 +3820,8 @@ export class TargetHumidifierDehumidifierState extends Characteristic {
3773
3820
  static DEHUMIDIFIER = 2;
3774
3821
  constructor() {
3775
3822
  super('Target Humidifier-Dehumidifier State', TargetHumidifierDehumidifierState.UUID, {
3776
- format: "uint8" /* Formats.UINT8 */,
3777
- 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],
3778
3825
  minValue: 0,
3779
3826
  maxValue: 2,
3780
3827
  minStep: 1,
@@ -3794,8 +3841,8 @@ export class TargetMediaState extends Characteristic {
3794
3841
  static STOP = 2;
3795
3842
  constructor() {
3796
3843
  super('Target Media State', TargetMediaState.UUID, {
3797
- format: "uint8" /* Formats.UINT8 */,
3798
- 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],
3799
3846
  minValue: 0,
3800
3847
  maxValue: 2,
3801
3848
  minStep: 1,
@@ -3812,9 +3859,9 @@ export class TargetPosition extends Characteristic {
3812
3859
  static UUID = '0000007C-0000-1000-8000-0026BB765291';
3813
3860
  constructor() {
3814
3861
  super('Target Position', TargetPosition.UUID, {
3815
- format: "uint8" /* Formats.UINT8 */,
3816
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3817
- unit: "percentage" /* Units.PERCENTAGE */,
3862
+ format: Formats.UINT8,
3863
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3864
+ unit: Units.PERCENTAGE,
3818
3865
  minValue: 0,
3819
3866
  maxValue: 100,
3820
3867
  minStep: 1,
@@ -3830,9 +3877,9 @@ export class TargetRelativeHumidity extends Characteristic {
3830
3877
  static UUID = '00000034-0000-1000-8000-0026BB765291';
3831
3878
  constructor() {
3832
3879
  super('Target Relative Humidity', TargetRelativeHumidity.UUID, {
3833
- format: "float" /* Formats.FLOAT */,
3834
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3835
- unit: "percentage" /* Units.PERCENTAGE */,
3880
+ format: Formats.FLOAT,
3881
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3882
+ unit: Units.PERCENTAGE,
3836
3883
  minValue: 0,
3837
3884
  maxValue: 100,
3838
3885
  minStep: 1,
@@ -3848,9 +3895,9 @@ export class TargetTemperature extends Characteristic {
3848
3895
  static UUID = '00000035-0000-1000-8000-0026BB765291';
3849
3896
  constructor() {
3850
3897
  super('Target Temperature', TargetTemperature.UUID, {
3851
- format: "float" /* Formats.FLOAT */,
3852
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3853
- unit: "celsius" /* Units.CELSIUS */,
3898
+ format: Formats.FLOAT,
3899
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3900
+ unit: Units.CELSIUS,
3854
3901
  minValue: 10,
3855
3902
  maxValue: 38,
3856
3903
  minStep: 0.1,
@@ -3866,9 +3913,9 @@ export class TargetTiltAngle extends Characteristic {
3866
3913
  static UUID = '000000C2-0000-1000-8000-0026BB765291';
3867
3914
  constructor() {
3868
3915
  super('Target Tilt Angle', TargetTiltAngle.UUID, {
3869
- format: "int" /* Formats.INT */,
3870
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3871
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
3916
+ format: Formats.INT,
3917
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3918
+ unit: Units.ARC_DEGREE,
3872
3919
  minValue: -90,
3873
3920
  maxValue: 90,
3874
3921
  minStep: 1,
@@ -3884,9 +3931,9 @@ export class TargetVerticalTiltAngle extends Characteristic {
3884
3931
  static UUID = '0000007D-0000-1000-8000-0026BB765291';
3885
3932
  constructor() {
3886
3933
  super('Target Vertical Tilt Angle', TargetVerticalTiltAngle.UUID, {
3887
- format: "int" /* Formats.INT */,
3888
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3889
- unit: "arcdegrees" /* Units.ARC_DEGREE */,
3934
+ format: Formats.INT,
3935
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
3936
+ unit: Units.ARC_DEGREE,
3890
3937
  minValue: -90,
3891
3938
  maxValue: 90,
3892
3939
  minStep: 1,
@@ -3904,8 +3951,8 @@ export class TargetVisibilityState extends Characteristic {
3904
3951
  static HIDDEN = 1;
3905
3952
  constructor() {
3906
3953
  super('Target Visibility State', TargetVisibilityState.UUID, {
3907
- format: "uint8" /* Formats.UINT8 */,
3908
- 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],
3909
3956
  minValue: 0,
3910
3957
  maxValue: 1,
3911
3958
  minStep: 1,
@@ -3924,8 +3971,8 @@ export class TemperatureDisplayUnits extends Characteristic {
3924
3971
  static FAHRENHEIT = 1;
3925
3972
  constructor() {
3926
3973
  super('Temperature Display Units', TemperatureDisplayUnits.UUID, {
3927
- format: "uint8" /* Formats.UINT8 */,
3928
- 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],
3929
3976
  minValue: 0,
3930
3977
  maxValue: 1,
3931
3978
  minStep: 1,
@@ -3944,8 +3991,8 @@ export class ThirdPartyCameraActive extends Characteristic {
3944
3991
  static ON = 1;
3945
3992
  constructor() {
3946
3993
  super('Third Party Camera Active', ThirdPartyCameraActive.UUID, {
3947
- format: "uint8" /* Formats.UINT8 */,
3948
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3994
+ format: Formats.UINT8,
3995
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
3949
3996
  minValue: 0,
3950
3997
  maxValue: 1,
3951
3998
  minStep: 1,
@@ -3955,6 +4002,40 @@ export class ThirdPartyCameraActive extends Characteristic {
3955
4002
  }
3956
4003
  }
3957
4004
  Characteristic.ThirdPartyCameraActive = ThirdPartyCameraActive;
4005
+ /**
4006
+ * Characteristic "Third Party Camera In Use"
4007
+ */
4008
+ export class ThirdPartyCameraInUse extends Characteristic {
4009
+ static UUID = '00000277-0000-1000-8000-0026BB765291';
4010
+ constructor() {
4011
+ super('Third Party Camera In Use', ThirdPartyCameraInUse.UUID, {
4012
+ format: Formats.UINT8,
4013
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4014
+ minValue: 0,
4015
+ maxValue: 1,
4016
+ minStep: 1,
4017
+ });
4018
+ this.value = this.getDefaultValue();
4019
+ }
4020
+ }
4021
+ Characteristic.ThirdPartyCameraInUse = ThirdPartyCameraInUse;
4022
+ /**
4023
+ * Characteristic "Third Party Ecosystem Enabled"
4024
+ */
4025
+ export class ThirdPartyEcosystemEnabled extends Characteristic {
4026
+ static UUID = '00000276-0000-1000-8000-0026BB765291';
4027
+ constructor() {
4028
+ super('Third Party Ecosystem Enabled', ThirdPartyEcosystemEnabled.UUID, {
4029
+ format: Formats.UINT8,
4030
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4031
+ minValue: 0,
4032
+ maxValue: 1,
4033
+ minStep: 1,
4034
+ });
4035
+ this.value = this.getDefaultValue();
4036
+ }
4037
+ }
4038
+ Characteristic.ThirdPartyEcosystemEnabled = ThirdPartyEcosystemEnabled;
3958
4039
  /**
3959
4040
  * Characteristic "Thread Control Point"
3960
4041
  */
@@ -3962,8 +4043,8 @@ export class ThreadControlPoint extends Characteristic {
3962
4043
  static UUID = '00000704-0000-1000-8000-0026BB765291';
3963
4044
  constructor() {
3964
4045
  super('Thread Control Point', ThreadControlPoint.UUID, {
3965
- format: "tlv8" /* Formats.TLV8 */,
3966
- perms: ["pw" /* Perms.PAIRED_WRITE */],
4046
+ format: Formats.TLV8,
4047
+ perms: [Perms.PAIRED_WRITE],
3967
4048
  });
3968
4049
  this.value = this.getDefaultValue();
3969
4050
  }
@@ -3976,8 +4057,8 @@ export class ThreadNodeCapabilities extends Characteristic {
3976
4057
  static UUID = '00000702-0000-1000-8000-0026BB765291';
3977
4058
  constructor() {
3978
4059
  super('Thread Node Capabilities', ThreadNodeCapabilities.UUID, {
3979
- format: "uint16" /* Formats.UINT16 */,
3980
- perms: ["pr" /* Perms.PAIRED_READ */],
4060
+ format: Formats.UINT16,
4061
+ perms: [Perms.PAIRED_READ],
3981
4062
  minValue: 0,
3982
4063
  maxValue: 31,
3983
4064
  minStep: 1,
@@ -3993,8 +4074,8 @@ export class ThreadOpenThreadVersion extends Characteristic {
3993
4074
  static UUID = '00000706-0000-1000-8000-0026BB765291';
3994
4075
  constructor() {
3995
4076
  super('Thread OpenThread Version', ThreadOpenThreadVersion.UUID, {
3996
- format: "string" /* Formats.STRING */,
3997
- perms: ["pr" /* Perms.PAIRED_READ */],
4077
+ format: Formats.STRING,
4078
+ perms: [Perms.PAIRED_READ],
3998
4079
  });
3999
4080
  this.value = this.getDefaultValue();
4000
4081
  }
@@ -4007,8 +4088,8 @@ export class ThreadStatus extends Characteristic {
4007
4088
  static UUID = '00000703-0000-1000-8000-0026BB765291';
4008
4089
  constructor() {
4009
4090
  super('Thread Status', ThreadStatus.UUID, {
4010
- format: "uint16" /* Formats.UINT16 */,
4011
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4091
+ format: Formats.UINT16,
4092
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4012
4093
  minValue: 0,
4013
4094
  maxValue: 6,
4014
4095
  minStep: 1,
@@ -4025,8 +4106,8 @@ export class Token extends Characteristic {
4025
4106
  static UUID = '00000231-0000-1000-8000-0026BB765291';
4026
4107
  constructor() {
4027
4108
  super('Token', Token.UUID, {
4028
- format: "data" /* Formats.DATA */,
4029
- perms: ["pw" /* Perms.PAIRED_WRITE */],
4109
+ format: Formats.DATA,
4110
+ perms: [Perms.PAIRED_WRITE],
4030
4111
  });
4031
4112
  this.value = this.getDefaultValue();
4032
4113
  }
@@ -4041,8 +4122,8 @@ export class TransmitPower extends Characteristic {
4041
4122
  static UUID = '00000242-0000-1000-8000-0026BB765291';
4042
4123
  constructor() {
4043
4124
  super('Transmit Power', TransmitPower.UUID, {
4044
- format: "int" /* Formats.INT */,
4045
- perms: ["pr" /* Perms.PAIRED_READ */],
4125
+ format: Formats.INT,
4126
+ perms: [Perms.PAIRED_READ],
4046
4127
  });
4047
4128
  this.value = this.getDefaultValue();
4048
4129
  }
@@ -4056,8 +4137,8 @@ export class TunnelConnectionTimeout extends Characteristic {
4056
4137
  static UUID = '00000061-0000-1000-8000-0026BB765291';
4057
4138
  constructor() {
4058
4139
  super('Tunnel Connection Timeout', TunnelConnectionTimeout.UUID, {
4059
- format: "int" /* Formats.INT */,
4060
- 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],
4061
4142
  });
4062
4143
  this.value = this.getDefaultValue();
4063
4144
  }
@@ -4072,8 +4153,8 @@ export class TunneledAccessoryAdvertising extends Characteristic {
4072
4153
  static UUID = '00000060-0000-1000-8000-0026BB765291';
4073
4154
  constructor() {
4074
4155
  super('Tunneled Accessory Advertising', TunneledAccessoryAdvertising.UUID, {
4075
- format: "bool" /* Formats.BOOL */,
4076
- 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],
4077
4158
  });
4078
4159
  this.value = this.getDefaultValue();
4079
4160
  }
@@ -4088,8 +4169,8 @@ export class TunneledAccessoryConnected extends Characteristic {
4088
4169
  static UUID = '00000059-0000-1000-8000-0026BB765291';
4089
4170
  constructor() {
4090
4171
  super('Tunneled Accessory Connected', TunneledAccessoryConnected.UUID, {
4091
- format: "bool" /* Formats.BOOL */,
4092
- 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],
4093
4174
  });
4094
4175
  this.value = this.getDefaultValue();
4095
4176
  }
@@ -4104,8 +4185,8 @@ export class TunneledAccessoryStateNumber extends Characteristic {
4104
4185
  static UUID = '00000058-0000-1000-8000-0026BB765291';
4105
4186
  constructor() {
4106
4187
  super('Tunneled Accessory State Number', TunneledAccessoryStateNumber.UUID, {
4107
- format: "int" /* Formats.INT */,
4108
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4188
+ format: Formats.INT,
4189
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4109
4190
  });
4110
4191
  this.value = this.getDefaultValue();
4111
4192
  }
@@ -4123,8 +4204,8 @@ export class ValveType extends Characteristic {
4123
4204
  static WATER_FAUCET = 3;
4124
4205
  constructor() {
4125
4206
  super('Valve Type', ValveType.UUID, {
4126
- format: "uint8" /* Formats.UINT8 */,
4127
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4207
+ format: Formats.UINT8,
4208
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4128
4209
  minValue: 0,
4129
4210
  maxValue: 3,
4130
4211
  minStep: 1,
@@ -4141,8 +4222,8 @@ export class Version extends Characteristic {
4141
4222
  static UUID = '00000037-0000-1000-8000-0026BB765291';
4142
4223
  constructor() {
4143
4224
  super('Version', Version.UUID, {
4144
- format: "string" /* Formats.STRING */,
4145
- perms: ["pr" /* Perms.PAIRED_READ */],
4225
+ format: Formats.STRING,
4226
+ perms: [Perms.PAIRED_READ],
4146
4227
  maxLen: 64,
4147
4228
  });
4148
4229
  this.value = this.getDefaultValue();
@@ -4157,8 +4238,8 @@ export class VideoAnalysisActive extends Characteristic {
4157
4238
  static UUID = '00000229-0000-1000-8000-0026BB765291';
4158
4239
  constructor() {
4159
4240
  super('Video Analysis Active', VideoAnalysisActive.UUID, {
4160
- format: "uint8" /* Formats.UINT8 */,
4161
- 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],
4162
4243
  });
4163
4244
  this.value = this.getDefaultValue();
4164
4245
  }
@@ -4171,8 +4252,8 @@ export class VOCDensity extends Characteristic {
4171
4252
  static UUID = '000000C8-0000-1000-8000-0026BB765291';
4172
4253
  constructor() {
4173
4254
  super('VOC Density', VOCDensity.UUID, {
4174
- format: "float" /* Formats.FLOAT */,
4175
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4255
+ format: Formats.FLOAT,
4256
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4176
4257
  minValue: 0,
4177
4258
  maxValue: 1000,
4178
4259
  minStep: 1,
@@ -4188,9 +4269,9 @@ export class Volume extends Characteristic {
4188
4269
  static UUID = '00000119-0000-1000-8000-0026BB765291';
4189
4270
  constructor() {
4190
4271
  super('Volume', Volume.UUID, {
4191
- format: "uint8" /* Formats.UINT8 */,
4192
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4193
- unit: "percentage" /* Units.PERCENTAGE */,
4272
+ format: Formats.UINT8,
4273
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
4274
+ unit: Units.PERCENTAGE,
4194
4275
  minValue: 0,
4195
4276
  maxValue: 100,
4196
4277
  minStep: 1,
@@ -4210,8 +4291,8 @@ export class VolumeControlType extends Characteristic {
4210
4291
  static ABSOLUTE = 3;
4211
4292
  constructor() {
4212
4293
  super('Volume Control Type', VolumeControlType.UUID, {
4213
- format: "uint8" /* Formats.UINT8 */,
4214
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4294
+ format: Formats.UINT8,
4295
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4215
4296
  minValue: 0,
4216
4297
  maxValue: 3,
4217
4298
  minStep: 1,
@@ -4230,8 +4311,8 @@ export class VolumeSelector extends Characteristic {
4230
4311
  static DECREMENT = 1;
4231
4312
  constructor() {
4232
4313
  super('Volume Selector', VolumeSelector.UUID, {
4233
- format: "uint8" /* Formats.UINT8 */,
4234
- perms: ["pw" /* Perms.PAIRED_WRITE */],
4314
+ format: Formats.UINT8,
4315
+ perms: [Perms.PAIRED_WRITE],
4235
4316
  minValue: 0,
4236
4317
  maxValue: 1,
4237
4318
  minStep: 1,
@@ -4249,8 +4330,8 @@ export class WakeConfiguration extends Characteristic {
4249
4330
  static UUID = '00000222-0000-1000-8000-0026BB765291';
4250
4331
  constructor() {
4251
4332
  super('Wake Configuration', WakeConfiguration.UUID, {
4252
- format: "tlv8" /* Formats.TLV8 */,
4253
- perms: ["pr" /* Perms.PAIRED_READ */],
4333
+ format: Formats.TLV8,
4334
+ perms: [Perms.PAIRED_READ],
4254
4335
  });
4255
4336
  this.value = this.getDefaultValue();
4256
4337
  }
@@ -4263,8 +4344,8 @@ export class WANConfigurationList extends Characteristic {
4263
4344
  static UUID = '00000211-0000-1000-8000-0026BB765291';
4264
4345
  constructor() {
4265
4346
  super('WAN Configuration List', WANConfigurationList.UUID, {
4266
- format: "tlv8" /* Formats.TLV8 */,
4267
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4347
+ format: Formats.TLV8,
4348
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4268
4349
  });
4269
4350
  this.value = this.getDefaultValue();
4270
4351
  }
@@ -4277,8 +4358,8 @@ export class WANStatusList extends Characteristic {
4277
4358
  static UUID = '00000212-0000-1000-8000-0026BB765291';
4278
4359
  constructor() {
4279
4360
  super('WAN Status List', WANStatusList.UUID, {
4280
- format: "tlv8" /* Formats.TLV8 */,
4281
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4361
+ format: Formats.TLV8,
4362
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4282
4363
  });
4283
4364
  this.value = this.getDefaultValue();
4284
4365
  }
@@ -4291,9 +4372,9 @@ export class WaterLevel extends Characteristic {
4291
4372
  static UUID = '000000B5-0000-1000-8000-0026BB765291';
4292
4373
  constructor() {
4293
4374
  super('Water Level', WaterLevel.UUID, {
4294
- format: "float" /* Formats.FLOAT */,
4295
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4296
- unit: "percentage" /* Units.PERCENTAGE */,
4375
+ format: Formats.FLOAT,
4376
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4377
+ unit: Units.PERCENTAGE,
4297
4378
  minValue: 0,
4298
4379
  maxValue: 100,
4299
4380
  minStep: 1,
@@ -4310,8 +4391,8 @@ export class WiFiCapabilities extends Characteristic {
4310
4391
  static UUID = '0000022C-0000-1000-8000-0026BB765291';
4311
4392
  constructor() {
4312
4393
  super('Wi-Fi Capabilities', WiFiCapabilities.UUID, {
4313
- format: "uint32" /* Formats.UINT32 */,
4314
- perms: ["pr" /* Perms.PAIRED_READ */],
4394
+ format: Formats.UINT32,
4395
+ perms: [Perms.PAIRED_READ],
4315
4396
  });
4316
4397
  this.value = this.getDefaultValue();
4317
4398
  }
@@ -4325,13 +4406,13 @@ export class WiFiConfigurationControl extends Characteristic {
4325
4406
  static UUID = '0000022D-0000-1000-8000-0026BB765291';
4326
4407
  constructor() {
4327
4408
  super('Wi-Fi Configuration Control', WiFiConfigurationControl.UUID, {
4328
- format: "tlv8" /* Formats.TLV8 */,
4409
+ format: Formats.TLV8,
4329
4410
  perms: [
4330
- "ev" /* Perms.NOTIFY */,
4331
- "pr" /* Perms.PAIRED_READ */,
4332
- "pw" /* Perms.PAIRED_WRITE */,
4333
- "tw" /* Perms.TIMED_WRITE */,
4334
- "wr" /* Perms.WRITE_RESPONSE */,
4411
+ Perms.NOTIFY,
4412
+ Perms.PAIRED_READ,
4413
+ Perms.PAIRED_WRITE,
4414
+ Perms.TIMED_WRITE,
4415
+ Perms.WRITE_RESPONSE,
4335
4416
  ],
4336
4417
  });
4337
4418
  this.value = this.getDefaultValue();
@@ -4348,8 +4429,8 @@ export class WiFiSatelliteStatus extends Characteristic {
4348
4429
  static NOT_CONNECTED = 2;
4349
4430
  constructor() {
4350
4431
  super('Wi-Fi Satellite Status', WiFiSatelliteStatus.UUID, {
4351
- format: "uint8" /* Formats.UINT8 */,
4352
- perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4432
+ format: Formats.UINT8,
4433
+ perms: [Perms.NOTIFY, Perms.PAIRED_READ],
4353
4434
  minValue: 0,
4354
4435
  maxValue: 2,
4355
4436
  validValues: [0, 1, 2],