hap-nodejs 0.11.0-beta.12 → 0.11.0-beta.14

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 (221) hide show
  1. package/dist/BridgedCore.js +4 -4
  2. package/dist/BridgedCore.js.map +1 -1
  3. package/dist/Core.js +2 -2
  4. package/dist/Core.js.map +1 -1
  5. package/dist/accessories/AirConditioner_accessory.js +18 -18
  6. package/dist/accessories/AirConditioner_accessory.js.map +1 -1
  7. package/dist/accessories/AppleTVRemote_accessory.js +6 -6
  8. package/dist/accessories/AppleTVRemote_accessory.js.map +1 -1
  9. package/dist/accessories/Camera_accessory.js +96 -87
  10. package/dist/accessories/Camera_accessory.js.map +1 -1
  11. package/dist/accessories/Fan_accessory.js +6 -6
  12. package/dist/accessories/Fan_accessory.js.map +1 -1
  13. package/dist/accessories/GarageDoorOpener_accessory.js +4 -4
  14. package/dist/accessories/GarageDoorOpener_accessory.js.map +1 -1
  15. package/dist/accessories/Light-AdaptiveLighting_accessory.js +2 -2
  16. package/dist/accessories/Light-AdaptiveLighting_accessory.js.map +1 -1
  17. package/dist/accessories/Light_accessory.js +10 -10
  18. package/dist/accessories/Light_accessory.js.map +1 -1
  19. package/dist/accessories/Lock_accessory.js +4 -4
  20. package/dist/accessories/Lock_accessory.js.map +1 -1
  21. package/dist/accessories/MotionSensor_accessory.js +3 -3
  22. package/dist/accessories/MotionSensor_accessory.js.map +1 -1
  23. package/dist/accessories/Outlet_accessory.js +4 -4
  24. package/dist/accessories/Outlet_accessory.js.map +1 -1
  25. package/dist/accessories/SmartSpeaker_accessory.js +5 -5
  26. package/dist/accessories/SmartSpeaker_accessory.js.map +1 -1
  27. package/dist/accessories/Sprinkler_accessory.js +7 -7
  28. package/dist/accessories/Sprinkler_accessory.js.map +1 -1
  29. package/dist/accessories/TV_accessory.js +9 -9
  30. package/dist/accessories/TV_accessory.js.map +1 -1
  31. package/dist/accessories/TemperatureSensor_accessory.js +2 -2
  32. package/dist/accessories/TemperatureSensor_accessory.js.map +1 -1
  33. package/dist/accessories/Wi-FiRouter_accessory.js +2 -2
  34. package/dist/accessories/Wi-FiRouter_accessory.js.map +1 -1
  35. package/dist/accessories/Wi-FiSatellite_accessory.js +2 -2
  36. package/dist/accessories/Wi-FiSatellite_accessory.js.map +1 -1
  37. package/dist/accessories/gstreamer-audioProducer.d.ts +2 -2
  38. package/dist/accessories/gstreamer-audioProducer.d.ts.map +1 -1
  39. package/dist/accessories/gstreamer-audioProducer.js +20 -20
  40. package/dist/accessories/gstreamer-audioProducer.js.map +1 -1
  41. package/dist/index.d.ts +30 -6
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +39 -25
  44. package/dist/index.js.map +1 -1
  45. package/dist/internal-types.d.ts +20 -125
  46. package/dist/internal-types.d.ts.map +1 -1
  47. package/dist/internal-types.js +15 -5
  48. package/dist/internal-types.js.map +1 -1
  49. package/dist/lib/Accessory.d.ts +73 -14
  50. package/dist/lib/Accessory.d.ts.map +1 -1
  51. package/dist/lib/Accessory.js +168 -148
  52. package/dist/lib/Accessory.js.map +1 -1
  53. package/dist/lib/AccessoryLoader.d.ts +12 -0
  54. package/dist/lib/AccessoryLoader.d.ts.map +1 -1
  55. package/dist/lib/AccessoryLoader.js +18 -6
  56. package/dist/lib/AccessoryLoader.js.map +1 -1
  57. package/dist/lib/Advertiser.d.ts +26 -0
  58. package/dist/lib/Advertiser.d.ts.map +1 -1
  59. package/dist/lib/Advertiser.js +59 -39
  60. package/dist/lib/Advertiser.js.map +1 -1
  61. package/dist/lib/Bridge.d.ts +2 -0
  62. package/dist/lib/Bridge.d.ts.map +1 -1
  63. package/dist/lib/Bridge.js +3 -1
  64. package/dist/lib/Bridge.js.map +1 -1
  65. package/dist/lib/Characteristic.d.ts +818 -13
  66. package/dist/lib/Characteristic.d.ts.map +1 -1
  67. package/dist/lib/Characteristic.js +155 -127
  68. package/dist/lib/Characteristic.js.map +1 -1
  69. package/dist/lib/HAPServer.d.ts +72 -18
  70. package/dist/lib/HAPServer.d.ts.map +1 -1
  71. package/dist/lib/HAPServer.js +178 -160
  72. package/dist/lib/HAPServer.js.map +1 -1
  73. package/dist/lib/Service.d.ts +266 -14
  74. package/dist/lib/Service.d.ts.map +1 -1
  75. package/dist/lib/Service.js +36 -35
  76. package/dist/lib/Service.js.map +1 -1
  77. package/dist/lib/camera/Camera.d.ts +13 -4
  78. package/dist/lib/camera/Camera.d.ts.map +1 -1
  79. package/dist/lib/camera/Camera.js +3 -0
  80. package/dist/lib/camera/Camera.js.map +1 -1
  81. package/dist/lib/camera/RTPProxy.d.ts +5 -0
  82. package/dist/lib/camera/RTPProxy.d.ts.map +1 -1
  83. package/dist/lib/camera/RTPProxy.js +2 -1
  84. package/dist/lib/camera/RTPProxy.js.map +1 -1
  85. package/dist/lib/camera/RTPStreamManagement.d.ts +154 -31
  86. package/dist/lib/camera/RTPStreamManagement.d.ts.map +1 -1
  87. package/dist/lib/camera/RTPStreamManagement.js +198 -161
  88. package/dist/lib/camera/RTPStreamManagement.js.map +1 -1
  89. package/dist/lib/camera/RecordingManagement.d.ts +61 -11
  90. package/dist/lib/camera/RecordingManagement.d.ts.map +1 -1
  91. package/dist/lib/camera/RecordingManagement.js +171 -138
  92. package/dist/lib/camera/RecordingManagement.js.map +1 -1
  93. package/dist/lib/camera/index.js +4 -4
  94. package/dist/lib/camera/index.js.map +1 -1
  95. package/dist/lib/controller/AdaptiveLightingController.d.ts +28 -2
  96. package/dist/lib/controller/AdaptiveLightingController.d.ts.map +1 -1
  97. package/dist/lib/controller/AdaptiveLightingController.js +72 -65
  98. package/dist/lib/controller/AdaptiveLightingController.js.map +1 -1
  99. package/dist/lib/controller/CameraController.d.ts +44 -13
  100. package/dist/lib/controller/CameraController.d.ts.map +1 -1
  101. package/dist/lib/controller/CameraController.js +42 -34
  102. package/dist/lib/controller/CameraController.js.map +1 -1
  103. package/dist/lib/controller/Controller.d.ts +28 -7
  104. package/dist/lib/controller/Controller.d.ts.map +1 -1
  105. package/dist/lib/controller/Controller.js +7 -0
  106. package/dist/lib/controller/Controller.js.map +1 -1
  107. package/dist/lib/controller/DoorbellController.d.ts +5 -1
  108. package/dist/lib/controller/DoorbellController.d.ts.map +1 -1
  109. package/dist/lib/controller/DoorbellController.js +5 -3
  110. package/dist/lib/controller/DoorbellController.js.map +1 -1
  111. package/dist/lib/controller/RemoteController.d.ts +108 -39
  112. package/dist/lib/controller/RemoteController.d.ts.map +1 -1
  113. package/dist/lib/controller/RemoteController.js +190 -175
  114. package/dist/lib/controller/RemoteController.js.map +1 -1
  115. package/dist/lib/controller/index.js +5 -5
  116. package/dist/lib/controller/index.js.map +1 -1
  117. package/dist/lib/datastream/DataStreamManagement.d.ts +25 -19
  118. package/dist/lib/datastream/DataStreamManagement.d.ts.map +1 -1
  119. package/dist/lib/datastream/DataStreamManagement.js +36 -30
  120. package/dist/lib/datastream/DataStreamManagement.js.map +1 -1
  121. package/dist/lib/datastream/DataStreamParser.d.ts +39 -0
  122. package/dist/lib/datastream/DataStreamParser.d.ts.map +1 -1
  123. package/dist/lib/datastream/DataStreamParser.js +125 -88
  124. package/dist/lib/datastream/DataStreamParser.js.map +1 -1
  125. package/dist/lib/datastream/DataStreamServer.d.ts +121 -46
  126. package/dist/lib/datastream/DataStreamServer.d.ts.map +1 -1
  127. package/dist/lib/datastream/DataStreamServer.js +134 -100
  128. package/dist/lib/datastream/DataStreamServer.js.map +1 -1
  129. package/dist/lib/datastream/index.js +3 -3
  130. package/dist/lib/datastream/index.js.map +1 -1
  131. package/dist/lib/definitions/CharacteristicDefinitions.js +799 -799
  132. package/dist/lib/definitions/CharacteristicDefinitions.js.map +1 -1
  133. package/dist/lib/definitions/ServiceDefinitions.js +77 -77
  134. package/dist/lib/definitions/ServiceDefinitions.js.map +1 -1
  135. package/dist/lib/definitions/generate-definitions.js +60 -59
  136. package/dist/lib/definitions/generate-definitions.js.map +1 -1
  137. package/dist/lib/definitions/generator-configuration.js +15 -15
  138. package/dist/lib/definitions/generator-configuration.js.map +1 -1
  139. package/dist/lib/definitions/index.js +2 -2
  140. package/dist/lib/definitions/index.js.map +1 -1
  141. package/dist/lib/model/AccessoryInfo.d.ts +10 -4
  142. package/dist/lib/model/AccessoryInfo.d.ts.map +1 -1
  143. package/dist/lib/model/AccessoryInfo.js +21 -17
  144. package/dist/lib/model/AccessoryInfo.js.map +1 -1
  145. package/dist/lib/model/ControllerStorage.d.ts +3 -0
  146. package/dist/lib/model/ControllerStorage.d.ts.map +1 -1
  147. package/dist/lib/model/ControllerStorage.js +8 -5
  148. package/dist/lib/model/ControllerStorage.js.map +1 -1
  149. package/dist/lib/model/HAPStorage.d.ts +3 -0
  150. package/dist/lib/model/HAPStorage.d.ts.map +1 -1
  151. package/dist/lib/model/HAPStorage.js +4 -1
  152. package/dist/lib/model/HAPStorage.js.map +1 -1
  153. package/dist/lib/model/IdentifierCache.d.ts +1 -0
  154. package/dist/lib/model/IdentifierCache.d.ts.map +1 -1
  155. package/dist/lib/model/IdentifierCache.js +3 -2
  156. package/dist/lib/model/IdentifierCache.js.map +1 -1
  157. package/dist/lib/tv/AccessControlManagement.d.ts +11 -0
  158. package/dist/lib/tv/AccessControlManagement.d.ts.map +1 -1
  159. package/dist/lib/tv/AccessControlManagement.js +15 -7
  160. package/dist/lib/tv/AccessControlManagement.js.map +1 -1
  161. package/dist/lib/util/clone.d.ts +2 -1
  162. package/dist/lib/util/clone.d.ts.map +1 -1
  163. package/dist/lib/util/clone.js +5 -4
  164. package/dist/lib/util/clone.js.map +1 -1
  165. package/dist/lib/util/color-utils.d.ts +3 -0
  166. package/dist/lib/util/color-utils.d.ts.map +1 -1
  167. package/dist/lib/util/color-utils.js +4 -1
  168. package/dist/lib/util/color-utils.js.map +1 -1
  169. package/dist/lib/util/eventedhttp.d.ts +34 -5
  170. package/dist/lib/util/eventedhttp.d.ts.map +1 -1
  171. package/dist/lib/util/eventedhttp.js +62 -51
  172. package/dist/lib/util/eventedhttp.js.map +1 -1
  173. package/dist/lib/util/hapCrypto.d.ts +27 -0
  174. package/dist/lib/util/hapCrypto.d.ts.map +1 -1
  175. package/dist/lib/util/hapCrypto.js +28 -4
  176. package/dist/lib/util/hapCrypto.js.map +1 -1
  177. package/dist/lib/util/hapStatusError.d.ts +2 -0
  178. package/dist/lib/util/hapStatusError.d.ts.map +1 -1
  179. package/dist/lib/util/hapStatusError.js +4 -2
  180. package/dist/lib/util/hapStatusError.js.map +1 -1
  181. package/dist/lib/util/net-utils.d.ts +7 -0
  182. package/dist/lib/util/net-utils.d.ts.map +1 -1
  183. package/dist/lib/util/net-utils.js +11 -4
  184. package/dist/lib/util/net-utils.js.map +1 -1
  185. package/dist/lib/util/once.d.ts +5 -0
  186. package/dist/lib/util/once.d.ts.map +1 -1
  187. package/dist/lib/util/once.js +6 -1
  188. package/dist/lib/util/once.js.map +1 -1
  189. package/dist/lib/util/promise-utils.d.ts +9 -0
  190. package/dist/lib/util/promise-utils.d.ts.map +1 -1
  191. package/dist/lib/util/promise-utils.js +3 -0
  192. package/dist/lib/util/promise-utils.js.map +1 -1
  193. package/dist/lib/util/request-util.d.ts +16 -0
  194. package/dist/lib/util/request-util.d.ts.map +1 -1
  195. package/dist/lib/util/request-util.js +42 -27
  196. package/dist/lib/util/request-util.js.map +1 -1
  197. package/dist/lib/util/time.d.ts +6 -0
  198. package/dist/lib/util/time.d.ts.map +1 -1
  199. package/dist/lib/util/time.js +7 -1
  200. package/dist/lib/util/time.js.map +1 -1
  201. package/dist/lib/util/tlv.d.ts +33 -2
  202. package/dist/lib/util/tlv.d.ts.map +1 -1
  203. package/dist/lib/util/tlv.js +29 -5
  204. package/dist/lib/util/tlv.js.map +1 -1
  205. package/dist/lib/util/uuid.d.ts +2 -3
  206. package/dist/lib/util/uuid.d.ts.map +1 -1
  207. package/dist/lib/util/uuid.js +1 -1
  208. package/dist/lib/util/uuid.js.map +1 -1
  209. package/dist/types.d.ts +267 -19
  210. package/dist/types.d.ts.map +1 -1
  211. package/dist/types.js +8 -0
  212. package/dist/types.js.map +1 -1
  213. package/package.json +5 -4
  214. package/dist/lib/util/HAPHTTPError.d.ts +0 -16
  215. package/dist/lib/util/HAPHTTPError.d.ts.map +0 -1
  216. package/dist/lib/util/HAPHTTPError.js +0 -26
  217. package/dist/lib/util/HAPHTTPError.js.map +0 -1
  218. package/dist/lib/util/tlvError.d.ts +0 -14
  219. package/dist/lib/util/tlvError.d.ts.map +0 -1
  220. package/dist/lib/util/tlvError.js +0 -24
  221. package/dist/lib/util/tlvError.js.map +0 -1
@@ -15,11 +15,11 @@ var Characteristic_1 = require("../Characteristic");
15
15
  * @since iOS 15
16
16
  */
17
17
  var AccessCodeControlPoint = /** @class */ (function (_super) {
18
- (0, tslib_1.__extends)(AccessCodeControlPoint, _super);
18
+ tslib_1.__extends(AccessCodeControlPoint, _super);
19
19
  function AccessCodeControlPoint() {
20
20
  var _this = _super.call(this, "Access Code Control Point", AccessCodeControlPoint.UUID, {
21
- format: "tlv8" /* TLV8 */,
22
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "wr" /* WRITE_RESPONSE */],
21
+ format: "tlv8" /* Formats.TLV8 */,
22
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
23
23
  }) || this;
24
24
  _this.value = _this.getDefaultValue();
25
25
  return _this;
@@ -34,11 +34,11 @@ Characteristic_1.Characteristic.AccessCodeControlPoint = AccessCodeControlPoint;
34
34
  * @since iOS 15
35
35
  */
36
36
  var AccessCodeSupportedConfiguration = /** @class */ (function (_super) {
37
- (0, tslib_1.__extends)(AccessCodeSupportedConfiguration, _super);
37
+ tslib_1.__extends(AccessCodeSupportedConfiguration, _super);
38
38
  function AccessCodeSupportedConfiguration() {
39
39
  var _this = _super.call(this, "Access Code Supported Configuration", AccessCodeSupportedConfiguration.UUID, {
40
- format: "tlv8" /* TLV8 */,
41
- perms: ["pr" /* PAIRED_READ */],
40
+ format: "tlv8" /* Formats.TLV8 */,
41
+ perms: ["pr" /* Perms.PAIRED_READ */],
42
42
  }) || this;
43
43
  _this.value = _this.getDefaultValue();
44
44
  return _this;
@@ -52,11 +52,11 @@ Characteristic_1.Characteristic.AccessCodeSupportedConfiguration = AccessCodeSup
52
52
  * Characteristic "Access Control Level"
53
53
  */
54
54
  var AccessControlLevel = /** @class */ (function (_super) {
55
- (0, tslib_1.__extends)(AccessControlLevel, _super);
55
+ tslib_1.__extends(AccessControlLevel, _super);
56
56
  function AccessControlLevel() {
57
57
  var _this = _super.call(this, "Access Control Level", AccessControlLevel.UUID, {
58
- format: "uint16" /* UINT16 */,
59
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
58
+ format: "uint16" /* Formats.UINT16 */,
59
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
60
60
  minValue: 0,
61
61
  maxValue: 2,
62
62
  minStep: 1,
@@ -73,11 +73,11 @@ Characteristic_1.Characteristic.AccessControlLevel = AccessControlLevel;
73
73
  * Characteristic "Accessory Flags"
74
74
  */
75
75
  var AccessoryFlags = /** @class */ (function (_super) {
76
- (0, tslib_1.__extends)(AccessoryFlags, _super);
76
+ tslib_1.__extends(AccessoryFlags, _super);
77
77
  function AccessoryFlags() {
78
78
  var _this = _super.call(this, "Accessory Flags", AccessoryFlags.UUID, {
79
- format: "uint32" /* UINT32 */,
80
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
79
+ format: "uint32" /* Formats.UINT32 */,
80
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
81
81
  }) || this;
82
82
  _this.value = _this.getDefaultValue();
83
83
  return _this;
@@ -92,11 +92,11 @@ Characteristic_1.Characteristic.AccessoryFlags = AccessoryFlags;
92
92
  * Characteristic "Accessory Identifier"
93
93
  */
94
94
  var AccessoryIdentifier = /** @class */ (function (_super) {
95
- (0, tslib_1.__extends)(AccessoryIdentifier, _super);
95
+ tslib_1.__extends(AccessoryIdentifier, _super);
96
96
  function AccessoryIdentifier() {
97
97
  var _this = _super.call(this, "Accessory Identifier", AccessoryIdentifier.UUID, {
98
- format: "string" /* STRING */,
99
- perms: ["pr" /* PAIRED_READ */],
98
+ format: "string" /* Formats.STRING */,
99
+ perms: ["pr" /* Perms.PAIRED_READ */],
100
100
  }) || this;
101
101
  _this.value = _this.getDefaultValue();
102
102
  return _this;
@@ -110,11 +110,11 @@ Characteristic_1.Characteristic.AccessoryIdentifier = AccessoryIdentifier;
110
110
  * Characteristic "Active"
111
111
  */
112
112
  var Active = /** @class */ (function (_super) {
113
- (0, tslib_1.__extends)(Active, _super);
113
+ tslib_1.__extends(Active, _super);
114
114
  function Active() {
115
115
  var _this = _super.call(this, "Active", Active.UUID, {
116
- format: "uint8" /* UINT8 */,
117
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
116
+ format: "uint8" /* Formats.UINT8 */,
117
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
118
118
  minValue: 0,
119
119
  maxValue: 1,
120
120
  minStep: 1,
@@ -134,11 +134,11 @@ Characteristic_1.Characteristic.Active = Active;
134
134
  * Characteristic "Active Identifier"
135
135
  */
136
136
  var ActiveIdentifier = /** @class */ (function (_super) {
137
- (0, tslib_1.__extends)(ActiveIdentifier, _super);
137
+ tslib_1.__extends(ActiveIdentifier, _super);
138
138
  function ActiveIdentifier() {
139
139
  var _this = _super.call(this, "Active Identifier", ActiveIdentifier.UUID, {
140
- format: "uint32" /* UINT32 */,
141
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
140
+ format: "uint32" /* Formats.UINT32 */,
141
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
142
142
  }) || this;
143
143
  _this.value = _this.getDefaultValue();
144
144
  return _this;
@@ -153,11 +153,11 @@ Characteristic_1.Characteristic.ActiveIdentifier = ActiveIdentifier;
153
153
  * @since iOS 14
154
154
  */
155
155
  var ActivityInterval = /** @class */ (function (_super) {
156
- (0, tslib_1.__extends)(ActivityInterval, _super);
156
+ tslib_1.__extends(ActivityInterval, _super);
157
157
  function ActivityInterval() {
158
158
  var _this = _super.call(this, "Activity Interval", ActivityInterval.UUID, {
159
- format: "uint32" /* UINT32 */,
160
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
159
+ format: "uint32" /* Formats.UINT32 */,
160
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
161
161
  minValue: 0,
162
162
  minStep: 1,
163
163
  }) || this;
@@ -173,11 +173,11 @@ Characteristic_1.Characteristic.ActivityInterval = ActivityInterval;
173
173
  * Characteristic "Administrator Only Access"
174
174
  */
175
175
  var AdministratorOnlyAccess = /** @class */ (function (_super) {
176
- (0, tslib_1.__extends)(AdministratorOnlyAccess, _super);
176
+ tslib_1.__extends(AdministratorOnlyAccess, _super);
177
177
  function AdministratorOnlyAccess() {
178
178
  var _this = _super.call(this, "Administrator Only Access", AdministratorOnlyAccess.UUID, {
179
- format: "bool" /* BOOL */,
180
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
179
+ format: "bool" /* Formats.BOOL */,
180
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
181
181
  }) || this;
182
182
  _this.value = _this.getDefaultValue();
183
183
  return _this;
@@ -191,11 +191,11 @@ Characteristic_1.Characteristic.AdministratorOnlyAccess = AdministratorOnlyAcces
191
191
  * Characteristic "Air Particulate Density"
192
192
  */
193
193
  var AirParticulateDensity = /** @class */ (function (_super) {
194
- (0, tslib_1.__extends)(AirParticulateDensity, _super);
194
+ tslib_1.__extends(AirParticulateDensity, _super);
195
195
  function AirParticulateDensity() {
196
196
  var _this = _super.call(this, "Air Particulate Density", AirParticulateDensity.UUID, {
197
- format: "float" /* FLOAT */,
198
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
197
+ format: "float" /* Formats.FLOAT */,
198
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
199
199
  minValue: 0,
200
200
  maxValue: 1000,
201
201
  }) || this;
@@ -211,11 +211,11 @@ Characteristic_1.Characteristic.AirParticulateDensity = AirParticulateDensity;
211
211
  * Characteristic "Air Particulate Size"
212
212
  */
213
213
  var AirParticulateSize = /** @class */ (function (_super) {
214
- (0, tslib_1.__extends)(AirParticulateSize, _super);
214
+ tslib_1.__extends(AirParticulateSize, _super);
215
215
  function AirParticulateSize() {
216
216
  var _this = _super.call(this, "Air Particulate Size", AirParticulateSize.UUID, {
217
- format: "uint8" /* UINT8 */,
218
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
217
+ format: "uint8" /* Formats.UINT8 */,
218
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
219
219
  minValue: 0,
220
220
  maxValue: 1,
221
221
  minStep: 1,
@@ -235,11 +235,11 @@ Characteristic_1.Characteristic.AirParticulateSize = AirParticulateSize;
235
235
  * Characteristic "AirPlay Enable"
236
236
  */
237
237
  var AirPlayEnable = /** @class */ (function (_super) {
238
- (0, tslib_1.__extends)(AirPlayEnable, _super);
238
+ tslib_1.__extends(AirPlayEnable, _super);
239
239
  function AirPlayEnable() {
240
240
  var _this = _super.call(this, "AirPlay Enable", AirPlayEnable.UUID, {
241
- format: "uint8" /* UINT8 */,
242
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
241
+ format: "uint8" /* Formats.UINT8 */,
242
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
243
243
  minValue: 0,
244
244
  maxValue: 1,
245
245
  }) || this;
@@ -255,11 +255,11 @@ Characteristic_1.Characteristic.AirPlayEnable = AirPlayEnable;
255
255
  * Characteristic "Air Quality"
256
256
  */
257
257
  var AirQuality = /** @class */ (function (_super) {
258
- (0, tslib_1.__extends)(AirQuality, _super);
258
+ tslib_1.__extends(AirQuality, _super);
259
259
  function AirQuality() {
260
260
  var _this = _super.call(this, "Air Quality", AirQuality.UUID, {
261
- format: "uint8" /* UINT8 */,
262
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
261
+ format: "uint8" /* Formats.UINT8 */,
262
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
263
263
  minValue: 0,
264
264
  maxValue: 5,
265
265
  minStep: 1,
@@ -283,11 +283,11 @@ Characteristic_1.Characteristic.AirQuality = AirQuality;
283
283
  * Characteristic "App Matching Identifier"
284
284
  */
285
285
  var AppMatchingIdentifier = /** @class */ (function (_super) {
286
- (0, tslib_1.__extends)(AppMatchingIdentifier, _super);
286
+ tslib_1.__extends(AppMatchingIdentifier, _super);
287
287
  function AppMatchingIdentifier() {
288
288
  var _this = _super.call(this, "App Matching Identifier", AppMatchingIdentifier.UUID, {
289
- format: "tlv8" /* TLV8 */,
290
- perms: ["pr" /* PAIRED_READ */],
289
+ format: "tlv8" /* Formats.TLV8 */,
290
+ perms: ["pr" /* Perms.PAIRED_READ */],
291
291
  }) || this;
292
292
  _this.value = _this.getDefaultValue();
293
293
  return _this;
@@ -301,11 +301,11 @@ Characteristic_1.Characteristic.AppMatchingIdentifier = AppMatchingIdentifier;
301
301
  * Characteristic "Asset Update Readiness"
302
302
  */
303
303
  var AssetUpdateReadiness = /** @class */ (function (_super) {
304
- (0, tslib_1.__extends)(AssetUpdateReadiness, _super);
304
+ tslib_1.__extends(AssetUpdateReadiness, _super);
305
305
  function AssetUpdateReadiness() {
306
306
  var _this = _super.call(this, "Asset Update Readiness", AssetUpdateReadiness.UUID, {
307
- format: "uint32" /* UINT32 */,
308
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
307
+ format: "uint32" /* Formats.UINT32 */,
308
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
309
309
  }) || this;
310
310
  _this.value = _this.getDefaultValue();
311
311
  return _this;
@@ -319,11 +319,11 @@ Characteristic_1.Characteristic.AssetUpdateReadiness = AssetUpdateReadiness;
319
319
  * Characteristic "Audio Feedback"
320
320
  */
321
321
  var AudioFeedback = /** @class */ (function (_super) {
322
- (0, tslib_1.__extends)(AudioFeedback, _super);
322
+ tslib_1.__extends(AudioFeedback, _super);
323
323
  function AudioFeedback() {
324
324
  var _this = _super.call(this, "Audio Feedback", AudioFeedback.UUID, {
325
- format: "bool" /* BOOL */,
326
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
325
+ format: "bool" /* Formats.BOOL */,
326
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
327
327
  }) || this;
328
328
  _this.value = _this.getDefaultValue();
329
329
  return _this;
@@ -337,12 +337,12 @@ Characteristic_1.Characteristic.AudioFeedback = AudioFeedback;
337
337
  * Characteristic "Battery Level"
338
338
  */
339
339
  var BatteryLevel = /** @class */ (function (_super) {
340
- (0, tslib_1.__extends)(BatteryLevel, _super);
340
+ tslib_1.__extends(BatteryLevel, _super);
341
341
  function BatteryLevel() {
342
342
  var _this = _super.call(this, "Battery Level", BatteryLevel.UUID, {
343
- format: "uint8" /* UINT8 */,
344
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
345
- unit: "percentage" /* PERCENTAGE */,
343
+ format: "uint8" /* Formats.UINT8 */,
344
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
345
+ unit: "percentage" /* Units.PERCENTAGE */,
346
346
  minValue: 0,
347
347
  maxValue: 100,
348
348
  minStep: 1,
@@ -359,12 +359,12 @@ Characteristic_1.Characteristic.BatteryLevel = BatteryLevel;
359
359
  * Characteristic "Brightness"
360
360
  */
361
361
  var Brightness = /** @class */ (function (_super) {
362
- (0, tslib_1.__extends)(Brightness, _super);
362
+ tslib_1.__extends(Brightness, _super);
363
363
  function Brightness() {
364
364
  var _this = _super.call(this, "Brightness", Brightness.UUID, {
365
- format: "int" /* INT */,
366
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
367
- unit: "percentage" /* PERCENTAGE */,
365
+ format: "int" /* Formats.INT */,
366
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
367
+ unit: "percentage" /* Units.PERCENTAGE */,
368
368
  minValue: 0,
369
369
  maxValue: 100,
370
370
  minStep: 1,
@@ -381,12 +381,12 @@ Characteristic_1.Characteristic.Brightness = Brightness;
381
381
  * Characteristic "Button Event"
382
382
  */
383
383
  var ButtonEvent = /** @class */ (function (_super) {
384
- (0, tslib_1.__extends)(ButtonEvent, _super);
384
+ tslib_1.__extends(ButtonEvent, _super);
385
385
  function ButtonEvent() {
386
386
  var _this = _super.call(this, "Button Event", ButtonEvent.UUID, {
387
- format: "tlv8" /* TLV8 */,
388
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
389
- adminOnlyAccess: [2 /* NOTIFY */],
387
+ format: "tlv8" /* Formats.TLV8 */,
388
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
389
+ adminOnlyAccess: [2 /* Access.NOTIFY */],
390
390
  }) || this;
391
391
  _this.value = _this.getDefaultValue();
392
392
  return _this;
@@ -400,11 +400,11 @@ Characteristic_1.Characteristic.ButtonEvent = ButtonEvent;
400
400
  * Characteristic "Camera Operating Mode Indicator"
401
401
  */
402
402
  var CameraOperatingModeIndicator = /** @class */ (function (_super) {
403
- (0, tslib_1.__extends)(CameraOperatingModeIndicator, _super);
403
+ tslib_1.__extends(CameraOperatingModeIndicator, _super);
404
404
  function CameraOperatingModeIndicator() {
405
405
  var _this = _super.call(this, "Camera Operating Mode Indicator", CameraOperatingModeIndicator.UUID, {
406
- format: "bool" /* BOOL */,
407
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "tw" /* TIMED_WRITE */],
406
+ format: "bool" /* Formats.BOOL */,
407
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */],
408
408
  validValues: [0, 1],
409
409
  }) || this;
410
410
  _this.value = _this.getDefaultValue();
@@ -421,11 +421,11 @@ Characteristic_1.Characteristic.CameraOperatingModeIndicator = CameraOperatingMo
421
421
  * Characteristic "Carbon Dioxide Detected"
422
422
  */
423
423
  var CarbonDioxideDetected = /** @class */ (function (_super) {
424
- (0, tslib_1.__extends)(CarbonDioxideDetected, _super);
424
+ tslib_1.__extends(CarbonDioxideDetected, _super);
425
425
  function CarbonDioxideDetected() {
426
426
  var _this = _super.call(this, "Carbon Dioxide Detected", CarbonDioxideDetected.UUID, {
427
- format: "uint8" /* UINT8 */,
428
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
427
+ format: "uint8" /* Formats.UINT8 */,
428
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
429
429
  minValue: 0,
430
430
  maxValue: 1,
431
431
  minStep: 1,
@@ -445,11 +445,11 @@ Characteristic_1.Characteristic.CarbonDioxideDetected = CarbonDioxideDetected;
445
445
  * Characteristic "Carbon Dioxide Level"
446
446
  */
447
447
  var CarbonDioxideLevel = /** @class */ (function (_super) {
448
- (0, tslib_1.__extends)(CarbonDioxideLevel, _super);
448
+ tslib_1.__extends(CarbonDioxideLevel, _super);
449
449
  function CarbonDioxideLevel() {
450
450
  var _this = _super.call(this, "Carbon Dioxide Level", CarbonDioxideLevel.UUID, {
451
- format: "float" /* FLOAT */,
452
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
451
+ format: "float" /* Formats.FLOAT */,
452
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
453
453
  minValue: 0,
454
454
  maxValue: 100000,
455
455
  minStep: 1,
@@ -466,11 +466,11 @@ Characteristic_1.Characteristic.CarbonDioxideLevel = CarbonDioxideLevel;
466
466
  * Characteristic "Carbon Dioxide Peak Level"
467
467
  */
468
468
  var CarbonDioxidePeakLevel = /** @class */ (function (_super) {
469
- (0, tslib_1.__extends)(CarbonDioxidePeakLevel, _super);
469
+ tslib_1.__extends(CarbonDioxidePeakLevel, _super);
470
470
  function CarbonDioxidePeakLevel() {
471
471
  var _this = _super.call(this, "Carbon Dioxide Peak Level", CarbonDioxidePeakLevel.UUID, {
472
- format: "float" /* FLOAT */,
473
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
472
+ format: "float" /* Formats.FLOAT */,
473
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
474
474
  minValue: 0,
475
475
  maxValue: 100000,
476
476
  minStep: 1,
@@ -487,11 +487,11 @@ Characteristic_1.Characteristic.CarbonDioxidePeakLevel = CarbonDioxidePeakLevel;
487
487
  * Characteristic "Carbon Monoxide Detected"
488
488
  */
489
489
  var CarbonMonoxideDetected = /** @class */ (function (_super) {
490
- (0, tslib_1.__extends)(CarbonMonoxideDetected, _super);
490
+ tslib_1.__extends(CarbonMonoxideDetected, _super);
491
491
  function CarbonMonoxideDetected() {
492
492
  var _this = _super.call(this, "Carbon Monoxide Detected", CarbonMonoxideDetected.UUID, {
493
- format: "uint8" /* UINT8 */,
494
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
493
+ format: "uint8" /* Formats.UINT8 */,
494
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
495
495
  minValue: 0,
496
496
  maxValue: 1,
497
497
  minStep: 1,
@@ -511,11 +511,11 @@ Characteristic_1.Characteristic.CarbonMonoxideDetected = CarbonMonoxideDetected;
511
511
  * Characteristic "Carbon Monoxide Level"
512
512
  */
513
513
  var CarbonMonoxideLevel = /** @class */ (function (_super) {
514
- (0, tslib_1.__extends)(CarbonMonoxideLevel, _super);
514
+ tslib_1.__extends(CarbonMonoxideLevel, _super);
515
515
  function CarbonMonoxideLevel() {
516
516
  var _this = _super.call(this, "Carbon Monoxide Level", CarbonMonoxideLevel.UUID, {
517
- format: "float" /* FLOAT */,
518
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
517
+ format: "float" /* Formats.FLOAT */,
518
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
519
519
  minValue: 0,
520
520
  maxValue: 100,
521
521
  minStep: 1,
@@ -532,11 +532,11 @@ Characteristic_1.Characteristic.CarbonMonoxideLevel = CarbonMonoxideLevel;
532
532
  * Characteristic "Carbon Monoxide Peak Level"
533
533
  */
534
534
  var CarbonMonoxidePeakLevel = /** @class */ (function (_super) {
535
- (0, tslib_1.__extends)(CarbonMonoxidePeakLevel, _super);
535
+ tslib_1.__extends(CarbonMonoxidePeakLevel, _super);
536
536
  function CarbonMonoxidePeakLevel() {
537
537
  var _this = _super.call(this, "Carbon Monoxide Peak Level", CarbonMonoxidePeakLevel.UUID, {
538
- format: "float" /* FLOAT */,
539
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
538
+ format: "float" /* Formats.FLOAT */,
539
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
540
540
  minValue: 0,
541
541
  maxValue: 100,
542
542
  minStep: 1,
@@ -554,11 +554,11 @@ Characteristic_1.Characteristic.CarbonMonoxidePeakLevel = CarbonMonoxidePeakLeve
554
554
  * @deprecated Removed and not used anymore
555
555
  */
556
556
  var Category = /** @class */ (function (_super) {
557
- (0, tslib_1.__extends)(Category, _super);
557
+ tslib_1.__extends(Category, _super);
558
558
  function Category() {
559
559
  var _this = _super.call(this, "Category", Category.UUID, {
560
- format: "uint16" /* UINT16 */,
561
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
560
+ format: "uint16" /* Formats.UINT16 */,
561
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
562
562
  minValue: 1,
563
563
  maxValue: 16,
564
564
  }) || this;
@@ -576,11 +576,11 @@ Characteristic_1.Characteristic.Category = Category;
576
576
  * @since iOS 14
577
577
  */
578
578
  var CCAEnergyDetectThreshold = /** @class */ (function (_super) {
579
- (0, tslib_1.__extends)(CCAEnergyDetectThreshold, _super);
579
+ tslib_1.__extends(CCAEnergyDetectThreshold, _super);
580
580
  function CCAEnergyDetectThreshold() {
581
581
  var _this = _super.call(this, "CCA Energy Detect Threshold", CCAEnergyDetectThreshold.UUID, {
582
- format: "int" /* INT */,
583
- perms: ["pr" /* PAIRED_READ */],
582
+ format: "int" /* Formats.INT */,
583
+ perms: ["pr" /* Perms.PAIRED_READ */],
584
584
  }) || this;
585
585
  _this.value = _this.getDefaultValue();
586
586
  return _this;
@@ -595,11 +595,11 @@ Characteristic_1.Characteristic.CCAEnergyDetectThreshold = CCAEnergyDetectThresh
595
595
  * @since iOS 14
596
596
  */
597
597
  var CCASignalDetectThreshold = /** @class */ (function (_super) {
598
- (0, tslib_1.__extends)(CCASignalDetectThreshold, _super);
598
+ tslib_1.__extends(CCASignalDetectThreshold, _super);
599
599
  function CCASignalDetectThreshold() {
600
600
  var _this = _super.call(this, "CCA Signal Detect Threshold", CCASignalDetectThreshold.UUID, {
601
- format: "int" /* INT */,
602
- perms: ["pr" /* PAIRED_READ */],
601
+ format: "int" /* Formats.INT */,
602
+ perms: ["pr" /* Perms.PAIRED_READ */],
603
603
  }) || this;
604
604
  _this.value = _this.getDefaultValue();
605
605
  return _this;
@@ -614,11 +614,11 @@ Characteristic_1.Characteristic.CCASignalDetectThreshold = CCASignalDetectThresh
614
614
  * @since iOS 14
615
615
  */
616
616
  var CharacteristicValueActiveTransitionCount = /** @class */ (function (_super) {
617
- (0, tslib_1.__extends)(CharacteristicValueActiveTransitionCount, _super);
617
+ tslib_1.__extends(CharacteristicValueActiveTransitionCount, _super);
618
618
  function CharacteristicValueActiveTransitionCount() {
619
619
  var _this = _super.call(this, "Characteristic Value Active Transition Count", CharacteristicValueActiveTransitionCount.UUID, {
620
- format: "uint8" /* UINT8 */,
621
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
620
+ format: "uint8" /* Formats.UINT8 */,
621
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
622
622
  }) || this;
623
623
  _this.value = _this.getDefaultValue();
624
624
  return _this;
@@ -633,11 +633,11 @@ Characteristic_1.Characteristic.CharacteristicValueActiveTransitionCount = Chara
633
633
  * @since iOS 14
634
634
  */
635
635
  var CharacteristicValueTransitionControl = /** @class */ (function (_super) {
636
- (0, tslib_1.__extends)(CharacteristicValueTransitionControl, _super);
636
+ tslib_1.__extends(CharacteristicValueTransitionControl, _super);
637
637
  function CharacteristicValueTransitionControl() {
638
638
  var _this = _super.call(this, "Characteristic Value Transition Control", CharacteristicValueTransitionControl.UUID, {
639
- format: "tlv8" /* TLV8 */,
640
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "wr" /* WRITE_RESPONSE */],
639
+ format: "tlv8" /* Formats.TLV8 */,
640
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
641
641
  }) || this;
642
642
  _this.value = _this.getDefaultValue();
643
643
  return _this;
@@ -651,11 +651,11 @@ Characteristic_1.Characteristic.CharacteristicValueTransitionControl = Character
651
651
  * Characteristic "Charging State"
652
652
  */
653
653
  var ChargingState = /** @class */ (function (_super) {
654
- (0, tslib_1.__extends)(ChargingState, _super);
654
+ tslib_1.__extends(ChargingState, _super);
655
655
  function ChargingState() {
656
656
  var _this = _super.call(this, "Charging State", ChargingState.UUID, {
657
- format: "uint8" /* UINT8 */,
658
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
657
+ format: "uint8" /* Formats.UINT8 */,
658
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
659
659
  minValue: 0,
660
660
  maxValue: 2,
661
661
  minStep: 1,
@@ -676,11 +676,11 @@ Characteristic_1.Characteristic.ChargingState = ChargingState;
676
676
  * Characteristic "Closed Captions"
677
677
  */
678
678
  var ClosedCaptions = /** @class */ (function (_super) {
679
- (0, tslib_1.__extends)(ClosedCaptions, _super);
679
+ tslib_1.__extends(ClosedCaptions, _super);
680
680
  function ClosedCaptions() {
681
681
  var _this = _super.call(this, "Closed Captions", ClosedCaptions.UUID, {
682
- format: "uint8" /* UINT8 */,
683
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
682
+ format: "uint8" /* Formats.UINT8 */,
683
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
684
684
  minValue: 0,
685
685
  maxValue: 1,
686
686
  minStep: 1,
@@ -700,11 +700,11 @@ Characteristic_1.Characteristic.ClosedCaptions = ClosedCaptions;
700
700
  * Characteristic "Color Temperature"
701
701
  */
702
702
  var ColorTemperature = /** @class */ (function (_super) {
703
- (0, tslib_1.__extends)(ColorTemperature, _super);
703
+ tslib_1.__extends(ColorTemperature, _super);
704
704
  function ColorTemperature() {
705
705
  var _this = _super.call(this, "Color Temperature", ColorTemperature.UUID, {
706
- format: "int" /* INT */,
707
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
706
+ format: "int" /* Formats.INT */,
707
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
708
708
  minValue: 140,
709
709
  maxValue: 500,
710
710
  minStep: 1,
@@ -722,11 +722,11 @@ Characteristic_1.Characteristic.ColorTemperature = ColorTemperature;
722
722
  * @since iOS 15
723
723
  */
724
724
  var ConfigurationState = /** @class */ (function (_super) {
725
- (0, tslib_1.__extends)(ConfigurationState, _super);
725
+ tslib_1.__extends(ConfigurationState, _super);
726
726
  function ConfigurationState() {
727
727
  var _this = _super.call(this, "Configuration State", ConfigurationState.UUID, {
728
- format: "uint16" /* UINT16 */,
729
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
728
+ format: "uint16" /* Formats.UINT16 */,
729
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
730
730
  }) || this;
731
731
  _this.value = _this.getDefaultValue();
732
732
  return _this;
@@ -741,11 +741,11 @@ Characteristic_1.Characteristic.ConfigurationState = ConfigurationState;
741
741
  * @deprecated Removed and not used anymore
742
742
  */
743
743
  var ConfigureBridgedAccessory = /** @class */ (function (_super) {
744
- (0, tslib_1.__extends)(ConfigureBridgedAccessory, _super);
744
+ tslib_1.__extends(ConfigureBridgedAccessory, _super);
745
745
  function ConfigureBridgedAccessory() {
746
746
  var _this = _super.call(this, "Configure Bridged Accessory", ConfigureBridgedAccessory.UUID, {
747
- format: "tlv8" /* TLV8 */,
748
- perms: ["pw" /* PAIRED_WRITE */],
747
+ format: "tlv8" /* Formats.TLV8 */,
748
+ perms: ["pw" /* Perms.PAIRED_WRITE */],
749
749
  }) || this;
750
750
  _this.value = _this.getDefaultValue();
751
751
  return _this;
@@ -761,11 +761,11 @@ Characteristic_1.Characteristic.ConfigureBridgedAccessory = ConfigureBridgedAcce
761
761
  * @deprecated Removed and not used anymore
762
762
  */
763
763
  var ConfigureBridgedAccessoryStatus = /** @class */ (function (_super) {
764
- (0, tslib_1.__extends)(ConfigureBridgedAccessoryStatus, _super);
764
+ tslib_1.__extends(ConfigureBridgedAccessoryStatus, _super);
765
765
  function ConfigureBridgedAccessoryStatus() {
766
766
  var _this = _super.call(this, "Configure Bridged Accessory Status", ConfigureBridgedAccessoryStatus.UUID, {
767
- format: "tlv8" /* TLV8 */,
768
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
767
+ format: "tlv8" /* Formats.TLV8 */,
768
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
769
769
  }) || this;
770
770
  _this.value = _this.getDefaultValue();
771
771
  return _this;
@@ -780,11 +780,11 @@ Characteristic_1.Characteristic.ConfigureBridgedAccessoryStatus = ConfigureBridg
780
780
  * Characteristic "Configured Name"
781
781
  */
782
782
  var ConfiguredName = /** @class */ (function (_super) {
783
- (0, tslib_1.__extends)(ConfiguredName, _super);
783
+ tslib_1.__extends(ConfiguredName, _super);
784
784
  function ConfiguredName() {
785
785
  var _this = _super.call(this, "Configured Name", ConfiguredName.UUID, {
786
- format: "string" /* STRING */,
787
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
786
+ format: "string" /* Formats.STRING */,
787
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
788
788
  }) || this;
789
789
  _this.value = _this.getDefaultValue();
790
790
  return _this;
@@ -798,11 +798,11 @@ Characteristic_1.Characteristic.ConfiguredName = ConfiguredName;
798
798
  * Characteristic "Contact Sensor State"
799
799
  */
800
800
  var ContactSensorState = /** @class */ (function (_super) {
801
- (0, tslib_1.__extends)(ContactSensorState, _super);
801
+ tslib_1.__extends(ContactSensorState, _super);
802
802
  function ContactSensorState() {
803
803
  var _this = _super.call(this, "Contact Sensor State", ContactSensorState.UUID, {
804
- format: "uint8" /* UINT8 */,
805
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
804
+ format: "uint8" /* Formats.UINT8 */,
805
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
806
806
  minValue: 0,
807
807
  maxValue: 1,
808
808
  minStep: 1,
@@ -822,12 +822,12 @@ Characteristic_1.Characteristic.ContactSensorState = ContactSensorState;
822
822
  * Characteristic "Cooling Threshold Temperature"
823
823
  */
824
824
  var CoolingThresholdTemperature = /** @class */ (function (_super) {
825
- (0, tslib_1.__extends)(CoolingThresholdTemperature, _super);
825
+ tslib_1.__extends(CoolingThresholdTemperature, _super);
826
826
  function CoolingThresholdTemperature() {
827
827
  var _this = _super.call(this, "Cooling Threshold Temperature", CoolingThresholdTemperature.UUID, {
828
- format: "float" /* FLOAT */,
829
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
830
- unit: "celsius" /* CELSIUS */,
828
+ format: "float" /* Formats.FLOAT */,
829
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
830
+ unit: "celsius" /* Units.CELSIUS */,
831
831
  minValue: 10,
832
832
  maxValue: 35,
833
833
  minStep: 0.1,
@@ -844,11 +844,11 @@ Characteristic_1.Characteristic.CoolingThresholdTemperature = CoolingThresholdTe
844
844
  * Characteristic "Crypto Hash"
845
845
  */
846
846
  var CryptoHash = /** @class */ (function (_super) {
847
- (0, tslib_1.__extends)(CryptoHash, _super);
847
+ tslib_1.__extends(CryptoHash, _super);
848
848
  function CryptoHash() {
849
849
  var _this = _super.call(this, "Crypto Hash", CryptoHash.UUID, {
850
- format: "tlv8" /* TLV8 */,
851
- perms: ["pw" /* PAIRED_WRITE */, "wr" /* WRITE_RESPONSE */],
850
+ format: "tlv8" /* Formats.TLV8 */,
851
+ perms: ["pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
852
852
  }) || this;
853
853
  _this.value = _this.getDefaultValue();
854
854
  return _this;
@@ -862,11 +862,11 @@ Characteristic_1.Characteristic.CryptoHash = CryptoHash;
862
862
  * Characteristic "Current Air Purifier State"
863
863
  */
864
864
  var CurrentAirPurifierState = /** @class */ (function (_super) {
865
- (0, tslib_1.__extends)(CurrentAirPurifierState, _super);
865
+ tslib_1.__extends(CurrentAirPurifierState, _super);
866
866
  function CurrentAirPurifierState() {
867
867
  var _this = _super.call(this, "Current Air Purifier State", CurrentAirPurifierState.UUID, {
868
- format: "uint8" /* UINT8 */,
869
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
868
+ format: "uint8" /* Formats.UINT8 */,
869
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
870
870
  minValue: 0,
871
871
  maxValue: 2,
872
872
  minStep: 1,
@@ -887,12 +887,12 @@ Characteristic_1.Characteristic.CurrentAirPurifierState = CurrentAirPurifierStat
887
887
  * Characteristic "Current Ambient Light Level"
888
888
  */
889
889
  var CurrentAmbientLightLevel = /** @class */ (function (_super) {
890
- (0, tslib_1.__extends)(CurrentAmbientLightLevel, _super);
890
+ tslib_1.__extends(CurrentAmbientLightLevel, _super);
891
891
  function CurrentAmbientLightLevel() {
892
892
  var _this = _super.call(this, "Current Ambient Light Level", CurrentAmbientLightLevel.UUID, {
893
- format: "float" /* FLOAT */,
894
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
895
- unit: "lux" /* LUX */,
893
+ format: "float" /* Formats.FLOAT */,
894
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
895
+ unit: "lux" /* Units.LUX */,
896
896
  minValue: 0.0001,
897
897
  maxValue: 100000,
898
898
  }) || this;
@@ -908,11 +908,11 @@ Characteristic_1.Characteristic.CurrentAmbientLightLevel = CurrentAmbientLightLe
908
908
  * Characteristic "Current Door State"
909
909
  */
910
910
  var CurrentDoorState = /** @class */ (function (_super) {
911
- (0, tslib_1.__extends)(CurrentDoorState, _super);
911
+ tslib_1.__extends(CurrentDoorState, _super);
912
912
  function CurrentDoorState() {
913
913
  var _this = _super.call(this, "Current Door State", CurrentDoorState.UUID, {
914
- format: "uint8" /* UINT8 */,
915
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
914
+ format: "uint8" /* Formats.UINT8 */,
915
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
916
916
  minValue: 0,
917
917
  maxValue: 4,
918
918
  minStep: 1,
@@ -935,11 +935,11 @@ Characteristic_1.Characteristic.CurrentDoorState = CurrentDoorState;
935
935
  * Characteristic "Current Fan State"
936
936
  */
937
937
  var CurrentFanState = /** @class */ (function (_super) {
938
- (0, tslib_1.__extends)(CurrentFanState, _super);
938
+ tslib_1.__extends(CurrentFanState, _super);
939
939
  function CurrentFanState() {
940
940
  var _this = _super.call(this, "Current Fan State", CurrentFanState.UUID, {
941
- format: "uint8" /* UINT8 */,
942
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
941
+ format: "uint8" /* Formats.UINT8 */,
942
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
943
943
  minValue: 0,
944
944
  maxValue: 2,
945
945
  minStep: 1,
@@ -960,11 +960,11 @@ Characteristic_1.Characteristic.CurrentFanState = CurrentFanState;
960
960
  * Characteristic "Current Heater-Cooler State"
961
961
  */
962
962
  var CurrentHeaterCoolerState = /** @class */ (function (_super) {
963
- (0, tslib_1.__extends)(CurrentHeaterCoolerState, _super);
963
+ tslib_1.__extends(CurrentHeaterCoolerState, _super);
964
964
  function CurrentHeaterCoolerState() {
965
965
  var _this = _super.call(this, "Current Heater-Cooler State", CurrentHeaterCoolerState.UUID, {
966
- format: "uint8" /* UINT8 */,
967
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
966
+ format: "uint8" /* Formats.UINT8 */,
967
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
968
968
  minValue: 0,
969
969
  maxValue: 3,
970
970
  minStep: 1,
@@ -986,11 +986,11 @@ Characteristic_1.Characteristic.CurrentHeaterCoolerState = CurrentHeaterCoolerSt
986
986
  * Characteristic "Current Heating Cooling State"
987
987
  */
988
988
  var CurrentHeatingCoolingState = /** @class */ (function (_super) {
989
- (0, tslib_1.__extends)(CurrentHeatingCoolingState, _super);
989
+ tslib_1.__extends(CurrentHeatingCoolingState, _super);
990
990
  function CurrentHeatingCoolingState() {
991
991
  var _this = _super.call(this, "Current Heating Cooling State", CurrentHeatingCoolingState.UUID, {
992
- format: "uint8" /* UINT8 */,
993
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
992
+ format: "uint8" /* Formats.UINT8 */,
993
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
994
994
  minValue: 0,
995
995
  maxValue: 2,
996
996
  minStep: 1,
@@ -1011,12 +1011,12 @@ Characteristic_1.Characteristic.CurrentHeatingCoolingState = CurrentHeatingCooli
1011
1011
  * Characteristic "Current Horizontal Tilt Angle"
1012
1012
  */
1013
1013
  var CurrentHorizontalTiltAngle = /** @class */ (function (_super) {
1014
- (0, tslib_1.__extends)(CurrentHorizontalTiltAngle, _super);
1014
+ tslib_1.__extends(CurrentHorizontalTiltAngle, _super);
1015
1015
  function CurrentHorizontalTiltAngle() {
1016
1016
  var _this = _super.call(this, "Current Horizontal Tilt Angle", CurrentHorizontalTiltAngle.UUID, {
1017
- format: "int" /* INT */,
1018
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1019
- unit: "arcdegrees" /* ARC_DEGREE */,
1017
+ format: "int" /* Formats.INT */,
1018
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1019
+ unit: "arcdegrees" /* Units.ARC_DEGREE */,
1020
1020
  minValue: -90,
1021
1021
  maxValue: 90,
1022
1022
  minStep: 1,
@@ -1033,11 +1033,11 @@ Characteristic_1.Characteristic.CurrentHorizontalTiltAngle = CurrentHorizontalTi
1033
1033
  * Characteristic "Current Humidifier-Dehumidifier State"
1034
1034
  */
1035
1035
  var CurrentHumidifierDehumidifierState = /** @class */ (function (_super) {
1036
- (0, tslib_1.__extends)(CurrentHumidifierDehumidifierState, _super);
1036
+ tslib_1.__extends(CurrentHumidifierDehumidifierState, _super);
1037
1037
  function CurrentHumidifierDehumidifierState() {
1038
1038
  var _this = _super.call(this, "Current Humidifier-Dehumidifier State", CurrentHumidifierDehumidifierState.UUID, {
1039
- format: "uint8" /* UINT8 */,
1040
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1039
+ format: "uint8" /* Formats.UINT8 */,
1040
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1041
1041
  minValue: 0,
1042
1042
  maxValue: 3,
1043
1043
  minStep: 1,
@@ -1059,11 +1059,11 @@ Characteristic_1.Characteristic.CurrentHumidifierDehumidifierState = CurrentHumi
1059
1059
  * Characteristic "Current Media State"
1060
1060
  */
1061
1061
  var CurrentMediaState = /** @class */ (function (_super) {
1062
- (0, tslib_1.__extends)(CurrentMediaState, _super);
1062
+ tslib_1.__extends(CurrentMediaState, _super);
1063
1063
  function CurrentMediaState() {
1064
1064
  var _this = _super.call(this, "Current Media State", CurrentMediaState.UUID, {
1065
- format: "uint8" /* UINT8 */,
1066
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1065
+ format: "uint8" /* Formats.UINT8 */,
1066
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1067
1067
  minValue: 0,
1068
1068
  maxValue: 5,
1069
1069
  minStep: 1,
@@ -1086,12 +1086,12 @@ Characteristic_1.Characteristic.CurrentMediaState = CurrentMediaState;
1086
1086
  * Characteristic "Current Position"
1087
1087
  */
1088
1088
  var CurrentPosition = /** @class */ (function (_super) {
1089
- (0, tslib_1.__extends)(CurrentPosition, _super);
1089
+ tslib_1.__extends(CurrentPosition, _super);
1090
1090
  function CurrentPosition() {
1091
1091
  var _this = _super.call(this, "Current Position", CurrentPosition.UUID, {
1092
- format: "uint8" /* UINT8 */,
1093
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1094
- unit: "percentage" /* PERCENTAGE */,
1092
+ format: "uint8" /* Formats.UINT8 */,
1093
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1094
+ unit: "percentage" /* Units.PERCENTAGE */,
1095
1095
  minValue: 0,
1096
1096
  maxValue: 100,
1097
1097
  minStep: 1,
@@ -1108,12 +1108,12 @@ Characteristic_1.Characteristic.CurrentPosition = CurrentPosition;
1108
1108
  * Characteristic "Current Relative Humidity"
1109
1109
  */
1110
1110
  var CurrentRelativeHumidity = /** @class */ (function (_super) {
1111
- (0, tslib_1.__extends)(CurrentRelativeHumidity, _super);
1111
+ tslib_1.__extends(CurrentRelativeHumidity, _super);
1112
1112
  function CurrentRelativeHumidity() {
1113
1113
  var _this = _super.call(this, "Current Relative Humidity", CurrentRelativeHumidity.UUID, {
1114
- format: "float" /* FLOAT */,
1115
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1116
- unit: "percentage" /* PERCENTAGE */,
1114
+ format: "float" /* Formats.FLOAT */,
1115
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1116
+ unit: "percentage" /* Units.PERCENTAGE */,
1117
1117
  minValue: 0,
1118
1118
  maxValue: 100,
1119
1119
  minStep: 1,
@@ -1130,11 +1130,11 @@ Characteristic_1.Characteristic.CurrentRelativeHumidity = CurrentRelativeHumidit
1130
1130
  * Characteristic "Current Slat State"
1131
1131
  */
1132
1132
  var CurrentSlatState = /** @class */ (function (_super) {
1133
- (0, tslib_1.__extends)(CurrentSlatState, _super);
1133
+ tslib_1.__extends(CurrentSlatState, _super);
1134
1134
  function CurrentSlatState() {
1135
1135
  var _this = _super.call(this, "Current Slat State", CurrentSlatState.UUID, {
1136
- format: "uint8" /* UINT8 */,
1137
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1136
+ format: "uint8" /* Formats.UINT8 */,
1137
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1138
1138
  minValue: 0,
1139
1139
  maxValue: 2,
1140
1140
  minStep: 1,
@@ -1155,12 +1155,12 @@ Characteristic_1.Characteristic.CurrentSlatState = CurrentSlatState;
1155
1155
  * Characteristic "Current Temperature"
1156
1156
  */
1157
1157
  var CurrentTemperature = /** @class */ (function (_super) {
1158
- (0, tslib_1.__extends)(CurrentTemperature, _super);
1158
+ tslib_1.__extends(CurrentTemperature, _super);
1159
1159
  function CurrentTemperature() {
1160
1160
  var _this = _super.call(this, "Current Temperature", CurrentTemperature.UUID, {
1161
- format: "float" /* FLOAT */,
1162
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1163
- unit: "celsius" /* CELSIUS */,
1161
+ format: "float" /* Formats.FLOAT */,
1162
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1163
+ unit: "celsius" /* Units.CELSIUS */,
1164
1164
  minValue: -270,
1165
1165
  maxValue: 100,
1166
1166
  minStep: 0.1,
@@ -1177,12 +1177,12 @@ Characteristic_1.Characteristic.CurrentTemperature = CurrentTemperature;
1177
1177
  * Characteristic "Current Tilt Angle"
1178
1178
  */
1179
1179
  var CurrentTiltAngle = /** @class */ (function (_super) {
1180
- (0, tslib_1.__extends)(CurrentTiltAngle, _super);
1180
+ tslib_1.__extends(CurrentTiltAngle, _super);
1181
1181
  function CurrentTiltAngle() {
1182
1182
  var _this = _super.call(this, "Current Tilt Angle", CurrentTiltAngle.UUID, {
1183
- format: "int" /* INT */,
1184
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1185
- unit: "arcdegrees" /* ARC_DEGREE */,
1183
+ format: "int" /* Formats.INT */,
1184
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1185
+ unit: "arcdegrees" /* Units.ARC_DEGREE */,
1186
1186
  minValue: -90,
1187
1187
  maxValue: 90,
1188
1188
  minStep: 1,
@@ -1200,11 +1200,11 @@ Characteristic_1.Characteristic.CurrentTiltAngle = CurrentTiltAngle;
1200
1200
  * @deprecated Removed and not used anymore
1201
1201
  */
1202
1202
  var CurrentTime = /** @class */ (function (_super) {
1203
- (0, tslib_1.__extends)(CurrentTime, _super);
1203
+ tslib_1.__extends(CurrentTime, _super);
1204
1204
  function CurrentTime() {
1205
1205
  var _this = _super.call(this, "Current Time", CurrentTime.UUID, {
1206
- format: "string" /* STRING */,
1207
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1206
+ format: "string" /* Formats.STRING */,
1207
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1208
1208
  }) || this;
1209
1209
  _this.value = _this.getDefaultValue();
1210
1210
  return _this;
@@ -1220,11 +1220,11 @@ Characteristic_1.Characteristic.CurrentTime = CurrentTime;
1220
1220
  * @since iOS 14
1221
1221
  */
1222
1222
  var CurrentTransport = /** @class */ (function (_super) {
1223
- (0, tslib_1.__extends)(CurrentTransport, _super);
1223
+ tslib_1.__extends(CurrentTransport, _super);
1224
1224
  function CurrentTransport() {
1225
1225
  var _this = _super.call(this, "Current Transport", CurrentTransport.UUID, {
1226
- format: "bool" /* BOOL */,
1227
- perms: ["pr" /* PAIRED_READ */],
1226
+ format: "bool" /* Formats.BOOL */,
1227
+ perms: ["pr" /* Perms.PAIRED_READ */],
1228
1228
  }) || this;
1229
1229
  _this.value = _this.getDefaultValue();
1230
1230
  return _this;
@@ -1238,12 +1238,12 @@ Characteristic_1.Characteristic.CurrentTransport = CurrentTransport;
1238
1238
  * Characteristic "Current Vertical Tilt Angle"
1239
1239
  */
1240
1240
  var CurrentVerticalTiltAngle = /** @class */ (function (_super) {
1241
- (0, tslib_1.__extends)(CurrentVerticalTiltAngle, _super);
1241
+ tslib_1.__extends(CurrentVerticalTiltAngle, _super);
1242
1242
  function CurrentVerticalTiltAngle() {
1243
1243
  var _this = _super.call(this, "Current Vertical Tilt Angle", CurrentVerticalTiltAngle.UUID, {
1244
- format: "int" /* INT */,
1245
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1246
- unit: "arcdegrees" /* ARC_DEGREE */,
1244
+ format: "int" /* Formats.INT */,
1245
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1246
+ unit: "arcdegrees" /* Units.ARC_DEGREE */,
1247
1247
  minValue: -90,
1248
1248
  maxValue: 90,
1249
1249
  minStep: 1,
@@ -1260,11 +1260,11 @@ Characteristic_1.Characteristic.CurrentVerticalTiltAngle = CurrentVerticalTiltAn
1260
1260
  * Characteristic "Current Visibility State"
1261
1261
  */
1262
1262
  var CurrentVisibilityState = /** @class */ (function (_super) {
1263
- (0, tslib_1.__extends)(CurrentVisibilityState, _super);
1263
+ tslib_1.__extends(CurrentVisibilityState, _super);
1264
1264
  function CurrentVisibilityState() {
1265
1265
  var _this = _super.call(this, "Current Visibility State", CurrentVisibilityState.UUID, {
1266
- format: "uint8" /* UINT8 */,
1267
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1266
+ format: "uint8" /* Formats.UINT8 */,
1267
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1268
1268
  minValue: 0,
1269
1269
  maxValue: 1,
1270
1270
  minStep: 1,
@@ -1285,11 +1285,11 @@ Characteristic_1.Characteristic.CurrentVisibilityState = CurrentVisibilityState;
1285
1285
  * @since iOS 14
1286
1286
  */
1287
1287
  var DataStreamHAPTransport = /** @class */ (function (_super) {
1288
- (0, tslib_1.__extends)(DataStreamHAPTransport, _super);
1288
+ tslib_1.__extends(DataStreamHAPTransport, _super);
1289
1289
  function DataStreamHAPTransport() {
1290
1290
  var _this = _super.call(this, "Data Stream HAP Transport", DataStreamHAPTransport.UUID, {
1291
- format: "tlv8" /* TLV8 */,
1292
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "wr" /* WRITE_RESPONSE */],
1291
+ format: "tlv8" /* Formats.TLV8 */,
1292
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
1293
1293
  }) || this;
1294
1294
  _this.value = _this.getDefaultValue();
1295
1295
  return _this;
@@ -1304,11 +1304,11 @@ Characteristic_1.Characteristic.DataStreamHAPTransport = DataStreamHAPTransport;
1304
1304
  * @since iOS 14
1305
1305
  */
1306
1306
  var DataStreamHAPTransportInterrupt = /** @class */ (function (_super) {
1307
- (0, tslib_1.__extends)(DataStreamHAPTransportInterrupt, _super);
1307
+ tslib_1.__extends(DataStreamHAPTransportInterrupt, _super);
1308
1308
  function DataStreamHAPTransportInterrupt() {
1309
1309
  var _this = _super.call(this, "Data Stream HAP Transport Interrupt", DataStreamHAPTransportInterrupt.UUID, {
1310
- format: "tlv8" /* TLV8 */,
1311
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1310
+ format: "tlv8" /* Formats.TLV8 */,
1311
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1312
1312
  }) || this;
1313
1313
  _this.value = _this.getDefaultValue();
1314
1314
  return _this;
@@ -1323,11 +1323,11 @@ Characteristic_1.Characteristic.DataStreamHAPTransportInterrupt = DataStreamHAPT
1323
1323
  * @deprecated Removed and not used anymore
1324
1324
  */
1325
1325
  var DayoftheWeek = /** @class */ (function (_super) {
1326
- (0, tslib_1.__extends)(DayoftheWeek, _super);
1326
+ tslib_1.__extends(DayoftheWeek, _super);
1327
1327
  function DayoftheWeek() {
1328
1328
  var _this = _super.call(this, "Day of the Week", DayoftheWeek.UUID, {
1329
- format: "uint8" /* UINT8 */,
1330
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1329
+ format: "uint8" /* Formats.UINT8 */,
1330
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1331
1331
  minValue: 1,
1332
1332
  maxValue: 7,
1333
1333
  }) || this;
@@ -1345,12 +1345,12 @@ Characteristic_1.Characteristic.DayoftheWeek = DayoftheWeek;
1345
1345
  * @since iOS 13.2
1346
1346
  */
1347
1347
  var DiagonalFieldOfView = /** @class */ (function (_super) {
1348
- (0, tslib_1.__extends)(DiagonalFieldOfView, _super);
1348
+ tslib_1.__extends(DiagonalFieldOfView, _super);
1349
1349
  function DiagonalFieldOfView() {
1350
1350
  var _this = _super.call(this, "Diagonal Field Of View", DiagonalFieldOfView.UUID, {
1351
- format: "float" /* FLOAT */,
1352
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1353
- unit: "arcdegrees" /* ARC_DEGREE */,
1351
+ format: "float" /* Formats.FLOAT */,
1352
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1353
+ unit: "arcdegrees" /* Units.ARC_DEGREE */,
1354
1354
  minValue: 0,
1355
1355
  maxValue: 360,
1356
1356
  }) || this;
@@ -1366,11 +1366,11 @@ Characteristic_1.Characteristic.DiagonalFieldOfView = DiagonalFieldOfView;
1366
1366
  * Characteristic "Digital Zoom"
1367
1367
  */
1368
1368
  var DigitalZoom = /** @class */ (function (_super) {
1369
- (0, tslib_1.__extends)(DigitalZoom, _super);
1369
+ tslib_1.__extends(DigitalZoom, _super);
1370
1370
  function DigitalZoom() {
1371
1371
  var _this = _super.call(this, "Digital Zoom", DigitalZoom.UUID, {
1372
- format: "float" /* FLOAT */,
1373
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1372
+ format: "float" /* Formats.FLOAT */,
1373
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1374
1374
  minStep: 0.1,
1375
1375
  }) || this;
1376
1376
  _this.value = _this.getDefaultValue();
@@ -1386,11 +1386,11 @@ Characteristic_1.Characteristic.DigitalZoom = DigitalZoom;
1386
1386
  * @deprecated Removed and not used anymore
1387
1387
  */
1388
1388
  var DiscoverBridgedAccessories = /** @class */ (function (_super) {
1389
- (0, tslib_1.__extends)(DiscoverBridgedAccessories, _super);
1389
+ tslib_1.__extends(DiscoverBridgedAccessories, _super);
1390
1390
  function DiscoverBridgedAccessories() {
1391
1391
  var _this = _super.call(this, "Discover Bridged Accessories", DiscoverBridgedAccessories.UUID, {
1392
- format: "uint8" /* UINT8 */,
1393
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1392
+ format: "uint8" /* Formats.UINT8 */,
1393
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1394
1394
  }) || this;
1395
1395
  _this.value = _this.getDefaultValue();
1396
1396
  return _this;
@@ -1406,11 +1406,11 @@ Characteristic_1.Characteristic.DiscoverBridgedAccessories = DiscoverBridgedAcce
1406
1406
  * @deprecated Removed and not used anymore
1407
1407
  */
1408
1408
  var DiscoveredBridgedAccessories = /** @class */ (function (_super) {
1409
- (0, tslib_1.__extends)(DiscoveredBridgedAccessories, _super);
1409
+ tslib_1.__extends(DiscoveredBridgedAccessories, _super);
1410
1410
  function DiscoveredBridgedAccessories() {
1411
1411
  var _this = _super.call(this, "Discovered Bridged Accessories", DiscoveredBridgedAccessories.UUID, {
1412
- format: "uint16" /* UINT16 */,
1413
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1412
+ format: "uint16" /* Formats.UINT16 */,
1413
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1414
1414
  }) || this;
1415
1415
  _this.value = _this.getDefaultValue();
1416
1416
  return _this;
@@ -1425,11 +1425,11 @@ Characteristic_1.Characteristic.DiscoveredBridgedAccessories = DiscoveredBridged
1425
1425
  * Characteristic "Display Order"
1426
1426
  */
1427
1427
  var DisplayOrder = /** @class */ (function (_super) {
1428
- (0, tslib_1.__extends)(DisplayOrder, _super);
1428
+ tslib_1.__extends(DisplayOrder, _super);
1429
1429
  function DisplayOrder() {
1430
1430
  var _this = _super.call(this, "Display Order", DisplayOrder.UUID, {
1431
- format: "tlv8" /* TLV8 */,
1432
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1431
+ format: "tlv8" /* Formats.TLV8 */,
1432
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1433
1433
  }) || this;
1434
1434
  _this.value = _this.getDefaultValue();
1435
1435
  return _this;
@@ -1444,11 +1444,11 @@ Characteristic_1.Characteristic.DisplayOrder = DisplayOrder;
1444
1444
  * @since iOS 14
1445
1445
  */
1446
1446
  var EventRetransmissionMaximum = /** @class */ (function (_super) {
1447
- (0, tslib_1.__extends)(EventRetransmissionMaximum, _super);
1447
+ tslib_1.__extends(EventRetransmissionMaximum, _super);
1448
1448
  function EventRetransmissionMaximum() {
1449
1449
  var _this = _super.call(this, "Event Retransmission Maximum", EventRetransmissionMaximum.UUID, {
1450
- format: "uint8" /* UINT8 */,
1451
- perms: ["pr" /* PAIRED_READ */],
1450
+ format: "uint8" /* Formats.UINT8 */,
1451
+ perms: ["pr" /* Perms.PAIRED_READ */],
1452
1452
  }) || this;
1453
1453
  _this.value = _this.getDefaultValue();
1454
1454
  return _this;
@@ -1462,11 +1462,11 @@ Characteristic_1.Characteristic.EventRetransmissionMaximum = EventRetransmission
1462
1462
  * Characteristic "Event Snapshots Active"
1463
1463
  */
1464
1464
  var EventSnapshotsActive = /** @class */ (function (_super) {
1465
- (0, tslib_1.__extends)(EventSnapshotsActive, _super);
1465
+ tslib_1.__extends(EventSnapshotsActive, _super);
1466
1466
  function EventSnapshotsActive() {
1467
1467
  var _this = _super.call(this, "Event Snapshots Active", EventSnapshotsActive.UUID, {
1468
- format: "uint8" /* UINT8 */,
1469
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1468
+ format: "uint8" /* Formats.UINT8 */,
1469
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1470
1470
  minValue: 0,
1471
1471
  maxValue: 1,
1472
1472
  validValues: [0, 1],
@@ -1486,11 +1486,11 @@ Characteristic_1.Characteristic.EventSnapshotsActive = EventSnapshotsActive;
1486
1486
  * @since iOS 14
1487
1487
  */
1488
1488
  var EventTransmissionCounters = /** @class */ (function (_super) {
1489
- (0, tslib_1.__extends)(EventTransmissionCounters, _super);
1489
+ tslib_1.__extends(EventTransmissionCounters, _super);
1490
1490
  function EventTransmissionCounters() {
1491
1491
  var _this = _super.call(this, "Event Transmission Counters", EventTransmissionCounters.UUID, {
1492
- format: "uint32" /* UINT32 */,
1493
- perms: ["pr" /* PAIRED_READ */],
1492
+ format: "uint32" /* Formats.UINT32 */,
1493
+ perms: ["pr" /* Perms.PAIRED_READ */],
1494
1494
  }) || this;
1495
1495
  _this.value = _this.getDefaultValue();
1496
1496
  return _this;
@@ -1504,11 +1504,11 @@ Characteristic_1.Characteristic.EventTransmissionCounters = EventTransmissionCou
1504
1504
  * Characteristic "Filter Change Indication"
1505
1505
  */
1506
1506
  var FilterChangeIndication = /** @class */ (function (_super) {
1507
- (0, tslib_1.__extends)(FilterChangeIndication, _super);
1507
+ tslib_1.__extends(FilterChangeIndication, _super);
1508
1508
  function FilterChangeIndication() {
1509
1509
  var _this = _super.call(this, "Filter Change Indication", FilterChangeIndication.UUID, {
1510
- format: "uint8" /* UINT8 */,
1511
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1510
+ format: "uint8" /* Formats.UINT8 */,
1511
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1512
1512
  minValue: 0,
1513
1513
  maxValue: 1,
1514
1514
  minStep: 1,
@@ -1528,11 +1528,11 @@ Characteristic_1.Characteristic.FilterChangeIndication = FilterChangeIndication;
1528
1528
  * Characteristic "Filter Life Level"
1529
1529
  */
1530
1530
  var FilterLifeLevel = /** @class */ (function (_super) {
1531
- (0, tslib_1.__extends)(FilterLifeLevel, _super);
1531
+ tslib_1.__extends(FilterLifeLevel, _super);
1532
1532
  function FilterLifeLevel() {
1533
1533
  var _this = _super.call(this, "Filter Life Level", FilterLifeLevel.UUID, {
1534
- format: "float" /* FLOAT */,
1535
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1534
+ format: "float" /* Formats.FLOAT */,
1535
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1536
1536
  minValue: 0,
1537
1537
  maxValue: 100,
1538
1538
  minStep: 1,
@@ -1549,11 +1549,11 @@ Characteristic_1.Characteristic.FilterLifeLevel = FilterLifeLevel;
1549
1549
  * Characteristic "Firmware Revision"
1550
1550
  */
1551
1551
  var FirmwareRevision = /** @class */ (function (_super) {
1552
- (0, tslib_1.__extends)(FirmwareRevision, _super);
1552
+ tslib_1.__extends(FirmwareRevision, _super);
1553
1553
  function FirmwareRevision() {
1554
1554
  var _this = _super.call(this, "Firmware Revision", FirmwareRevision.UUID, {
1555
- format: "string" /* STRING */,
1556
- perms: ["pr" /* PAIRED_READ */],
1555
+ format: "string" /* Formats.STRING */,
1556
+ perms: ["pr" /* Perms.PAIRED_READ */],
1557
1557
  }) || this;
1558
1558
  _this.value = _this.getDefaultValue();
1559
1559
  return _this;
@@ -1567,11 +1567,11 @@ Characteristic_1.Characteristic.FirmwareRevision = FirmwareRevision;
1567
1567
  * Characteristic "Firmware Update Readiness"
1568
1568
  */
1569
1569
  var FirmwareUpdateReadiness = /** @class */ (function (_super) {
1570
- (0, tslib_1.__extends)(FirmwareUpdateReadiness, _super);
1570
+ tslib_1.__extends(FirmwareUpdateReadiness, _super);
1571
1571
  function FirmwareUpdateReadiness() {
1572
1572
  var _this = _super.call(this, "Firmware Update Readiness", FirmwareUpdateReadiness.UUID, {
1573
- format: "tlv8" /* TLV8 */,
1574
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1573
+ format: "tlv8" /* Formats.TLV8 */,
1574
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1575
1575
  }) || this;
1576
1576
  _this.value = _this.getDefaultValue();
1577
1577
  return _this;
@@ -1585,11 +1585,11 @@ Characteristic_1.Characteristic.FirmwareUpdateReadiness = FirmwareUpdateReadines
1585
1585
  * Characteristic "Firmware Update Status"
1586
1586
  */
1587
1587
  var FirmwareUpdateStatus = /** @class */ (function (_super) {
1588
- (0, tslib_1.__extends)(FirmwareUpdateStatus, _super);
1588
+ tslib_1.__extends(FirmwareUpdateStatus, _super);
1589
1589
  function FirmwareUpdateStatus() {
1590
1590
  var _this = _super.call(this, "Firmware Update Status", FirmwareUpdateStatus.UUID, {
1591
- format: "tlv8" /* TLV8 */,
1592
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1591
+ format: "tlv8" /* Formats.TLV8 */,
1592
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1593
1593
  }) || this;
1594
1594
  _this.value = _this.getDefaultValue();
1595
1595
  return _this;
@@ -1604,11 +1604,11 @@ Characteristic_1.Characteristic.FirmwareUpdateStatus = FirmwareUpdateStatus;
1604
1604
  * @since iOS 15
1605
1605
  */
1606
1606
  var HardwareFinish = /** @class */ (function (_super) {
1607
- (0, tslib_1.__extends)(HardwareFinish, _super);
1607
+ tslib_1.__extends(HardwareFinish, _super);
1608
1608
  function HardwareFinish() {
1609
1609
  var _this = _super.call(this, "Hardware Finish", HardwareFinish.UUID, {
1610
- format: "tlv8" /* TLV8 */,
1611
- perms: ["pr" /* PAIRED_READ */],
1610
+ format: "tlv8" /* Formats.TLV8 */,
1611
+ perms: ["pr" /* Perms.PAIRED_READ */],
1612
1612
  }) || this;
1613
1613
  _this.value = _this.getDefaultValue();
1614
1614
  return _this;
@@ -1622,11 +1622,11 @@ Characteristic_1.Characteristic.HardwareFinish = HardwareFinish;
1622
1622
  * Characteristic "Hardware Revision"
1623
1623
  */
1624
1624
  var HardwareRevision = /** @class */ (function (_super) {
1625
- (0, tslib_1.__extends)(HardwareRevision, _super);
1625
+ tslib_1.__extends(HardwareRevision, _super);
1626
1626
  function HardwareRevision() {
1627
1627
  var _this = _super.call(this, "Hardware Revision", HardwareRevision.UUID, {
1628
- format: "string" /* STRING */,
1629
- perms: ["pr" /* PAIRED_READ */],
1628
+ format: "string" /* Formats.STRING */,
1629
+ perms: ["pr" /* Perms.PAIRED_READ */],
1630
1630
  }) || this;
1631
1631
  _this.value = _this.getDefaultValue();
1632
1632
  return _this;
@@ -1641,11 +1641,11 @@ Characteristic_1.Characteristic.HardwareRevision = HardwareRevision;
1641
1641
  * @since iOS 14
1642
1642
  */
1643
1643
  var HeartBeat = /** @class */ (function (_super) {
1644
- (0, tslib_1.__extends)(HeartBeat, _super);
1644
+ tslib_1.__extends(HeartBeat, _super);
1645
1645
  function HeartBeat() {
1646
1646
  var _this = _super.call(this, "Heart Beat", HeartBeat.UUID, {
1647
- format: "uint32" /* UINT32 */,
1648
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1647
+ format: "uint32" /* Formats.UINT32 */,
1648
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1649
1649
  }) || this;
1650
1650
  _this.value = _this.getDefaultValue();
1651
1651
  return _this;
@@ -1659,12 +1659,12 @@ Characteristic_1.Characteristic.HeartBeat = HeartBeat;
1659
1659
  * Characteristic "Heating Threshold Temperature"
1660
1660
  */
1661
1661
  var HeatingThresholdTemperature = /** @class */ (function (_super) {
1662
- (0, tslib_1.__extends)(HeatingThresholdTemperature, _super);
1662
+ tslib_1.__extends(HeatingThresholdTemperature, _super);
1663
1663
  function HeatingThresholdTemperature() {
1664
1664
  var _this = _super.call(this, "Heating Threshold Temperature", HeatingThresholdTemperature.UUID, {
1665
- format: "float" /* FLOAT */,
1666
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1667
- unit: "celsius" /* CELSIUS */,
1665
+ format: "float" /* Formats.FLOAT */,
1666
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1667
+ unit: "celsius" /* Units.CELSIUS */,
1668
1668
  minValue: 0,
1669
1669
  maxValue: 25,
1670
1670
  minStep: 0.1,
@@ -1681,11 +1681,11 @@ Characteristic_1.Characteristic.HeatingThresholdTemperature = HeatingThresholdTe
1681
1681
  * Characteristic "Hold Position"
1682
1682
  */
1683
1683
  var HoldPosition = /** @class */ (function (_super) {
1684
- (0, tslib_1.__extends)(HoldPosition, _super);
1684
+ tslib_1.__extends(HoldPosition, _super);
1685
1685
  function HoldPosition() {
1686
1686
  var _this = _super.call(this, "Hold Position", HoldPosition.UUID, {
1687
- format: "bool" /* BOOL */,
1688
- perms: ["pw" /* PAIRED_WRITE */],
1687
+ format: "bool" /* Formats.BOOL */,
1688
+ perms: ["pw" /* Perms.PAIRED_WRITE */],
1689
1689
  }) || this;
1690
1690
  _this.value = _this.getDefaultValue();
1691
1691
  return _this;
@@ -1699,11 +1699,11 @@ Characteristic_1.Characteristic.HoldPosition = HoldPosition;
1699
1699
  * Characteristic "HomeKit Camera Active"
1700
1700
  */
1701
1701
  var HomeKitCameraActive = /** @class */ (function (_super) {
1702
- (0, tslib_1.__extends)(HomeKitCameraActive, _super);
1702
+ tslib_1.__extends(HomeKitCameraActive, _super);
1703
1703
  function HomeKitCameraActive() {
1704
1704
  var _this = _super.call(this, "HomeKit Camera Active", HomeKitCameraActive.UUID, {
1705
- format: "uint8" /* UINT8 */,
1706
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1705
+ format: "uint8" /* Formats.UINT8 */,
1706
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1707
1707
  minValue: 0,
1708
1708
  maxValue: 1,
1709
1709
  validValues: [0, 1],
@@ -1722,12 +1722,12 @@ Characteristic_1.Characteristic.HomeKitCameraActive = HomeKitCameraActive;
1722
1722
  * Characteristic "Hue"
1723
1723
  */
1724
1724
  var Hue = /** @class */ (function (_super) {
1725
- (0, tslib_1.__extends)(Hue, _super);
1725
+ tslib_1.__extends(Hue, _super);
1726
1726
  function Hue() {
1727
1727
  var _this = _super.call(this, "Hue", Hue.UUID, {
1728
- format: "float" /* FLOAT */,
1729
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1730
- unit: "arcdegrees" /* ARC_DEGREE */,
1728
+ format: "float" /* Formats.FLOAT */,
1729
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1730
+ unit: "arcdegrees" /* Units.ARC_DEGREE */,
1731
1731
  minValue: 0,
1732
1732
  maxValue: 360,
1733
1733
  minStep: 1,
@@ -1744,11 +1744,11 @@ Characteristic_1.Characteristic.Hue = Hue;
1744
1744
  * Characteristic "Identifier"
1745
1745
  */
1746
1746
  var Identifier = /** @class */ (function (_super) {
1747
- (0, tslib_1.__extends)(Identifier, _super);
1747
+ tslib_1.__extends(Identifier, _super);
1748
1748
  function Identifier() {
1749
1749
  var _this = _super.call(this, "Identifier", Identifier.UUID, {
1750
- format: "uint32" /* UINT32 */,
1751
- perms: ["pr" /* PAIRED_READ */],
1750
+ format: "uint32" /* Formats.UINT32 */,
1751
+ perms: ["pr" /* Perms.PAIRED_READ */],
1752
1752
  }) || this;
1753
1753
  _this.value = _this.getDefaultValue();
1754
1754
  return _this;
@@ -1762,11 +1762,11 @@ Characteristic_1.Characteristic.Identifier = Identifier;
1762
1762
  * Characteristic "Identify"
1763
1763
  */
1764
1764
  var Identify = /** @class */ (function (_super) {
1765
- (0, tslib_1.__extends)(Identify, _super);
1765
+ tslib_1.__extends(Identify, _super);
1766
1766
  function Identify() {
1767
1767
  var _this = _super.call(this, "Identify", Identify.UUID, {
1768
- format: "bool" /* BOOL */,
1769
- perms: ["pw" /* PAIRED_WRITE */],
1768
+ format: "bool" /* Formats.BOOL */,
1769
+ perms: ["pw" /* Perms.PAIRED_WRITE */],
1770
1770
  }) || this;
1771
1771
  _this.value = _this.getDefaultValue();
1772
1772
  return _this;
@@ -1780,11 +1780,11 @@ Characteristic_1.Characteristic.Identify = Identify;
1780
1780
  * Characteristic "Image Mirroring"
1781
1781
  */
1782
1782
  var ImageMirroring = /** @class */ (function (_super) {
1783
- (0, tslib_1.__extends)(ImageMirroring, _super);
1783
+ tslib_1.__extends(ImageMirroring, _super);
1784
1784
  function ImageMirroring() {
1785
1785
  var _this = _super.call(this, "Image Mirroring", ImageMirroring.UUID, {
1786
- format: "bool" /* BOOL */,
1787
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1786
+ format: "bool" /* Formats.BOOL */,
1787
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1788
1788
  }) || this;
1789
1789
  _this.value = _this.getDefaultValue();
1790
1790
  return _this;
@@ -1798,12 +1798,12 @@ Characteristic_1.Characteristic.ImageMirroring = ImageMirroring;
1798
1798
  * Characteristic "Image Rotation"
1799
1799
  */
1800
1800
  var ImageRotation = /** @class */ (function (_super) {
1801
- (0, tslib_1.__extends)(ImageRotation, _super);
1801
+ tslib_1.__extends(ImageRotation, _super);
1802
1802
  function ImageRotation() {
1803
1803
  var _this = _super.call(this, "Image Rotation", ImageRotation.UUID, {
1804
- format: "int" /* INT */,
1805
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1806
- unit: "arcdegrees" /* ARC_DEGREE */,
1804
+ format: "int" /* Formats.INT */,
1805
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1806
+ unit: "arcdegrees" /* Units.ARC_DEGREE */,
1807
1807
  minValue: 0,
1808
1808
  maxValue: 360,
1809
1809
  minStep: 1,
@@ -1820,11 +1820,11 @@ Characteristic_1.Characteristic.ImageRotation = ImageRotation;
1820
1820
  * Characteristic "Input Device Type"
1821
1821
  */
1822
1822
  var InputDeviceType = /** @class */ (function (_super) {
1823
- (0, tslib_1.__extends)(InputDeviceType, _super);
1823
+ tslib_1.__extends(InputDeviceType, _super);
1824
1824
  function InputDeviceType() {
1825
1825
  var _this = _super.call(this, "Input Device Type", InputDeviceType.UUID, {
1826
- format: "uint8" /* UINT8 */,
1827
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1826
+ format: "uint8" /* Formats.UINT8 */,
1827
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1828
1828
  minValue: 0,
1829
1829
  maxValue: 6,
1830
1830
  minStep: 1,
@@ -1848,11 +1848,11 @@ Characteristic_1.Characteristic.InputDeviceType = InputDeviceType;
1848
1848
  * Characteristic "Input Source Type"
1849
1849
  */
1850
1850
  var InputSourceType = /** @class */ (function (_super) {
1851
- (0, tslib_1.__extends)(InputSourceType, _super);
1851
+ tslib_1.__extends(InputSourceType, _super);
1852
1852
  function InputSourceType() {
1853
1853
  var _this = _super.call(this, "Input Source Type", InputSourceType.UUID, {
1854
- format: "uint8" /* UINT8 */,
1855
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1854
+ format: "uint8" /* Formats.UINT8 */,
1855
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1856
1856
  minValue: 0,
1857
1857
  maxValue: 10,
1858
1858
  minStep: 1,
@@ -1881,11 +1881,11 @@ Characteristic_1.Characteristic.InputSourceType = InputSourceType;
1881
1881
  * Characteristic "In Use"
1882
1882
  */
1883
1883
  var InUse = /** @class */ (function (_super) {
1884
- (0, tslib_1.__extends)(InUse, _super);
1884
+ tslib_1.__extends(InUse, _super);
1885
1885
  function InUse() {
1886
1886
  var _this = _super.call(this, "In Use", InUse.UUID, {
1887
- format: "uint8" /* UINT8 */,
1888
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1887
+ format: "uint8" /* Formats.UINT8 */,
1888
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1889
1889
  minValue: 0,
1890
1890
  maxValue: 1,
1891
1891
  minStep: 1,
@@ -1905,11 +1905,11 @@ Characteristic_1.Characteristic.InUse = InUse;
1905
1905
  * Characteristic "Is Configured"
1906
1906
  */
1907
1907
  var IsConfigured = /** @class */ (function (_super) {
1908
- (0, tslib_1.__extends)(IsConfigured, _super);
1908
+ tslib_1.__extends(IsConfigured, _super);
1909
1909
  function IsConfigured() {
1910
1910
  var _this = _super.call(this, "Is Configured", IsConfigured.UUID, {
1911
- format: "uint8" /* UINT8 */,
1912
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1911
+ format: "uint8" /* Formats.UINT8 */,
1912
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1913
1913
  minValue: 0,
1914
1914
  maxValue: 1,
1915
1915
  minStep: 1,
@@ -1929,11 +1929,11 @@ Characteristic_1.Characteristic.IsConfigured = IsConfigured;
1929
1929
  * Characteristic "Leak Detected"
1930
1930
  */
1931
1931
  var LeakDetected = /** @class */ (function (_super) {
1932
- (0, tslib_1.__extends)(LeakDetected, _super);
1932
+ tslib_1.__extends(LeakDetected, _super);
1933
1933
  function LeakDetected() {
1934
1934
  var _this = _super.call(this, "Leak Detected", LeakDetected.UUID, {
1935
- format: "uint8" /* UINT8 */,
1936
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1935
+ format: "uint8" /* Formats.UINT8 */,
1936
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1937
1937
  minValue: 0,
1938
1938
  maxValue: 1,
1939
1939
  minStep: 1,
@@ -1954,11 +1954,11 @@ Characteristic_1.Characteristic.LeakDetected = LeakDetected;
1954
1954
  * @deprecated Removed and not used anymore
1955
1955
  */
1956
1956
  var LinkQuality = /** @class */ (function (_super) {
1957
- (0, tslib_1.__extends)(LinkQuality, _super);
1957
+ tslib_1.__extends(LinkQuality, _super);
1958
1958
  function LinkQuality() {
1959
1959
  var _this = _super.call(this, "Link Quality", LinkQuality.UUID, {
1960
- format: "uint8" /* UINT8 */,
1961
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
1960
+ format: "uint8" /* Formats.UINT8 */,
1961
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
1962
1962
  minValue: 1,
1963
1963
  maxValue: 4,
1964
1964
  }) || this;
@@ -1975,11 +1975,11 @@ Characteristic_1.Characteristic.LinkQuality = LinkQuality;
1975
1975
  * Characteristic "List Pairings"
1976
1976
  */
1977
1977
  var ListPairings = /** @class */ (function (_super) {
1978
- (0, tslib_1.__extends)(ListPairings, _super);
1978
+ tslib_1.__extends(ListPairings, _super);
1979
1979
  function ListPairings() {
1980
1980
  var _this = _super.call(this, "List Pairings", ListPairings.UUID, {
1981
- format: "tlv8" /* TLV8 */,
1982
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
1981
+ format: "tlv8" /* Formats.TLV8 */,
1982
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
1983
1983
  }) || this;
1984
1984
  _this.value = _this.getDefaultValue();
1985
1985
  return _this;
@@ -1993,11 +1993,11 @@ Characteristic_1.Characteristic.ListPairings = ListPairings;
1993
1993
  * Characteristic "Lock Control Point"
1994
1994
  */
1995
1995
  var LockControlPoint = /** @class */ (function (_super) {
1996
- (0, tslib_1.__extends)(LockControlPoint, _super);
1996
+ tslib_1.__extends(LockControlPoint, _super);
1997
1997
  function LockControlPoint() {
1998
1998
  var _this = _super.call(this, "Lock Control Point", LockControlPoint.UUID, {
1999
- format: "tlv8" /* TLV8 */,
2000
- perms: ["pw" /* PAIRED_WRITE */],
1999
+ format: "tlv8" /* Formats.TLV8 */,
2000
+ perms: ["pw" /* Perms.PAIRED_WRITE */],
2001
2001
  }) || this;
2002
2002
  _this.value = _this.getDefaultValue();
2003
2003
  return _this;
@@ -2011,11 +2011,11 @@ Characteristic_1.Characteristic.LockControlPoint = LockControlPoint;
2011
2011
  * Characteristic "Lock Current State"
2012
2012
  */
2013
2013
  var LockCurrentState = /** @class */ (function (_super) {
2014
- (0, tslib_1.__extends)(LockCurrentState, _super);
2014
+ tslib_1.__extends(LockCurrentState, _super);
2015
2015
  function LockCurrentState() {
2016
2016
  var _this = _super.call(this, "Lock Current State", LockCurrentState.UUID, {
2017
- format: "uint8" /* UINT8 */,
2018
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2017
+ format: "uint8" /* Formats.UINT8 */,
2018
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2019
2019
  minValue: 0,
2020
2020
  maxValue: 3,
2021
2021
  minStep: 1,
@@ -2037,11 +2037,11 @@ Characteristic_1.Characteristic.LockCurrentState = LockCurrentState;
2037
2037
  * Characteristic "Lock Last Known Action"
2038
2038
  */
2039
2039
  var LockLastKnownAction = /** @class */ (function (_super) {
2040
- (0, tslib_1.__extends)(LockLastKnownAction, _super);
2040
+ tslib_1.__extends(LockLastKnownAction, _super);
2041
2041
  function LockLastKnownAction() {
2042
2042
  var _this = _super.call(this, "Lock Last Known Action", LockLastKnownAction.UUID, {
2043
- format: "uint8" /* UINT8 */,
2044
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2043
+ format: "uint8" /* Formats.UINT8 */,
2044
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2045
2045
  minValue: 0,
2046
2046
  maxValue: 10,
2047
2047
  minStep: 1,
@@ -2070,12 +2070,12 @@ Characteristic_1.Characteristic.LockLastKnownAction = LockLastKnownAction;
2070
2070
  * Characteristic "Lock Management Auto Security Timeout"
2071
2071
  */
2072
2072
  var LockManagementAutoSecurityTimeout = /** @class */ (function (_super) {
2073
- (0, tslib_1.__extends)(LockManagementAutoSecurityTimeout, _super);
2073
+ tslib_1.__extends(LockManagementAutoSecurityTimeout, _super);
2074
2074
  function LockManagementAutoSecurityTimeout() {
2075
2075
  var _this = _super.call(this, "Lock Management Auto Security Timeout", LockManagementAutoSecurityTimeout.UUID, {
2076
- format: "uint32" /* UINT32 */,
2077
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2078
- unit: "seconds" /* SECONDS */,
2076
+ format: "uint32" /* Formats.UINT32 */,
2077
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2078
+ unit: "seconds" /* Units.SECONDS */,
2079
2079
  }) || this;
2080
2080
  _this.value = _this.getDefaultValue();
2081
2081
  return _this;
@@ -2089,11 +2089,11 @@ Characteristic_1.Characteristic.LockManagementAutoSecurityTimeout = LockManageme
2089
2089
  * Characteristic "Lock Physical Controls"
2090
2090
  */
2091
2091
  var LockPhysicalControls = /** @class */ (function (_super) {
2092
- (0, tslib_1.__extends)(LockPhysicalControls, _super);
2092
+ tslib_1.__extends(LockPhysicalControls, _super);
2093
2093
  function LockPhysicalControls() {
2094
2094
  var _this = _super.call(this, "Lock Physical Controls", LockPhysicalControls.UUID, {
2095
- format: "uint8" /* UINT8 */,
2096
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2095
+ format: "uint8" /* Formats.UINT8 */,
2096
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2097
2097
  minValue: 0,
2098
2098
  maxValue: 1,
2099
2099
  minStep: 1,
@@ -2113,11 +2113,11 @@ Characteristic_1.Characteristic.LockPhysicalControls = LockPhysicalControls;
2113
2113
  * Characteristic "Lock Target State"
2114
2114
  */
2115
2115
  var LockTargetState = /** @class */ (function (_super) {
2116
- (0, tslib_1.__extends)(LockTargetState, _super);
2116
+ tslib_1.__extends(LockTargetState, _super);
2117
2117
  function LockTargetState() {
2118
2118
  var _this = _super.call(this, "Lock Target State", LockTargetState.UUID, {
2119
- format: "uint8" /* UINT8 */,
2120
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2119
+ format: "uint8" /* Formats.UINT8 */,
2120
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2121
2121
  minValue: 0,
2122
2122
  maxValue: 1,
2123
2123
  minStep: 1,
@@ -2137,11 +2137,11 @@ Characteristic_1.Characteristic.LockTargetState = LockTargetState;
2137
2137
  * Characteristic "Logs"
2138
2138
  */
2139
2139
  var Logs = /** @class */ (function (_super) {
2140
- (0, tslib_1.__extends)(Logs, _super);
2140
+ tslib_1.__extends(Logs, _super);
2141
2141
  function Logs() {
2142
2142
  var _this = _super.call(this, "Logs", Logs.UUID, {
2143
- format: "tlv8" /* TLV8 */,
2144
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2143
+ format: "tlv8" /* Formats.TLV8 */,
2144
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2145
2145
  }) || this;
2146
2146
  _this.value = _this.getDefaultValue();
2147
2147
  return _this;
@@ -2156,11 +2156,11 @@ Characteristic_1.Characteristic.Logs = Logs;
2156
2156
  * @since iOS 14
2157
2157
  */
2158
2158
  var MACRetransmissionMaximum = /** @class */ (function (_super) {
2159
- (0, tslib_1.__extends)(MACRetransmissionMaximum, _super);
2159
+ tslib_1.__extends(MACRetransmissionMaximum, _super);
2160
2160
  function MACRetransmissionMaximum() {
2161
2161
  var _this = _super.call(this, "MAC Retransmission Maximum", MACRetransmissionMaximum.UUID, {
2162
- format: "uint8" /* UINT8 */,
2163
- perms: ["pr" /* PAIRED_READ */],
2162
+ format: "uint8" /* Formats.UINT8 */,
2163
+ perms: ["pr" /* Perms.PAIRED_READ */],
2164
2164
  }) || this;
2165
2165
  _this.value = _this.getDefaultValue();
2166
2166
  return _this;
@@ -2174,11 +2174,11 @@ Characteristic_1.Characteristic.MACRetransmissionMaximum = MACRetransmissionMaxi
2174
2174
  * Characteristic "MAC Transmission Counters"
2175
2175
  */
2176
2176
  var MACTransmissionCounters = /** @class */ (function (_super) {
2177
- (0, tslib_1.__extends)(MACTransmissionCounters, _super);
2177
+ tslib_1.__extends(MACTransmissionCounters, _super);
2178
2178
  function MACTransmissionCounters() {
2179
2179
  var _this = _super.call(this, "MAC Transmission Counters", MACTransmissionCounters.UUID, {
2180
- format: "data" /* DATA */,
2181
- perms: ["pr" /* PAIRED_READ */],
2180
+ format: "data" /* Formats.DATA */,
2181
+ perms: ["pr" /* Perms.PAIRED_READ */],
2182
2182
  }) || this;
2183
2183
  _this.value = _this.getDefaultValue();
2184
2184
  return _this;
@@ -2192,11 +2192,11 @@ Characteristic_1.Characteristic.MACTransmissionCounters = MACTransmissionCounter
2192
2192
  * Characteristic "Managed Network Enable"
2193
2193
  */
2194
2194
  var ManagedNetworkEnable = /** @class */ (function (_super) {
2195
- (0, tslib_1.__extends)(ManagedNetworkEnable, _super);
2195
+ tslib_1.__extends(ManagedNetworkEnable, _super);
2196
2196
  function ManagedNetworkEnable() {
2197
2197
  var _this = _super.call(this, "Managed Network Enable", ManagedNetworkEnable.UUID, {
2198
- format: "uint8" /* UINT8 */,
2199
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "tw" /* TIMED_WRITE */],
2198
+ format: "uint8" /* Formats.UINT8 */,
2199
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */],
2200
2200
  minValue: 0,
2201
2201
  maxValue: 1,
2202
2202
  validValues: [0, 1],
@@ -2215,11 +2215,11 @@ Characteristic_1.Characteristic.ManagedNetworkEnable = ManagedNetworkEnable;
2215
2215
  * Characteristic "Manually Disabled"
2216
2216
  */
2217
2217
  var ManuallyDisabled = /** @class */ (function (_super) {
2218
- (0, tslib_1.__extends)(ManuallyDisabled, _super);
2218
+ tslib_1.__extends(ManuallyDisabled, _super);
2219
2219
  function ManuallyDisabled() {
2220
2220
  var _this = _super.call(this, "Manually Disabled", ManuallyDisabled.UUID, {
2221
- format: "bool" /* BOOL */,
2222
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2221
+ format: "bool" /* Formats.BOOL */,
2222
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2223
2223
  validValues: [0, 1],
2224
2224
  }) || this;
2225
2225
  _this.value = _this.getDefaultValue();
@@ -2236,11 +2236,11 @@ Characteristic_1.Characteristic.ManuallyDisabled = ManuallyDisabled;
2236
2236
  * Characteristic "Manufacturer"
2237
2237
  */
2238
2238
  var Manufacturer = /** @class */ (function (_super) {
2239
- (0, tslib_1.__extends)(Manufacturer, _super);
2239
+ tslib_1.__extends(Manufacturer, _super);
2240
2240
  function Manufacturer() {
2241
2241
  var _this = _super.call(this, "Manufacturer", Manufacturer.UUID, {
2242
- format: "string" /* STRING */,
2243
- perms: ["pr" /* PAIRED_READ */],
2242
+ format: "string" /* Formats.STRING */,
2243
+ perms: ["pr" /* Perms.PAIRED_READ */],
2244
2244
  maxLen: 64,
2245
2245
  }) || this;
2246
2246
  _this.value = _this.getDefaultValue();
@@ -2256,11 +2256,11 @@ Characteristic_1.Characteristic.Manufacturer = Manufacturer;
2256
2256
  * @since iOS 14
2257
2257
  */
2258
2258
  var MaximumTransmitPower = /** @class */ (function (_super) {
2259
- (0, tslib_1.__extends)(MaximumTransmitPower, _super);
2259
+ tslib_1.__extends(MaximumTransmitPower, _super);
2260
2260
  function MaximumTransmitPower() {
2261
2261
  var _this = _super.call(this, "Maximum Transmit Power", MaximumTransmitPower.UUID, {
2262
- format: "int" /* INT */,
2263
- perms: ["pr" /* PAIRED_READ */],
2262
+ format: "int" /* Formats.INT */,
2263
+ perms: ["pr" /* Perms.PAIRED_READ */],
2264
2264
  }) || this;
2265
2265
  _this.value = _this.getDefaultValue();
2266
2266
  return _this;
@@ -2274,11 +2274,11 @@ Characteristic_1.Characteristic.MaximumTransmitPower = MaximumTransmitPower;
2274
2274
  * Characteristic "Metrics Buffer Full State"
2275
2275
  */
2276
2276
  var MetricsBufferFullState = /** @class */ (function (_super) {
2277
- (0, tslib_1.__extends)(MetricsBufferFullState, _super);
2277
+ tslib_1.__extends(MetricsBufferFullState, _super);
2278
2278
  function MetricsBufferFullState() {
2279
2279
  var _this = _super.call(this, "Metrics Buffer Full State", MetricsBufferFullState.UUID, {
2280
- format: "bool" /* BOOL */,
2281
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2280
+ format: "bool" /* Formats.BOOL */,
2281
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2282
2282
  }) || this;
2283
2283
  _this.value = _this.getDefaultValue();
2284
2284
  return _this;
@@ -2292,11 +2292,11 @@ Characteristic_1.Characteristic.MetricsBufferFullState = MetricsBufferFullState;
2292
2292
  * Characteristic "Model"
2293
2293
  */
2294
2294
  var Model = /** @class */ (function (_super) {
2295
- (0, tslib_1.__extends)(Model, _super);
2295
+ tslib_1.__extends(Model, _super);
2296
2296
  function Model() {
2297
2297
  var _this = _super.call(this, "Model", Model.UUID, {
2298
- format: "string" /* STRING */,
2299
- perms: ["pr" /* PAIRED_READ */],
2298
+ format: "string" /* Formats.STRING */,
2299
+ perms: ["pr" /* Perms.PAIRED_READ */],
2300
2300
  maxLen: 64,
2301
2301
  }) || this;
2302
2302
  _this.value = _this.getDefaultValue();
@@ -2311,11 +2311,11 @@ Characteristic_1.Characteristic.Model = Model;
2311
2311
  * Characteristic "Motion Detected"
2312
2312
  */
2313
2313
  var MotionDetected = /** @class */ (function (_super) {
2314
- (0, tslib_1.__extends)(MotionDetected, _super);
2314
+ tslib_1.__extends(MotionDetected, _super);
2315
2315
  function MotionDetected() {
2316
2316
  var _this = _super.call(this, "Motion Detected", MotionDetected.UUID, {
2317
- format: "bool" /* BOOL */,
2318
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2317
+ format: "bool" /* Formats.BOOL */,
2318
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2319
2319
  }) || this;
2320
2320
  _this.value = _this.getDefaultValue();
2321
2321
  return _this;
@@ -2329,11 +2329,11 @@ Characteristic_1.Characteristic.MotionDetected = MotionDetected;
2329
2329
  * Characteristic "Multifunction Button"
2330
2330
  */
2331
2331
  var MultifunctionButton = /** @class */ (function (_super) {
2332
- (0, tslib_1.__extends)(MultifunctionButton, _super);
2332
+ tslib_1.__extends(MultifunctionButton, _super);
2333
2333
  function MultifunctionButton() {
2334
2334
  var _this = _super.call(this, "Multifunction Button", MultifunctionButton.UUID, {
2335
- format: "uint8" /* UINT8 */,
2336
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2335
+ format: "uint8" /* Formats.UINT8 */,
2336
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2337
2337
  minValue: 0,
2338
2338
  maxValue: 1,
2339
2339
  }) || this;
@@ -2349,11 +2349,11 @@ Characteristic_1.Characteristic.MultifunctionButton = MultifunctionButton;
2349
2349
  * Characteristic "Mute"
2350
2350
  */
2351
2351
  var Mute = /** @class */ (function (_super) {
2352
- (0, tslib_1.__extends)(Mute, _super);
2352
+ tslib_1.__extends(Mute, _super);
2353
2353
  function Mute() {
2354
2354
  var _this = _super.call(this, "Mute", Mute.UUID, {
2355
- format: "bool" /* BOOL */,
2356
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2355
+ format: "bool" /* Formats.BOOL */,
2356
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2357
2357
  }) || this;
2358
2358
  _this.value = _this.getDefaultValue();
2359
2359
  return _this;
@@ -2367,11 +2367,11 @@ Characteristic_1.Characteristic.Mute = Mute;
2367
2367
  * Characteristic "Name"
2368
2368
  */
2369
2369
  var Name = /** @class */ (function (_super) {
2370
- (0, tslib_1.__extends)(Name, _super);
2370
+ tslib_1.__extends(Name, _super);
2371
2371
  function Name() {
2372
2372
  var _this = _super.call(this, "Name", Name.UUID, {
2373
- format: "string" /* STRING */,
2374
- perms: ["pr" /* PAIRED_READ */],
2373
+ format: "string" /* Formats.STRING */,
2374
+ perms: ["pr" /* Perms.PAIRED_READ */],
2375
2375
  maxLen: 64,
2376
2376
  }) || this;
2377
2377
  _this.value = _this.getDefaultValue();
@@ -2386,11 +2386,11 @@ Characteristic_1.Characteristic.Name = Name;
2386
2386
  * Characteristic "Network Access Violation Control"
2387
2387
  */
2388
2388
  var NetworkAccessViolationControl = /** @class */ (function (_super) {
2389
- (0, tslib_1.__extends)(NetworkAccessViolationControl, _super);
2389
+ tslib_1.__extends(NetworkAccessViolationControl, _super);
2390
2390
  function NetworkAccessViolationControl() {
2391
2391
  var _this = _super.call(this, "Network Access Violation Control", NetworkAccessViolationControl.UUID, {
2392
- format: "tlv8" /* TLV8 */,
2393
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "tw" /* TIMED_WRITE */, "wr" /* WRITE_RESPONSE */],
2392
+ format: "tlv8" /* Formats.TLV8 */,
2393
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
2394
2394
  }) || this;
2395
2395
  _this.value = _this.getDefaultValue();
2396
2396
  return _this;
@@ -2404,11 +2404,11 @@ Characteristic_1.Characteristic.NetworkAccessViolationControl = NetworkAccessVio
2404
2404
  * Characteristic "Network Client Profile Control"
2405
2405
  */
2406
2406
  var NetworkClientProfileControl = /** @class */ (function (_super) {
2407
- (0, tslib_1.__extends)(NetworkClientProfileControl, _super);
2407
+ tslib_1.__extends(NetworkClientProfileControl, _super);
2408
2408
  function NetworkClientProfileControl() {
2409
2409
  var _this = _super.call(this, "Network Client Profile Control", NetworkClientProfileControl.UUID, {
2410
- format: "tlv8" /* TLV8 */,
2411
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "tw" /* TIMED_WRITE */, "wr" /* WRITE_RESPONSE */],
2410
+ format: "tlv8" /* Formats.TLV8 */,
2411
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
2412
2412
  }) || this;
2413
2413
  _this.value = _this.getDefaultValue();
2414
2414
  return _this;
@@ -2422,11 +2422,11 @@ Characteristic_1.Characteristic.NetworkClientProfileControl = NetworkClientProfi
2422
2422
  * Characteristic "Network Client Status Control"
2423
2423
  */
2424
2424
  var NetworkClientStatusControl = /** @class */ (function (_super) {
2425
- (0, tslib_1.__extends)(NetworkClientStatusControl, _super);
2425
+ tslib_1.__extends(NetworkClientStatusControl, _super);
2426
2426
  function NetworkClientStatusControl() {
2427
2427
  var _this = _super.call(this, "Network Client Status Control", NetworkClientStatusControl.UUID, {
2428
- format: "tlv8" /* TLV8 */,
2429
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "wr" /* WRITE_RESPONSE */],
2428
+ format: "tlv8" /* Formats.TLV8 */,
2429
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
2430
2430
  }) || this;
2431
2431
  _this.value = _this.getDefaultValue();
2432
2432
  return _this;
@@ -2441,11 +2441,11 @@ Characteristic_1.Characteristic.NetworkClientStatusControl = NetworkClientStatus
2441
2441
  * @since iOS 15
2442
2442
  */
2443
2443
  var NFCAccessControlPoint = /** @class */ (function (_super) {
2444
- (0, tslib_1.__extends)(NFCAccessControlPoint, _super);
2444
+ tslib_1.__extends(NFCAccessControlPoint, _super);
2445
2445
  function NFCAccessControlPoint() {
2446
2446
  var _this = _super.call(this, "NFC Access Control Point", NFCAccessControlPoint.UUID, {
2447
- format: "tlv8" /* TLV8 */,
2448
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "wr" /* WRITE_RESPONSE */],
2447
+ format: "tlv8" /* Formats.TLV8 */,
2448
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
2449
2449
  }) || this;
2450
2450
  _this.value = _this.getDefaultValue();
2451
2451
  return _this;
@@ -2460,11 +2460,11 @@ Characteristic_1.Characteristic.NFCAccessControlPoint = NFCAccessControlPoint;
2460
2460
  * @since iOS 15
2461
2461
  */
2462
2462
  var NFCAccessSupportedConfiguration = /** @class */ (function (_super) {
2463
- (0, tslib_1.__extends)(NFCAccessSupportedConfiguration, _super);
2463
+ tslib_1.__extends(NFCAccessSupportedConfiguration, _super);
2464
2464
  function NFCAccessSupportedConfiguration() {
2465
2465
  var _this = _super.call(this, "NFC Access Supported Configuration", NFCAccessSupportedConfiguration.UUID, {
2466
- format: "tlv8" /* TLV8 */,
2467
- perms: ["pr" /* PAIRED_READ */],
2466
+ format: "tlv8" /* Formats.TLV8 */,
2467
+ perms: ["pr" /* Perms.PAIRED_READ */],
2468
2468
  }) || this;
2469
2469
  _this.value = _this.getDefaultValue();
2470
2470
  return _this;
@@ -2478,11 +2478,11 @@ Characteristic_1.Characteristic.NFCAccessSupportedConfiguration = NFCAccessSuppo
2478
2478
  * Characteristic "Night Vision"
2479
2479
  */
2480
2480
  var NightVision = /** @class */ (function (_super) {
2481
- (0, tslib_1.__extends)(NightVision, _super);
2481
+ tslib_1.__extends(NightVision, _super);
2482
2482
  function NightVision() {
2483
2483
  var _this = _super.call(this, "Night Vision", NightVision.UUID, {
2484
- format: "bool" /* BOOL */,
2485
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "tw" /* TIMED_WRITE */],
2484
+ format: "bool" /* Formats.BOOL */,
2485
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */],
2486
2486
  }) || this;
2487
2487
  _this.value = _this.getDefaultValue();
2488
2488
  return _this;
@@ -2496,11 +2496,11 @@ Characteristic_1.Characteristic.NightVision = NightVision;
2496
2496
  * Characteristic "Nitrogen Dioxide Density"
2497
2497
  */
2498
2498
  var NitrogenDioxideDensity = /** @class */ (function (_super) {
2499
- (0, tslib_1.__extends)(NitrogenDioxideDensity, _super);
2499
+ tslib_1.__extends(NitrogenDioxideDensity, _super);
2500
2500
  function NitrogenDioxideDensity() {
2501
2501
  var _this = _super.call(this, "Nitrogen Dioxide Density", NitrogenDioxideDensity.UUID, {
2502
- format: "float" /* FLOAT */,
2503
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2502
+ format: "float" /* Formats.FLOAT */,
2503
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2504
2504
  minValue: 0,
2505
2505
  maxValue: 1000,
2506
2506
  minStep: 1,
@@ -2517,11 +2517,11 @@ Characteristic_1.Characteristic.NitrogenDioxideDensity = NitrogenDioxideDensity;
2517
2517
  * Characteristic "Obstruction Detected"
2518
2518
  */
2519
2519
  var ObstructionDetected = /** @class */ (function (_super) {
2520
- (0, tslib_1.__extends)(ObstructionDetected, _super);
2520
+ tslib_1.__extends(ObstructionDetected, _super);
2521
2521
  function ObstructionDetected() {
2522
2522
  var _this = _super.call(this, "Obstruction Detected", ObstructionDetected.UUID, {
2523
- format: "bool" /* BOOL */,
2524
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2523
+ format: "bool" /* Formats.BOOL */,
2524
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2525
2525
  }) || this;
2526
2526
  _this.value = _this.getDefaultValue();
2527
2527
  return _this;
@@ -2535,11 +2535,11 @@ Characteristic_1.Characteristic.ObstructionDetected = ObstructionDetected;
2535
2535
  * Characteristic "Occupancy Detected"
2536
2536
  */
2537
2537
  var OccupancyDetected = /** @class */ (function (_super) {
2538
- (0, tslib_1.__extends)(OccupancyDetected, _super);
2538
+ tslib_1.__extends(OccupancyDetected, _super);
2539
2539
  function OccupancyDetected() {
2540
2540
  var _this = _super.call(this, "Occupancy Detected", OccupancyDetected.UUID, {
2541
- format: "uint8" /* UINT8 */,
2542
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2541
+ format: "uint8" /* Formats.UINT8 */,
2542
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2543
2543
  minValue: 0,
2544
2544
  maxValue: 1,
2545
2545
  minStep: 1,
@@ -2559,11 +2559,11 @@ Characteristic_1.Characteristic.OccupancyDetected = OccupancyDetected;
2559
2559
  * Characteristic "On"
2560
2560
  */
2561
2561
  var On = /** @class */ (function (_super) {
2562
- (0, tslib_1.__extends)(On, _super);
2562
+ tslib_1.__extends(On, _super);
2563
2563
  function On() {
2564
2564
  var _this = _super.call(this, "On", On.UUID, {
2565
- format: "bool" /* BOOL */,
2566
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2565
+ format: "bool" /* Formats.BOOL */,
2566
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2567
2567
  }) || this;
2568
2568
  _this.value = _this.getDefaultValue();
2569
2569
  return _this;
@@ -2578,11 +2578,11 @@ Characteristic_1.Characteristic.On = On;
2578
2578
  * @since iOS 14
2579
2579
  */
2580
2580
  var OperatingStateResponse = /** @class */ (function (_super) {
2581
- (0, tslib_1.__extends)(OperatingStateResponse, _super);
2581
+ tslib_1.__extends(OperatingStateResponse, _super);
2582
2582
  function OperatingStateResponse() {
2583
2583
  var _this = _super.call(this, "Operating State Response", OperatingStateResponse.UUID, {
2584
- format: "tlv8" /* TLV8 */,
2585
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2584
+ format: "tlv8" /* Formats.TLV8 */,
2585
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2586
2586
  }) || this;
2587
2587
  _this.value = _this.getDefaultValue();
2588
2588
  return _this;
@@ -2596,11 +2596,11 @@ Characteristic_1.Characteristic.OperatingStateResponse = OperatingStateResponse;
2596
2596
  * Characteristic "Optical Zoom"
2597
2597
  */
2598
2598
  var OpticalZoom = /** @class */ (function (_super) {
2599
- (0, tslib_1.__extends)(OpticalZoom, _super);
2599
+ tslib_1.__extends(OpticalZoom, _super);
2600
2600
  function OpticalZoom() {
2601
2601
  var _this = _super.call(this, "Optical Zoom", OpticalZoom.UUID, {
2602
- format: "float" /* FLOAT */,
2603
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2602
+ format: "float" /* Formats.FLOAT */,
2603
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2604
2604
  minStep: 0.1,
2605
2605
  }) || this;
2606
2606
  _this.value = _this.getDefaultValue();
@@ -2615,11 +2615,11 @@ Characteristic_1.Characteristic.OpticalZoom = OpticalZoom;
2615
2615
  * Characteristic "Outlet In Use"
2616
2616
  */
2617
2617
  var OutletInUse = /** @class */ (function (_super) {
2618
- (0, tslib_1.__extends)(OutletInUse, _super);
2618
+ tslib_1.__extends(OutletInUse, _super);
2619
2619
  function OutletInUse() {
2620
2620
  var _this = _super.call(this, "Outlet In Use", OutletInUse.UUID, {
2621
- format: "bool" /* BOOL */,
2622
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2621
+ format: "bool" /* Formats.BOOL */,
2622
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2623
2623
  }) || this;
2624
2624
  _this.value = _this.getDefaultValue();
2625
2625
  return _this;
@@ -2633,11 +2633,11 @@ Characteristic_1.Characteristic.OutletInUse = OutletInUse;
2633
2633
  * Characteristic "Ozone Density"
2634
2634
  */
2635
2635
  var OzoneDensity = /** @class */ (function (_super) {
2636
- (0, tslib_1.__extends)(OzoneDensity, _super);
2636
+ tslib_1.__extends(OzoneDensity, _super);
2637
2637
  function OzoneDensity() {
2638
2638
  var _this = _super.call(this, "Ozone Density", OzoneDensity.UUID, {
2639
- format: "float" /* FLOAT */,
2640
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2639
+ format: "float" /* Formats.FLOAT */,
2640
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2641
2641
  minValue: 0,
2642
2642
  maxValue: 1000,
2643
2643
  minStep: 1,
@@ -2654,11 +2654,11 @@ Characteristic_1.Characteristic.OzoneDensity = OzoneDensity;
2654
2654
  * Characteristic "Pairing Features"
2655
2655
  */
2656
2656
  var PairingFeatures = /** @class */ (function (_super) {
2657
- (0, tslib_1.__extends)(PairingFeatures, _super);
2657
+ tslib_1.__extends(PairingFeatures, _super);
2658
2658
  function PairingFeatures() {
2659
2659
  var _this = _super.call(this, "Pairing Features", PairingFeatures.UUID, {
2660
- format: "uint8" /* UINT8 */,
2661
- perms: ["pr" /* PAIRED_READ */],
2660
+ format: "uint8" /* Formats.UINT8 */,
2661
+ perms: ["pr" /* Perms.PAIRED_READ */],
2662
2662
  }) || this;
2663
2663
  _this.value = _this.getDefaultValue();
2664
2664
  return _this;
@@ -2672,11 +2672,11 @@ Characteristic_1.Characteristic.PairingFeatures = PairingFeatures;
2672
2672
  * Characteristic "Pair Setup"
2673
2673
  */
2674
2674
  var PairSetup = /** @class */ (function (_super) {
2675
- (0, tslib_1.__extends)(PairSetup, _super);
2675
+ tslib_1.__extends(PairSetup, _super);
2676
2676
  function PairSetup() {
2677
2677
  var _this = _super.call(this, "Pair Setup", PairSetup.UUID, {
2678
- format: "tlv8" /* TLV8 */,
2679
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2678
+ format: "tlv8" /* Formats.TLV8 */,
2679
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2680
2680
  }) || this;
2681
2681
  _this.value = _this.getDefaultValue();
2682
2682
  return _this;
@@ -2690,11 +2690,11 @@ Characteristic_1.Characteristic.PairSetup = PairSetup;
2690
2690
  * Characteristic "Pair Verify"
2691
2691
  */
2692
2692
  var PairVerify = /** @class */ (function (_super) {
2693
- (0, tslib_1.__extends)(PairVerify, _super);
2693
+ tslib_1.__extends(PairVerify, _super);
2694
2694
  function PairVerify() {
2695
2695
  var _this = _super.call(this, "Pair Verify", PairVerify.UUID, {
2696
- format: "tlv8" /* TLV8 */,
2697
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2696
+ format: "tlv8" /* Formats.TLV8 */,
2697
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2698
2698
  }) || this;
2699
2699
  _this.value = _this.getDefaultValue();
2700
2700
  return _this;
@@ -2708,11 +2708,11 @@ Characteristic_1.Characteristic.PairVerify = PairVerify;
2708
2708
  * Characteristic "Password Setting"
2709
2709
  */
2710
2710
  var PasswordSetting = /** @class */ (function (_super) {
2711
- (0, tslib_1.__extends)(PasswordSetting, _super);
2711
+ tslib_1.__extends(PasswordSetting, _super);
2712
2712
  function PasswordSetting() {
2713
2713
  var _this = _super.call(this, "Password Setting", PasswordSetting.UUID, {
2714
- format: "tlv8" /* TLV8 */,
2715
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2714
+ format: "tlv8" /* Formats.TLV8 */,
2715
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2716
2716
  }) || this;
2717
2717
  _this.value = _this.getDefaultValue();
2718
2718
  return _this;
@@ -2726,11 +2726,11 @@ Characteristic_1.Characteristic.PasswordSetting = PasswordSetting;
2726
2726
  * Characteristic "Periodic Snapshots Active"
2727
2727
  */
2728
2728
  var PeriodicSnapshotsActive = /** @class */ (function (_super) {
2729
- (0, tslib_1.__extends)(PeriodicSnapshotsActive, _super);
2729
+ tslib_1.__extends(PeriodicSnapshotsActive, _super);
2730
2730
  function PeriodicSnapshotsActive() {
2731
2731
  var _this = _super.call(this, "Periodic Snapshots Active", PeriodicSnapshotsActive.UUID, {
2732
- format: "uint8" /* UINT8 */,
2733
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2732
+ format: "uint8" /* Formats.UINT8 */,
2733
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2734
2734
  validValues: [0, 1],
2735
2735
  }) || this;
2736
2736
  _this.value = _this.getDefaultValue();
@@ -2747,11 +2747,11 @@ Characteristic_1.Characteristic.PeriodicSnapshotsActive = PeriodicSnapshotsActiv
2747
2747
  * Characteristic "Picture Mode"
2748
2748
  */
2749
2749
  var PictureMode = /** @class */ (function (_super) {
2750
- (0, tslib_1.__extends)(PictureMode, _super);
2750
+ tslib_1.__extends(PictureMode, _super);
2751
2751
  function PictureMode() {
2752
2752
  var _this = _super.call(this, "Picture Mode", PictureMode.UUID, {
2753
- format: "uint8" /* UINT8 */,
2754
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2753
+ format: "uint8" /* Formats.UINT8 */,
2754
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2755
2755
  minValue: 0,
2756
2756
  maxValue: 13,
2757
2757
  minStep: 1,
@@ -2778,11 +2778,11 @@ Characteristic_1.Characteristic.PictureMode = PictureMode;
2778
2778
  * @since iOS 14
2779
2779
  */
2780
2780
  var Ping = /** @class */ (function (_super) {
2781
- (0, tslib_1.__extends)(Ping, _super);
2781
+ tslib_1.__extends(Ping, _super);
2782
2782
  function Ping() {
2783
2783
  var _this = _super.call(this, "Ping", Ping.UUID, {
2784
- format: "data" /* DATA */,
2785
- perms: ["pr" /* PAIRED_READ */],
2784
+ format: "data" /* Formats.DATA */,
2785
+ perms: ["pr" /* Perms.PAIRED_READ */],
2786
2786
  }) || this;
2787
2787
  _this.value = _this.getDefaultValue();
2788
2788
  return _this;
@@ -2796,11 +2796,11 @@ Characteristic_1.Characteristic.Ping = Ping;
2796
2796
  * Characteristic "PM10 Density"
2797
2797
  */
2798
2798
  var PM10Density = /** @class */ (function (_super) {
2799
- (0, tslib_1.__extends)(PM10Density, _super);
2799
+ tslib_1.__extends(PM10Density, _super);
2800
2800
  function PM10Density() {
2801
2801
  var _this = _super.call(this, "PM10 Density", PM10Density.UUID, {
2802
- format: "float" /* FLOAT */,
2803
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2802
+ format: "float" /* Formats.FLOAT */,
2803
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2804
2804
  minValue: 0,
2805
2805
  maxValue: 1000,
2806
2806
  minStep: 1,
@@ -2817,11 +2817,11 @@ Characteristic_1.Characteristic.PM10Density = PM10Density;
2817
2817
  * Characteristic "PM2.5 Density"
2818
2818
  */
2819
2819
  var PM2_5Density = /** @class */ (function (_super) {
2820
- (0, tslib_1.__extends)(PM2_5Density, _super);
2820
+ tslib_1.__extends(PM2_5Density, _super);
2821
2821
  function PM2_5Density() {
2822
2822
  var _this = _super.call(this, "PM2.5 Density", PM2_5Density.UUID, {
2823
- format: "float" /* FLOAT */,
2824
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2823
+ format: "float" /* Formats.FLOAT */,
2824
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2825
2825
  minValue: 0,
2826
2826
  maxValue: 1000,
2827
2827
  minStep: 1,
@@ -2838,11 +2838,11 @@ Characteristic_1.Characteristic.PM2_5Density = PM2_5Density;
2838
2838
  * Characteristic "Position State"
2839
2839
  */
2840
2840
  var PositionState = /** @class */ (function (_super) {
2841
- (0, tslib_1.__extends)(PositionState, _super);
2841
+ tslib_1.__extends(PositionState, _super);
2842
2842
  function PositionState() {
2843
2843
  var _this = _super.call(this, "Position State", PositionState.UUID, {
2844
- format: "uint8" /* UINT8 */,
2845
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2844
+ format: "uint8" /* Formats.UINT8 */,
2845
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2846
2846
  minValue: 0,
2847
2847
  maxValue: 2,
2848
2848
  minStep: 1,
@@ -2863,11 +2863,11 @@ Characteristic_1.Characteristic.PositionState = PositionState;
2863
2863
  * Characteristic "Power Mode Selection"
2864
2864
  */
2865
2865
  var PowerModeSelection = /** @class */ (function (_super) {
2866
- (0, tslib_1.__extends)(PowerModeSelection, _super);
2866
+ tslib_1.__extends(PowerModeSelection, _super);
2867
2867
  function PowerModeSelection() {
2868
2868
  var _this = _super.call(this, "Power Mode Selection", PowerModeSelection.UUID, {
2869
- format: "uint8" /* UINT8 */,
2870
- perms: ["pw" /* PAIRED_WRITE */],
2869
+ format: "uint8" /* Formats.UINT8 */,
2870
+ perms: ["pw" /* Perms.PAIRED_WRITE */],
2871
2871
  minValue: 0,
2872
2872
  maxValue: 1,
2873
2873
  minStep: 1,
@@ -2887,11 +2887,11 @@ Characteristic_1.Characteristic.PowerModeSelection = PowerModeSelection;
2887
2887
  * Characteristic "Product Data"
2888
2888
  */
2889
2889
  var ProductData = /** @class */ (function (_super) {
2890
- (0, tslib_1.__extends)(ProductData, _super);
2890
+ tslib_1.__extends(ProductData, _super);
2891
2891
  function ProductData() {
2892
2892
  var _this = _super.call(this, "Product Data", ProductData.UUID, {
2893
- format: "data" /* DATA */,
2894
- perms: ["pr" /* PAIRED_READ */],
2893
+ format: "data" /* Formats.DATA */,
2894
+ perms: ["pr" /* Perms.PAIRED_READ */],
2895
2895
  }) || this;
2896
2896
  _this.value = _this.getDefaultValue();
2897
2897
  return _this;
@@ -2905,11 +2905,11 @@ Characteristic_1.Characteristic.ProductData = ProductData;
2905
2905
  * Characteristic "Programmable Switch Event"
2906
2906
  */
2907
2907
  var ProgrammableSwitchEvent = /** @class */ (function (_super) {
2908
- (0, tslib_1.__extends)(ProgrammableSwitchEvent, _super);
2908
+ tslib_1.__extends(ProgrammableSwitchEvent, _super);
2909
2909
  function ProgrammableSwitchEvent() {
2910
2910
  var _this = _super.call(this, "Programmable Switch Event", ProgrammableSwitchEvent.UUID, {
2911
- format: "uint8" /* UINT8 */,
2912
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2911
+ format: "uint8" /* Formats.UINT8 */,
2912
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2913
2913
  minValue: 0,
2914
2914
  maxValue: 2,
2915
2915
  minStep: 1,
@@ -2930,11 +2930,11 @@ Characteristic_1.Characteristic.ProgrammableSwitchEvent = ProgrammableSwitchEven
2930
2930
  * Characteristic "Programmable Switch Output State"
2931
2931
  */
2932
2932
  var ProgrammableSwitchOutputState = /** @class */ (function (_super) {
2933
- (0, tslib_1.__extends)(ProgrammableSwitchOutputState, _super);
2933
+ tslib_1.__extends(ProgrammableSwitchOutputState, _super);
2934
2934
  function ProgrammableSwitchOutputState() {
2935
2935
  var _this = _super.call(this, "Programmable Switch Output State", ProgrammableSwitchOutputState.UUID, {
2936
- format: "uint8" /* UINT8 */,
2937
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2936
+ format: "uint8" /* Formats.UINT8 */,
2937
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2938
2938
  minValue: 0,
2939
2939
  maxValue: 1,
2940
2940
  minStep: 1,
@@ -2951,11 +2951,11 @@ Characteristic_1.Characteristic.ProgrammableSwitchOutputState = ProgrammableSwit
2951
2951
  * Characteristic "Program Mode"
2952
2952
  */
2953
2953
  var ProgramMode = /** @class */ (function (_super) {
2954
- (0, tslib_1.__extends)(ProgramMode, _super);
2954
+ tslib_1.__extends(ProgramMode, _super);
2955
2955
  function ProgramMode() {
2956
2956
  var _this = _super.call(this, "Program Mode", ProgramMode.UUID, {
2957
- format: "uint8" /* UINT8 */,
2958
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
2957
+ format: "uint8" /* Formats.UINT8 */,
2958
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
2959
2959
  minValue: 0,
2960
2960
  maxValue: 2,
2961
2961
  minStep: 1,
@@ -2977,11 +2977,11 @@ Characteristic_1.Characteristic.ProgramMode = ProgramMode;
2977
2977
  * @deprecated Removed and not used anymore
2978
2978
  */
2979
2979
  var Reachable = /** @class */ (function (_super) {
2980
- (0, tslib_1.__extends)(Reachable, _super);
2980
+ tslib_1.__extends(Reachable, _super);
2981
2981
  function Reachable() {
2982
2982
  var _this = _super.call(this, "Reachable", Reachable.UUID, {
2983
- format: "bool" /* BOOL */,
2984
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
2983
+ format: "bool" /* Formats.BOOL */,
2984
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
2985
2985
  }) || this;
2986
2986
  _this.value = _this.getDefaultValue();
2987
2987
  return _this;
@@ -2997,11 +2997,11 @@ Characteristic_1.Characteristic.Reachable = Reachable;
2997
2997
  * @since iOS 14
2998
2998
  */
2999
2999
  var ReceivedSignalStrengthIndication = /** @class */ (function (_super) {
3000
- (0, tslib_1.__extends)(ReceivedSignalStrengthIndication, _super);
3000
+ tslib_1.__extends(ReceivedSignalStrengthIndication, _super);
3001
3001
  function ReceivedSignalStrengthIndication() {
3002
3002
  var _this = _super.call(this, "Received Signal Strength Indication", ReceivedSignalStrengthIndication.UUID, {
3003
- format: "int" /* INT */,
3004
- perms: ["pr" /* PAIRED_READ */],
3003
+ format: "int" /* Formats.INT */,
3004
+ perms: ["pr" /* Perms.PAIRED_READ */],
3005
3005
  }) || this;
3006
3006
  _this.value = _this.getDefaultValue();
3007
3007
  return _this;
@@ -3016,11 +3016,11 @@ Characteristic_1.Characteristic.ReceivedSignalStrengthIndication = ReceivedSigna
3016
3016
  * @since iOS 14
3017
3017
  */
3018
3018
  var ReceiverSensitivity = /** @class */ (function (_super) {
3019
- (0, tslib_1.__extends)(ReceiverSensitivity, _super);
3019
+ tslib_1.__extends(ReceiverSensitivity, _super);
3020
3020
  function ReceiverSensitivity() {
3021
3021
  var _this = _super.call(this, "Receiver Sensitivity", ReceiverSensitivity.UUID, {
3022
- format: "int" /* INT */,
3023
- perms: ["pr" /* PAIRED_READ */],
3022
+ format: "int" /* Formats.INT */,
3023
+ perms: ["pr" /* Perms.PAIRED_READ */],
3024
3024
  }) || this;
3025
3025
  _this.value = _this.getDefaultValue();
3026
3026
  return _this;
@@ -3034,11 +3034,11 @@ Characteristic_1.Characteristic.ReceiverSensitivity = ReceiverSensitivity;
3034
3034
  * Characteristic "Recording Audio Active"
3035
3035
  */
3036
3036
  var RecordingAudioActive = /** @class */ (function (_super) {
3037
- (0, tslib_1.__extends)(RecordingAudioActive, _super);
3037
+ tslib_1.__extends(RecordingAudioActive, _super);
3038
3038
  function RecordingAudioActive() {
3039
3039
  var _this = _super.call(this, "Recording Audio Active", RecordingAudioActive.UUID, {
3040
- format: "uint8" /* UINT8 */,
3041
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "tw" /* TIMED_WRITE */],
3040
+ format: "uint8" /* Formats.UINT8 */,
3041
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */],
3042
3042
  validValues: [0, 1],
3043
3043
  }) || this;
3044
3044
  _this.value = _this.getDefaultValue();
@@ -3055,12 +3055,12 @@ Characteristic_1.Characteristic.RecordingAudioActive = RecordingAudioActive;
3055
3055
  * Characteristic "Relative Humidity Dehumidifier Threshold"
3056
3056
  */
3057
3057
  var RelativeHumidityDehumidifierThreshold = /** @class */ (function (_super) {
3058
- (0, tslib_1.__extends)(RelativeHumidityDehumidifierThreshold, _super);
3058
+ tslib_1.__extends(RelativeHumidityDehumidifierThreshold, _super);
3059
3059
  function RelativeHumidityDehumidifierThreshold() {
3060
3060
  var _this = _super.call(this, "Relative Humidity Dehumidifier Threshold", RelativeHumidityDehumidifierThreshold.UUID, {
3061
- format: "float" /* FLOAT */,
3062
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3063
- unit: "percentage" /* PERCENTAGE */,
3061
+ format: "float" /* Formats.FLOAT */,
3062
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3063
+ unit: "percentage" /* Units.PERCENTAGE */,
3064
3064
  minValue: 0,
3065
3065
  maxValue: 100,
3066
3066
  minStep: 1,
@@ -3077,12 +3077,12 @@ Characteristic_1.Characteristic.RelativeHumidityDehumidifierThreshold = Relative
3077
3077
  * Characteristic "Relative Humidity Humidifier Threshold"
3078
3078
  */
3079
3079
  var RelativeHumidityHumidifierThreshold = /** @class */ (function (_super) {
3080
- (0, tslib_1.__extends)(RelativeHumidityHumidifierThreshold, _super);
3080
+ tslib_1.__extends(RelativeHumidityHumidifierThreshold, _super);
3081
3081
  function RelativeHumidityHumidifierThreshold() {
3082
3082
  var _this = _super.call(this, "Relative Humidity Humidifier Threshold", RelativeHumidityHumidifierThreshold.UUID, {
3083
- format: "float" /* FLOAT */,
3084
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3085
- unit: "percentage" /* PERCENTAGE */,
3083
+ format: "float" /* Formats.FLOAT */,
3084
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3085
+ unit: "percentage" /* Units.PERCENTAGE */,
3086
3086
  minValue: 0,
3087
3087
  maxValue: 100,
3088
3088
  minStep: 1,
@@ -3099,11 +3099,11 @@ Characteristic_1.Characteristic.RelativeHumidityHumidifierThreshold = RelativeHu
3099
3099
  * Characteristic "Relay Control Point"
3100
3100
  */
3101
3101
  var RelayControlPoint = /** @class */ (function (_super) {
3102
- (0, tslib_1.__extends)(RelayControlPoint, _super);
3102
+ tslib_1.__extends(RelayControlPoint, _super);
3103
3103
  function RelayControlPoint() {
3104
3104
  var _this = _super.call(this, "Relay Control Point", RelayControlPoint.UUID, {
3105
- format: "tlv8" /* TLV8 */,
3106
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3105
+ format: "tlv8" /* Formats.TLV8 */,
3106
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3107
3107
  }) || this;
3108
3108
  _this.value = _this.getDefaultValue();
3109
3109
  return _this;
@@ -3117,11 +3117,11 @@ Characteristic_1.Characteristic.RelayControlPoint = RelayControlPoint;
3117
3117
  * Characteristic "Relay Enabled"
3118
3118
  */
3119
3119
  var RelayEnabled = /** @class */ (function (_super) {
3120
- (0, tslib_1.__extends)(RelayEnabled, _super);
3120
+ tslib_1.__extends(RelayEnabled, _super);
3121
3121
  function RelayEnabled() {
3122
3122
  var _this = _super.call(this, "Relay Enabled", RelayEnabled.UUID, {
3123
- format: "bool" /* BOOL */,
3124
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3123
+ format: "bool" /* Formats.BOOL */,
3124
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3125
3125
  }) || this;
3126
3126
  _this.value = _this.getDefaultValue();
3127
3127
  return _this;
@@ -3135,11 +3135,11 @@ Characteristic_1.Characteristic.RelayEnabled = RelayEnabled;
3135
3135
  * Characteristic "Relay State"
3136
3136
  */
3137
3137
  var RelayState = /** @class */ (function (_super) {
3138
- (0, tslib_1.__extends)(RelayState, _super);
3138
+ tslib_1.__extends(RelayState, _super);
3139
3139
  function RelayState() {
3140
3140
  var _this = _super.call(this, "Relay State", RelayState.UUID, {
3141
- format: "uint8" /* UINT8 */,
3142
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3141
+ format: "uint8" /* Formats.UINT8 */,
3142
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3143
3143
  minValue: 0,
3144
3144
  maxValue: 5,
3145
3145
  minStep: 1,
@@ -3156,12 +3156,12 @@ Characteristic_1.Characteristic.RelayState = RelayState;
3156
3156
  * Characteristic "Remaining Duration"
3157
3157
  */
3158
3158
  var RemainingDuration = /** @class */ (function (_super) {
3159
- (0, tslib_1.__extends)(RemainingDuration, _super);
3159
+ tslib_1.__extends(RemainingDuration, _super);
3160
3160
  function RemainingDuration() {
3161
3161
  var _this = _super.call(this, "Remaining Duration", RemainingDuration.UUID, {
3162
- format: "uint32" /* UINT32 */,
3163
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3164
- unit: "seconds" /* SECONDS */,
3162
+ format: "uint32" /* Formats.UINT32 */,
3163
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3164
+ unit: "seconds" /* Units.SECONDS */,
3165
3165
  minValue: 0,
3166
3166
  maxValue: 3600,
3167
3167
  minStep: 1,
@@ -3178,11 +3178,11 @@ Characteristic_1.Characteristic.RemainingDuration = RemainingDuration;
3178
3178
  * Characteristic "Remote Key"
3179
3179
  */
3180
3180
  var RemoteKey = /** @class */ (function (_super) {
3181
- (0, tslib_1.__extends)(RemoteKey, _super);
3181
+ tslib_1.__extends(RemoteKey, _super);
3182
3182
  function RemoteKey() {
3183
3183
  var _this = _super.call(this, "Remote Key", RemoteKey.UUID, {
3184
- format: "uint8" /* UINT8 */,
3185
- perms: ["pw" /* PAIRED_WRITE */],
3184
+ format: "uint8" /* Formats.UINT8 */,
3185
+ perms: ["pw" /* Perms.PAIRED_WRITE */],
3186
3186
  minValue: 0,
3187
3187
  maxValue: 16,
3188
3188
  minStep: 1,
@@ -3213,11 +3213,11 @@ Characteristic_1.Characteristic.RemoteKey = RemoteKey;
3213
3213
  * Characteristic "Reset Filter Indication"
3214
3214
  */
3215
3215
  var ResetFilterIndication = /** @class */ (function (_super) {
3216
- (0, tslib_1.__extends)(ResetFilterIndication, _super);
3216
+ tslib_1.__extends(ResetFilterIndication, _super);
3217
3217
  function ResetFilterIndication() {
3218
3218
  var _this = _super.call(this, "Reset Filter Indication", ResetFilterIndication.UUID, {
3219
- format: "uint8" /* UINT8 */,
3220
- perms: ["pw" /* PAIRED_WRITE */],
3219
+ format: "uint8" /* Formats.UINT8 */,
3220
+ perms: ["pw" /* Perms.PAIRED_WRITE */],
3221
3221
  minValue: 1,
3222
3222
  maxValue: 1,
3223
3223
  minStep: 1,
@@ -3234,11 +3234,11 @@ Characteristic_1.Characteristic.ResetFilterIndication = ResetFilterIndication;
3234
3234
  * Characteristic "Rotation Direction"
3235
3235
  */
3236
3236
  var RotationDirection = /** @class */ (function (_super) {
3237
- (0, tslib_1.__extends)(RotationDirection, _super);
3237
+ tslib_1.__extends(RotationDirection, _super);
3238
3238
  function RotationDirection() {
3239
3239
  var _this = _super.call(this, "Rotation Direction", RotationDirection.UUID, {
3240
- format: "int" /* INT */,
3241
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3240
+ format: "int" /* Formats.INT */,
3241
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3242
3242
  minValue: 0,
3243
3243
  maxValue: 1,
3244
3244
  minStep: 1,
@@ -3258,12 +3258,12 @@ Characteristic_1.Characteristic.RotationDirection = RotationDirection;
3258
3258
  * Characteristic "Rotation Speed"
3259
3259
  */
3260
3260
  var RotationSpeed = /** @class */ (function (_super) {
3261
- (0, tslib_1.__extends)(RotationSpeed, _super);
3261
+ tslib_1.__extends(RotationSpeed, _super);
3262
3262
  function RotationSpeed() {
3263
3263
  var _this = _super.call(this, "Rotation Speed", RotationSpeed.UUID, {
3264
- format: "float" /* FLOAT */,
3265
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3266
- unit: "percentage" /* PERCENTAGE */,
3264
+ format: "float" /* Formats.FLOAT */,
3265
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3266
+ unit: "percentage" /* Units.PERCENTAGE */,
3267
3267
  minValue: 0,
3268
3268
  maxValue: 100,
3269
3269
  minStep: 1,
@@ -3280,11 +3280,11 @@ Characteristic_1.Characteristic.RotationSpeed = RotationSpeed;
3280
3280
  * Characteristic "Router Status"
3281
3281
  */
3282
3282
  var RouterStatus = /** @class */ (function (_super) {
3283
- (0, tslib_1.__extends)(RouterStatus, _super);
3283
+ tslib_1.__extends(RouterStatus, _super);
3284
3284
  function RouterStatus() {
3285
3285
  var _this = _super.call(this, "Router Status", RouterStatus.UUID, {
3286
- format: "uint8" /* UINT8 */,
3287
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3286
+ format: "uint8" /* Formats.UINT8 */,
3287
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3288
3288
  minValue: 0,
3289
3289
  maxValue: 1,
3290
3290
  validValues: [0, 1],
@@ -3303,12 +3303,12 @@ Characteristic_1.Characteristic.RouterStatus = RouterStatus;
3303
3303
  * Characteristic "Saturation"
3304
3304
  */
3305
3305
  var Saturation = /** @class */ (function (_super) {
3306
- (0, tslib_1.__extends)(Saturation, _super);
3306
+ tslib_1.__extends(Saturation, _super);
3307
3307
  function Saturation() {
3308
3308
  var _this = _super.call(this, "Saturation", Saturation.UUID, {
3309
- format: "float" /* FLOAT */,
3310
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3311
- unit: "percentage" /* PERCENTAGE */,
3309
+ format: "float" /* Formats.FLOAT */,
3310
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3311
+ unit: "percentage" /* Units.PERCENTAGE */,
3312
3312
  minValue: 0,
3313
3313
  maxValue: 100,
3314
3314
  minStep: 1,
@@ -3325,11 +3325,11 @@ Characteristic_1.Characteristic.Saturation = Saturation;
3325
3325
  * Characteristic "Security System Alarm Type"
3326
3326
  */
3327
3327
  var SecuritySystemAlarmType = /** @class */ (function (_super) {
3328
- (0, tslib_1.__extends)(SecuritySystemAlarmType, _super);
3328
+ tslib_1.__extends(SecuritySystemAlarmType, _super);
3329
3329
  function SecuritySystemAlarmType() {
3330
3330
  var _this = _super.call(this, "Security System Alarm Type", SecuritySystemAlarmType.UUID, {
3331
- format: "uint8" /* UINT8 */,
3332
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3331
+ format: "uint8" /* Formats.UINT8 */,
3332
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3333
3333
  minValue: 0,
3334
3334
  maxValue: 1,
3335
3335
  minStep: 1,
@@ -3346,11 +3346,11 @@ Characteristic_1.Characteristic.SecuritySystemAlarmType = SecuritySystemAlarmTyp
3346
3346
  * Characteristic "Security System Current State"
3347
3347
  */
3348
3348
  var SecuritySystemCurrentState = /** @class */ (function (_super) {
3349
- (0, tslib_1.__extends)(SecuritySystemCurrentState, _super);
3349
+ tslib_1.__extends(SecuritySystemCurrentState, _super);
3350
3350
  function SecuritySystemCurrentState() {
3351
3351
  var _this = _super.call(this, "Security System Current State", SecuritySystemCurrentState.UUID, {
3352
- format: "uint8" /* UINT8 */,
3353
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3352
+ format: "uint8" /* Formats.UINT8 */,
3353
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3354
3354
  minValue: 0,
3355
3355
  maxValue: 4,
3356
3356
  minStep: 1,
@@ -3373,11 +3373,11 @@ Characteristic_1.Characteristic.SecuritySystemCurrentState = SecuritySystemCurre
3373
3373
  * Characteristic "Security System Target State"
3374
3374
  */
3375
3375
  var SecuritySystemTargetState = /** @class */ (function (_super) {
3376
- (0, tslib_1.__extends)(SecuritySystemTargetState, _super);
3376
+ tslib_1.__extends(SecuritySystemTargetState, _super);
3377
3377
  function SecuritySystemTargetState() {
3378
3378
  var _this = _super.call(this, "Security System Target State", SecuritySystemTargetState.UUID, {
3379
- format: "uint8" /* UINT8 */,
3380
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3379
+ format: "uint8" /* Formats.UINT8 */,
3380
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3381
3381
  minValue: 0,
3382
3382
  maxValue: 3,
3383
3383
  minStep: 1,
@@ -3399,11 +3399,11 @@ Characteristic_1.Characteristic.SecuritySystemTargetState = SecuritySystemTarget
3399
3399
  * Characteristic "Selected Audio Stream Configuration"
3400
3400
  */
3401
3401
  var SelectedAudioStreamConfiguration = /** @class */ (function (_super) {
3402
- (0, tslib_1.__extends)(SelectedAudioStreamConfiguration, _super);
3402
+ tslib_1.__extends(SelectedAudioStreamConfiguration, _super);
3403
3403
  function SelectedAudioStreamConfiguration() {
3404
3404
  var _this = _super.call(this, "Selected Audio Stream Configuration", SelectedAudioStreamConfiguration.UUID, {
3405
- format: "tlv8" /* TLV8 */,
3406
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3405
+ format: "tlv8" /* Formats.TLV8 */,
3406
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3407
3407
  }) || this;
3408
3408
  _this.value = _this.getDefaultValue();
3409
3409
  return _this;
@@ -3417,11 +3417,11 @@ Characteristic_1.Characteristic.SelectedAudioStreamConfiguration = SelectedAudio
3417
3417
  * Characteristic "Selected Camera Recording Configuration"
3418
3418
  */
3419
3419
  var SelectedCameraRecordingConfiguration = /** @class */ (function (_super) {
3420
- (0, tslib_1.__extends)(SelectedCameraRecordingConfiguration, _super);
3420
+ tslib_1.__extends(SelectedCameraRecordingConfiguration, _super);
3421
3421
  function SelectedCameraRecordingConfiguration() {
3422
3422
  var _this = _super.call(this, "Selected Camera Recording Configuration", SelectedCameraRecordingConfiguration.UUID, {
3423
- format: "tlv8" /* TLV8 */,
3424
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3423
+ format: "tlv8" /* Formats.TLV8 */,
3424
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3425
3425
  }) || this;
3426
3426
  _this.value = _this.getDefaultValue();
3427
3427
  return _this;
@@ -3435,11 +3435,11 @@ Characteristic_1.Characteristic.SelectedCameraRecordingConfiguration = SelectedC
3435
3435
  * Characteristic "Selected Diagnostics Modes"
3436
3436
  */
3437
3437
  var SelectedDiagnosticsModes = /** @class */ (function (_super) {
3438
- (0, tslib_1.__extends)(SelectedDiagnosticsModes, _super);
3438
+ tslib_1.__extends(SelectedDiagnosticsModes, _super);
3439
3439
  function SelectedDiagnosticsModes() {
3440
3440
  var _this = _super.call(this, "Selected Diagnostics Modes", SelectedDiagnosticsModes.UUID, {
3441
- format: "uint32" /* UINT32 */,
3442
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3441
+ format: "uint32" /* Formats.UINT32 */,
3442
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3443
3443
  }) || this;
3444
3444
  _this.value = _this.getDefaultValue();
3445
3445
  return _this;
@@ -3453,11 +3453,11 @@ Characteristic_1.Characteristic.SelectedDiagnosticsModes = SelectedDiagnosticsMo
3453
3453
  * Characteristic "Selected RTP Stream Configuration"
3454
3454
  */
3455
3455
  var SelectedRTPStreamConfiguration = /** @class */ (function (_super) {
3456
- (0, tslib_1.__extends)(SelectedRTPStreamConfiguration, _super);
3456
+ tslib_1.__extends(SelectedRTPStreamConfiguration, _super);
3457
3457
  function SelectedRTPStreamConfiguration() {
3458
3458
  var _this = _super.call(this, "Selected RTP Stream Configuration", SelectedRTPStreamConfiguration.UUID, {
3459
- format: "tlv8" /* TLV8 */,
3460
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3459
+ format: "tlv8" /* Formats.TLV8 */,
3460
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3461
3461
  }) || this;
3462
3462
  _this.value = _this.getDefaultValue();
3463
3463
  return _this;
@@ -3471,11 +3471,11 @@ Characteristic_1.Characteristic.SelectedRTPStreamConfiguration = SelectedRTPStre
3471
3471
  * Characteristic "Selected Sleep Configuration"
3472
3472
  */
3473
3473
  var SelectedSleepConfiguration = /** @class */ (function (_super) {
3474
- (0, tslib_1.__extends)(SelectedSleepConfiguration, _super);
3474
+ tslib_1.__extends(SelectedSleepConfiguration, _super);
3475
3475
  function SelectedSleepConfiguration() {
3476
3476
  var _this = _super.call(this, "Selected Sleep Configuration", SelectedSleepConfiguration.UUID, {
3477
- format: "tlv8" /* TLV8 */,
3478
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "wr" /* WRITE_RESPONSE */],
3477
+ format: "tlv8" /* Formats.TLV8 */,
3478
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
3479
3479
  }) || this;
3480
3480
  _this.value = _this.getDefaultValue();
3481
3481
  return _this;
@@ -3489,11 +3489,11 @@ Characteristic_1.Characteristic.SelectedSleepConfiguration = SelectedSleepConfig
3489
3489
  * Characteristic "Serial Number"
3490
3490
  */
3491
3491
  var SerialNumber = /** @class */ (function (_super) {
3492
- (0, tslib_1.__extends)(SerialNumber, _super);
3492
+ tslib_1.__extends(SerialNumber, _super);
3493
3493
  function SerialNumber() {
3494
3494
  var _this = _super.call(this, "Serial Number", SerialNumber.UUID, {
3495
- format: "string" /* STRING */,
3496
- perms: ["pr" /* PAIRED_READ */],
3495
+ format: "string" /* Formats.STRING */,
3496
+ perms: ["pr" /* Perms.PAIRED_READ */],
3497
3497
  maxLen: 64,
3498
3498
  }) || this;
3499
3499
  _this.value = _this.getDefaultValue();
@@ -3508,11 +3508,11 @@ Characteristic_1.Characteristic.SerialNumber = SerialNumber;
3508
3508
  * Characteristic "Service Label Index"
3509
3509
  */
3510
3510
  var ServiceLabelIndex = /** @class */ (function (_super) {
3511
- (0, tslib_1.__extends)(ServiceLabelIndex, _super);
3511
+ tslib_1.__extends(ServiceLabelIndex, _super);
3512
3512
  function ServiceLabelIndex() {
3513
3513
  var _this = _super.call(this, "Service Label Index", ServiceLabelIndex.UUID, {
3514
- format: "uint8" /* UINT8 */,
3515
- perms: ["pr" /* PAIRED_READ */],
3514
+ format: "uint8" /* Formats.UINT8 */,
3515
+ perms: ["pr" /* Perms.PAIRED_READ */],
3516
3516
  minValue: 1,
3517
3517
  maxValue: 255,
3518
3518
  minStep: 1,
@@ -3529,11 +3529,11 @@ Characteristic_1.Characteristic.ServiceLabelIndex = ServiceLabelIndex;
3529
3529
  * Characteristic "Service Label Namespace"
3530
3530
  */
3531
3531
  var ServiceLabelNamespace = /** @class */ (function (_super) {
3532
- (0, tslib_1.__extends)(ServiceLabelNamespace, _super);
3532
+ tslib_1.__extends(ServiceLabelNamespace, _super);
3533
3533
  function ServiceLabelNamespace() {
3534
3534
  var _this = _super.call(this, "Service Label Namespace", ServiceLabelNamespace.UUID, {
3535
- format: "uint8" /* UINT8 */,
3536
- perms: ["pr" /* PAIRED_READ */],
3535
+ format: "uint8" /* Formats.UINT8 */,
3536
+ perms: ["pr" /* Perms.PAIRED_READ */],
3537
3537
  minValue: 0,
3538
3538
  maxValue: 1,
3539
3539
  minStep: 1,
@@ -3553,12 +3553,12 @@ Characteristic_1.Characteristic.ServiceLabelNamespace = ServiceLabelNamespace;
3553
3553
  * Characteristic "Set Duration"
3554
3554
  */
3555
3555
  var SetDuration = /** @class */ (function (_super) {
3556
- (0, tslib_1.__extends)(SetDuration, _super);
3556
+ tslib_1.__extends(SetDuration, _super);
3557
3557
  function SetDuration() {
3558
3558
  var _this = _super.call(this, "Set Duration", SetDuration.UUID, {
3559
- format: "uint32" /* UINT32 */,
3560
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3561
- unit: "seconds" /* SECONDS */,
3559
+ format: "uint32" /* Formats.UINT32 */,
3560
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3561
+ unit: "seconds" /* Units.SECONDS */,
3562
3562
  minValue: 0,
3563
3563
  maxValue: 3600,
3564
3564
  minStep: 1,
@@ -3575,11 +3575,11 @@ Characteristic_1.Characteristic.SetDuration = SetDuration;
3575
3575
  * Characteristic "Setup Data Stream Transport"
3576
3576
  */
3577
3577
  var SetupDataStreamTransport = /** @class */ (function (_super) {
3578
- (0, tslib_1.__extends)(SetupDataStreamTransport, _super);
3578
+ tslib_1.__extends(SetupDataStreamTransport, _super);
3579
3579
  function SetupDataStreamTransport() {
3580
3580
  var _this = _super.call(this, "Setup Data Stream Transport", SetupDataStreamTransport.UUID, {
3581
- format: "tlv8" /* TLV8 */,
3582
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "wr" /* WRITE_RESPONSE */],
3581
+ format: "tlv8" /* Formats.TLV8 */,
3582
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
3583
3583
  }) || this;
3584
3584
  _this.value = _this.getDefaultValue();
3585
3585
  return _this;
@@ -3593,11 +3593,11 @@ Characteristic_1.Characteristic.SetupDataStreamTransport = SetupDataStreamTransp
3593
3593
  * Characteristic "Setup Endpoints"
3594
3594
  */
3595
3595
  var SetupEndpoints = /** @class */ (function (_super) {
3596
- (0, tslib_1.__extends)(SetupEndpoints, _super);
3596
+ tslib_1.__extends(SetupEndpoints, _super);
3597
3597
  function SetupEndpoints() {
3598
3598
  var _this = _super.call(this, "Setup Endpoints", SetupEndpoints.UUID, {
3599
- format: "tlv8" /* TLV8 */,
3600
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3599
+ format: "tlv8" /* Formats.TLV8 */,
3600
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3601
3601
  }) || this;
3602
3602
  _this.value = _this.getDefaultValue();
3603
3603
  return _this;
@@ -3612,11 +3612,11 @@ Characteristic_1.Characteristic.SetupEndpoints = SetupEndpoints;
3612
3612
  * @since iOS 13.4
3613
3613
  */
3614
3614
  var SetupTransferTransport = /** @class */ (function (_super) {
3615
- (0, tslib_1.__extends)(SetupTransferTransport, _super);
3615
+ tslib_1.__extends(SetupTransferTransport, _super);
3616
3616
  function SetupTransferTransport() {
3617
3617
  var _this = _super.call(this, "Setup Transfer Transport", SetupTransferTransport.UUID, {
3618
- format: "tlv8" /* TLV8 */,
3619
- perms: ["pw" /* PAIRED_WRITE */, "wr" /* WRITE_RESPONSE */],
3618
+ format: "tlv8" /* Formats.TLV8 */,
3619
+ perms: ["pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
3620
3620
  }) || this;
3621
3621
  _this.value = _this.getDefaultValue();
3622
3622
  return _this;
@@ -3631,11 +3631,11 @@ Characteristic_1.Characteristic.SetupTransferTransport = SetupTransferTransport;
3631
3631
  * @since iOS 14
3632
3632
  */
3633
3633
  var SignalToNoiseRatio = /** @class */ (function (_super) {
3634
- (0, tslib_1.__extends)(SignalToNoiseRatio, _super);
3634
+ tslib_1.__extends(SignalToNoiseRatio, _super);
3635
3635
  function SignalToNoiseRatio() {
3636
3636
  var _this = _super.call(this, "Signal To Noise Ratio", SignalToNoiseRatio.UUID, {
3637
- format: "int" /* INT */,
3638
- perms: ["pr" /* PAIRED_READ */],
3637
+ format: "int" /* Formats.INT */,
3638
+ perms: ["pr" /* Perms.PAIRED_READ */],
3639
3639
  }) || this;
3640
3640
  _this.value = _this.getDefaultValue();
3641
3641
  return _this;
@@ -3649,11 +3649,11 @@ Characteristic_1.Characteristic.SignalToNoiseRatio = SignalToNoiseRatio;
3649
3649
  * Characteristic "Siri Enable"
3650
3650
  */
3651
3651
  var SiriEnable = /** @class */ (function (_super) {
3652
- (0, tslib_1.__extends)(SiriEnable, _super);
3652
+ tslib_1.__extends(SiriEnable, _super);
3653
3653
  function SiriEnable() {
3654
3654
  var _this = _super.call(this, "Siri Enable", SiriEnable.UUID, {
3655
- format: "uint8" /* UINT8 */,
3656
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3655
+ format: "uint8" /* Formats.UINT8 */,
3656
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3657
3657
  minValue: 0,
3658
3658
  maxValue: 1,
3659
3659
  }) || this;
@@ -3669,11 +3669,11 @@ Characteristic_1.Characteristic.SiriEnable = SiriEnable;
3669
3669
  * Characteristic "Siri Endpoint Session Status"
3670
3670
  */
3671
3671
  var SiriEndpointSessionStatus = /** @class */ (function (_super) {
3672
- (0, tslib_1.__extends)(SiriEndpointSessionStatus, _super);
3672
+ tslib_1.__extends(SiriEndpointSessionStatus, _super);
3673
3673
  function SiriEndpointSessionStatus() {
3674
3674
  var _this = _super.call(this, "Siri Endpoint Session Status", SiriEndpointSessionStatus.UUID, {
3675
- format: "tlv8" /* TLV8 */,
3676
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3675
+ format: "tlv8" /* Formats.TLV8 */,
3676
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3677
3677
  }) || this;
3678
3678
  _this.value = _this.getDefaultValue();
3679
3679
  return _this;
@@ -3687,11 +3687,11 @@ Characteristic_1.Characteristic.SiriEndpointSessionStatus = SiriEndpointSessionS
3687
3687
  * Characteristic "Siri Engine Version"
3688
3688
  */
3689
3689
  var SiriEngineVersion = /** @class */ (function (_super) {
3690
- (0, tslib_1.__extends)(SiriEngineVersion, _super);
3690
+ tslib_1.__extends(SiriEngineVersion, _super);
3691
3691
  function SiriEngineVersion() {
3692
3692
  var _this = _super.call(this, "Siri Engine Version", SiriEngineVersion.UUID, {
3693
- format: "string" /* STRING */,
3694
- perms: ["pr" /* PAIRED_READ */],
3693
+ format: "string" /* Formats.STRING */,
3694
+ perms: ["pr" /* Perms.PAIRED_READ */],
3695
3695
  }) || this;
3696
3696
  _this.value = _this.getDefaultValue();
3697
3697
  return _this;
@@ -3705,11 +3705,11 @@ Characteristic_1.Characteristic.SiriEngineVersion = SiriEngineVersion;
3705
3705
  * Characteristic "Siri Input Type"
3706
3706
  */
3707
3707
  var SiriInputType = /** @class */ (function (_super) {
3708
- (0, tslib_1.__extends)(SiriInputType, _super);
3708
+ tslib_1.__extends(SiriInputType, _super);
3709
3709
  function SiriInputType() {
3710
3710
  var _this = _super.call(this, "Siri Input Type", SiriInputType.UUID, {
3711
- format: "uint8" /* UINT8 */,
3712
- perms: ["pr" /* PAIRED_READ */],
3711
+ format: "uint8" /* Formats.UINT8 */,
3712
+ perms: ["pr" /* Perms.PAIRED_READ */],
3713
3713
  minValue: 0,
3714
3714
  maxValue: 0,
3715
3715
  validValues: [0],
@@ -3727,11 +3727,11 @@ Characteristic_1.Characteristic.SiriInputType = SiriInputType;
3727
3727
  * Characteristic "Siri Light On Use"
3728
3728
  */
3729
3729
  var SiriLightOnUse = /** @class */ (function (_super) {
3730
- (0, tslib_1.__extends)(SiriLightOnUse, _super);
3730
+ tslib_1.__extends(SiriLightOnUse, _super);
3731
3731
  function SiriLightOnUse() {
3732
3732
  var _this = _super.call(this, "Siri Light On Use", SiriLightOnUse.UUID, {
3733
- format: "uint8" /* UINT8 */,
3734
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3733
+ format: "uint8" /* Formats.UINT8 */,
3734
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3735
3735
  minValue: 0,
3736
3736
  maxValue: 1,
3737
3737
  }) || this;
@@ -3747,11 +3747,11 @@ Characteristic_1.Characteristic.SiriLightOnUse = SiriLightOnUse;
3747
3747
  * Characteristic "Siri Listening"
3748
3748
  */
3749
3749
  var SiriListening = /** @class */ (function (_super) {
3750
- (0, tslib_1.__extends)(SiriListening, _super);
3750
+ tslib_1.__extends(SiriListening, _super);
3751
3751
  function SiriListening() {
3752
3752
  var _this = _super.call(this, "Siri Listening", SiriListening.UUID, {
3753
- format: "uint8" /* UINT8 */,
3754
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3753
+ format: "uint8" /* Formats.UINT8 */,
3754
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3755
3755
  minValue: 0,
3756
3756
  maxValue: 1,
3757
3757
  }) || this;
@@ -3767,11 +3767,11 @@ Characteristic_1.Characteristic.SiriListening = SiriListening;
3767
3767
  * Characteristic "Siri Touch To Use"
3768
3768
  */
3769
3769
  var SiriTouchToUse = /** @class */ (function (_super) {
3770
- (0, tslib_1.__extends)(SiriTouchToUse, _super);
3770
+ tslib_1.__extends(SiriTouchToUse, _super);
3771
3771
  function SiriTouchToUse() {
3772
3772
  var _this = _super.call(this, "Siri Touch To Use", SiriTouchToUse.UUID, {
3773
- format: "uint8" /* UINT8 */,
3774
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
3773
+ format: "uint8" /* Formats.UINT8 */,
3774
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
3775
3775
  minValue: 0,
3776
3776
  maxValue: 1,
3777
3777
  }) || this;
@@ -3787,11 +3787,11 @@ Characteristic_1.Characteristic.SiriTouchToUse = SiriTouchToUse;
3787
3787
  * Characteristic "Slat Type"
3788
3788
  */
3789
3789
  var SlatType = /** @class */ (function (_super) {
3790
- (0, tslib_1.__extends)(SlatType, _super);
3790
+ tslib_1.__extends(SlatType, _super);
3791
3791
  function SlatType() {
3792
3792
  var _this = _super.call(this, "Slat Type", SlatType.UUID, {
3793
- format: "uint8" /* UINT8 */,
3794
- perms: ["pr" /* PAIRED_READ */],
3793
+ format: "uint8" /* Formats.UINT8 */,
3794
+ perms: ["pr" /* Perms.PAIRED_READ */],
3795
3795
  minValue: 0,
3796
3796
  maxValue: 1,
3797
3797
  minStep: 1,
@@ -3811,11 +3811,11 @@ Characteristic_1.Characteristic.SlatType = SlatType;
3811
3811
  * Characteristic "Sleep Discovery Mode"
3812
3812
  */
3813
3813
  var SleepDiscoveryMode = /** @class */ (function (_super) {
3814
- (0, tslib_1.__extends)(SleepDiscoveryMode, _super);
3814
+ tslib_1.__extends(SleepDiscoveryMode, _super);
3815
3815
  function SleepDiscoveryMode() {
3816
3816
  var _this = _super.call(this, "Sleep Discovery Mode", SleepDiscoveryMode.UUID, {
3817
- format: "uint8" /* UINT8 */,
3818
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3817
+ format: "uint8" /* Formats.UINT8 */,
3818
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3819
3819
  minValue: 0,
3820
3820
  maxValue: 1,
3821
3821
  minStep: 1,
@@ -3836,11 +3836,11 @@ Characteristic_1.Characteristic.SleepDiscoveryMode = SleepDiscoveryMode;
3836
3836
  * @since iOS 14
3837
3837
  */
3838
3838
  var SleepInterval = /** @class */ (function (_super) {
3839
- (0, tslib_1.__extends)(SleepInterval, _super);
3839
+ tslib_1.__extends(SleepInterval, _super);
3840
3840
  function SleepInterval() {
3841
3841
  var _this = _super.call(this, "Sleep Interval", SleepInterval.UUID, {
3842
- format: "uint32" /* UINT32 */,
3843
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3842
+ format: "uint32" /* Formats.UINT32 */,
3843
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3844
3844
  minValue: 0,
3845
3845
  minStep: 1,
3846
3846
  }) || this;
@@ -3856,11 +3856,11 @@ Characteristic_1.Characteristic.SleepInterval = SleepInterval;
3856
3856
  * Characteristic "Smoke Detected"
3857
3857
  */
3858
3858
  var SmokeDetected = /** @class */ (function (_super) {
3859
- (0, tslib_1.__extends)(SmokeDetected, _super);
3859
+ tslib_1.__extends(SmokeDetected, _super);
3860
3860
  function SmokeDetected() {
3861
3861
  var _this = _super.call(this, "Smoke Detected", SmokeDetected.UUID, {
3862
- format: "uint8" /* UINT8 */,
3863
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3862
+ format: "uint8" /* Formats.UINT8 */,
3863
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3864
3864
  minValue: 0,
3865
3865
  maxValue: 1,
3866
3866
  minStep: 1,
@@ -3880,11 +3880,11 @@ Characteristic_1.Characteristic.SmokeDetected = SmokeDetected;
3880
3880
  * Characteristic "Software Revision"
3881
3881
  */
3882
3882
  var SoftwareRevision = /** @class */ (function (_super) {
3883
- (0, tslib_1.__extends)(SoftwareRevision, _super);
3883
+ tslib_1.__extends(SoftwareRevision, _super);
3884
3884
  function SoftwareRevision() {
3885
3885
  var _this = _super.call(this, "Software Revision", SoftwareRevision.UUID, {
3886
- format: "string" /* STRING */,
3887
- perms: ["pr" /* PAIRED_READ */],
3886
+ format: "string" /* Formats.STRING */,
3887
+ perms: ["pr" /* Perms.PAIRED_READ */],
3888
3888
  }) || this;
3889
3889
  _this.value = _this.getDefaultValue();
3890
3890
  return _this;
@@ -3898,11 +3898,11 @@ Characteristic_1.Characteristic.SoftwareRevision = SoftwareRevision;
3898
3898
  * Characteristic "Staged Firmware Version"
3899
3899
  */
3900
3900
  var StagedFirmwareVersion = /** @class */ (function (_super) {
3901
- (0, tslib_1.__extends)(StagedFirmwareVersion, _super);
3901
+ tslib_1.__extends(StagedFirmwareVersion, _super);
3902
3902
  function StagedFirmwareVersion() {
3903
3903
  var _this = _super.call(this, "Staged Firmware Version", StagedFirmwareVersion.UUID, {
3904
- format: "string" /* STRING */,
3905
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3904
+ format: "string" /* Formats.STRING */,
3905
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3906
3906
  }) || this;
3907
3907
  _this.value = _this.getDefaultValue();
3908
3908
  return _this;
@@ -3916,11 +3916,11 @@ Characteristic_1.Characteristic.StagedFirmwareVersion = StagedFirmwareVersion;
3916
3916
  * Characteristic "Status Active"
3917
3917
  */
3918
3918
  var StatusActive = /** @class */ (function (_super) {
3919
- (0, tslib_1.__extends)(StatusActive, _super);
3919
+ tslib_1.__extends(StatusActive, _super);
3920
3920
  function StatusActive() {
3921
3921
  var _this = _super.call(this, "Status Active", StatusActive.UUID, {
3922
- format: "bool" /* BOOL */,
3923
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3922
+ format: "bool" /* Formats.BOOL */,
3923
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3924
3924
  }) || this;
3925
3925
  _this.value = _this.getDefaultValue();
3926
3926
  return _this;
@@ -3934,11 +3934,11 @@ Characteristic_1.Characteristic.StatusActive = StatusActive;
3934
3934
  * Characteristic "Status Fault"
3935
3935
  */
3936
3936
  var StatusFault = /** @class */ (function (_super) {
3937
- (0, tslib_1.__extends)(StatusFault, _super);
3937
+ tslib_1.__extends(StatusFault, _super);
3938
3938
  function StatusFault() {
3939
3939
  var _this = _super.call(this, "Status Fault", StatusFault.UUID, {
3940
- format: "uint8" /* UINT8 */,
3941
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3940
+ format: "uint8" /* Formats.UINT8 */,
3941
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3942
3942
  minValue: 0,
3943
3943
  maxValue: 1,
3944
3944
  minStep: 1,
@@ -3958,11 +3958,11 @@ Characteristic_1.Characteristic.StatusFault = StatusFault;
3958
3958
  * Characteristic "Status Jammed"
3959
3959
  */
3960
3960
  var StatusJammed = /** @class */ (function (_super) {
3961
- (0, tslib_1.__extends)(StatusJammed, _super);
3961
+ tslib_1.__extends(StatusJammed, _super);
3962
3962
  function StatusJammed() {
3963
3963
  var _this = _super.call(this, "Status Jammed", StatusJammed.UUID, {
3964
- format: "uint8" /* UINT8 */,
3965
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3964
+ format: "uint8" /* Formats.UINT8 */,
3965
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3966
3966
  minValue: 0,
3967
3967
  maxValue: 1,
3968
3968
  minStep: 1,
@@ -3982,11 +3982,11 @@ Characteristic_1.Characteristic.StatusJammed = StatusJammed;
3982
3982
  * Characteristic "Status Low Battery"
3983
3983
  */
3984
3984
  var StatusLowBattery = /** @class */ (function (_super) {
3985
- (0, tslib_1.__extends)(StatusLowBattery, _super);
3985
+ tslib_1.__extends(StatusLowBattery, _super);
3986
3986
  function StatusLowBattery() {
3987
3987
  var _this = _super.call(this, "Status Low Battery", StatusLowBattery.UUID, {
3988
- format: "uint8" /* UINT8 */,
3989
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
3988
+ format: "uint8" /* Formats.UINT8 */,
3989
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
3990
3990
  minValue: 0,
3991
3991
  maxValue: 1,
3992
3992
  minStep: 1,
@@ -4006,11 +4006,11 @@ Characteristic_1.Characteristic.StatusLowBattery = StatusLowBattery;
4006
4006
  * Characteristic "Status Tampered"
4007
4007
  */
4008
4008
  var StatusTampered = /** @class */ (function (_super) {
4009
- (0, tslib_1.__extends)(StatusTampered, _super);
4009
+ tslib_1.__extends(StatusTampered, _super);
4010
4010
  function StatusTampered() {
4011
4011
  var _this = _super.call(this, "Status Tampered", StatusTampered.UUID, {
4012
- format: "uint8" /* UINT8 */,
4013
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
4012
+ format: "uint8" /* Formats.UINT8 */,
4013
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4014
4014
  minValue: 0,
4015
4015
  maxValue: 1,
4016
4016
  minStep: 1,
@@ -4030,11 +4030,11 @@ Characteristic_1.Characteristic.StatusTampered = StatusTampered;
4030
4030
  * Characteristic "Streaming Status"
4031
4031
  */
4032
4032
  var StreamingStatus = /** @class */ (function (_super) {
4033
- (0, tslib_1.__extends)(StreamingStatus, _super);
4033
+ tslib_1.__extends(StreamingStatus, _super);
4034
4034
  function StreamingStatus() {
4035
4035
  var _this = _super.call(this, "Streaming Status", StreamingStatus.UUID, {
4036
- format: "tlv8" /* TLV8 */,
4037
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
4036
+ format: "tlv8" /* Formats.TLV8 */,
4037
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4038
4038
  }) || this;
4039
4039
  _this.value = _this.getDefaultValue();
4040
4040
  return _this;
@@ -4048,11 +4048,11 @@ Characteristic_1.Characteristic.StreamingStatus = StreamingStatus;
4048
4048
  * Characteristic "Sulphur Dioxide Density"
4049
4049
  */
4050
4050
  var SulphurDioxideDensity = /** @class */ (function (_super) {
4051
- (0, tslib_1.__extends)(SulphurDioxideDensity, _super);
4051
+ tslib_1.__extends(SulphurDioxideDensity, _super);
4052
4052
  function SulphurDioxideDensity() {
4053
4053
  var _this = _super.call(this, "Sulphur Dioxide Density", SulphurDioxideDensity.UUID, {
4054
- format: "float" /* FLOAT */,
4055
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
4054
+ format: "float" /* Formats.FLOAT */,
4055
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4056
4056
  minValue: 0,
4057
4057
  maxValue: 1000,
4058
4058
  minStep: 1,
@@ -4069,11 +4069,11 @@ Characteristic_1.Characteristic.SulphurDioxideDensity = SulphurDioxideDensity;
4069
4069
  * Characteristic "Supported Asset Types"
4070
4070
  */
4071
4071
  var SupportedAssetTypes = /** @class */ (function (_super) {
4072
- (0, tslib_1.__extends)(SupportedAssetTypes, _super);
4072
+ tslib_1.__extends(SupportedAssetTypes, _super);
4073
4073
  function SupportedAssetTypes() {
4074
4074
  var _this = _super.call(this, "Supported Asset Types", SupportedAssetTypes.UUID, {
4075
- format: "uint32" /* UINT32 */,
4076
- perms: ["pr" /* PAIRED_READ */],
4075
+ format: "uint32" /* Formats.UINT32 */,
4076
+ perms: ["pr" /* Perms.PAIRED_READ */],
4077
4077
  }) || this;
4078
4078
  _this.value = _this.getDefaultValue();
4079
4079
  return _this;
@@ -4087,11 +4087,11 @@ Characteristic_1.Characteristic.SupportedAssetTypes = SupportedAssetTypes;
4087
4087
  * Characteristic "Supported Audio Recording Configuration"
4088
4088
  */
4089
4089
  var SupportedAudioRecordingConfiguration = /** @class */ (function (_super) {
4090
- (0, tslib_1.__extends)(SupportedAudioRecordingConfiguration, _super);
4090
+ tslib_1.__extends(SupportedAudioRecordingConfiguration, _super);
4091
4091
  function SupportedAudioRecordingConfiguration() {
4092
4092
  var _this = _super.call(this, "Supported Audio Recording Configuration", SupportedAudioRecordingConfiguration.UUID, {
4093
- format: "tlv8" /* TLV8 */,
4094
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
4093
+ format: "tlv8" /* Formats.TLV8 */,
4094
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4095
4095
  }) || this;
4096
4096
  _this.value = _this.getDefaultValue();
4097
4097
  return _this;
@@ -4105,11 +4105,11 @@ Characteristic_1.Characteristic.SupportedAudioRecordingConfiguration = Supported
4105
4105
  * Characteristic "Supported Audio Stream Configuration"
4106
4106
  */
4107
4107
  var SupportedAudioStreamConfiguration = /** @class */ (function (_super) {
4108
- (0, tslib_1.__extends)(SupportedAudioStreamConfiguration, _super);
4108
+ tslib_1.__extends(SupportedAudioStreamConfiguration, _super);
4109
4109
  function SupportedAudioStreamConfiguration() {
4110
4110
  var _this = _super.call(this, "Supported Audio Stream Configuration", SupportedAudioStreamConfiguration.UUID, {
4111
- format: "tlv8" /* TLV8 */,
4112
- perms: ["pr" /* PAIRED_READ */],
4111
+ format: "tlv8" /* Formats.TLV8 */,
4112
+ perms: ["pr" /* Perms.PAIRED_READ */],
4113
4113
  }) || this;
4114
4114
  _this.value = _this.getDefaultValue();
4115
4115
  return _this;
@@ -4123,11 +4123,11 @@ Characteristic_1.Characteristic.SupportedAudioStreamConfiguration = SupportedAud
4123
4123
  * Characteristic "Supported Camera Recording Configuration"
4124
4124
  */
4125
4125
  var SupportedCameraRecordingConfiguration = /** @class */ (function (_super) {
4126
- (0, tslib_1.__extends)(SupportedCameraRecordingConfiguration, _super);
4126
+ tslib_1.__extends(SupportedCameraRecordingConfiguration, _super);
4127
4127
  function SupportedCameraRecordingConfiguration() {
4128
4128
  var _this = _super.call(this, "Supported Camera Recording Configuration", SupportedCameraRecordingConfiguration.UUID, {
4129
- format: "tlv8" /* TLV8 */,
4130
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
4129
+ format: "tlv8" /* Formats.TLV8 */,
4130
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4131
4131
  }) || this;
4132
4132
  _this.value = _this.getDefaultValue();
4133
4133
  return _this;
@@ -4142,11 +4142,11 @@ Characteristic_1.Characteristic.SupportedCameraRecordingConfiguration = Supporte
4142
4142
  * @since iOS 14
4143
4143
  */
4144
4144
  var SupportedCharacteristicValueTransitionConfiguration = /** @class */ (function (_super) {
4145
- (0, tslib_1.__extends)(SupportedCharacteristicValueTransitionConfiguration, _super);
4145
+ tslib_1.__extends(SupportedCharacteristicValueTransitionConfiguration, _super);
4146
4146
  function SupportedCharacteristicValueTransitionConfiguration() {
4147
4147
  var _this = _super.call(this, "Supported Characteristic Value Transition Configuration", SupportedCharacteristicValueTransitionConfiguration.UUID, {
4148
- format: "tlv8" /* TLV8 */,
4149
- perms: ["pr" /* PAIRED_READ */],
4148
+ format: "tlv8" /* Formats.TLV8 */,
4149
+ perms: ["pr" /* Perms.PAIRED_READ */],
4150
4150
  }) || this;
4151
4151
  _this.value = _this.getDefaultValue();
4152
4152
  return _this;
@@ -4160,11 +4160,11 @@ Characteristic_1.Characteristic.SupportedCharacteristicValueTransitionConfigurat
4160
4160
  * Characteristic "Supported Data Stream Transport Configuration"
4161
4161
  */
4162
4162
  var SupportedDataStreamTransportConfiguration = /** @class */ (function (_super) {
4163
- (0, tslib_1.__extends)(SupportedDataStreamTransportConfiguration, _super);
4163
+ tslib_1.__extends(SupportedDataStreamTransportConfiguration, _super);
4164
4164
  function SupportedDataStreamTransportConfiguration() {
4165
4165
  var _this = _super.call(this, "Supported Data Stream Transport Configuration", SupportedDataStreamTransportConfiguration.UUID, {
4166
- format: "tlv8" /* TLV8 */,
4167
- perms: ["pr" /* PAIRED_READ */],
4166
+ format: "tlv8" /* Formats.TLV8 */,
4167
+ perms: ["pr" /* Perms.PAIRED_READ */],
4168
4168
  }) || this;
4169
4169
  _this.value = _this.getDefaultValue();
4170
4170
  return _this;
@@ -4178,11 +4178,11 @@ Characteristic_1.Characteristic.SupportedDataStreamTransportConfiguration = Supp
4178
4178
  * Characteristic "Supported Diagnostics Modes"
4179
4179
  */
4180
4180
  var SupportedDiagnosticsModes = /** @class */ (function (_super) {
4181
- (0, tslib_1.__extends)(SupportedDiagnosticsModes, _super);
4181
+ tslib_1.__extends(SupportedDiagnosticsModes, _super);
4182
4182
  function SupportedDiagnosticsModes() {
4183
4183
  var _this = _super.call(this, "Supported Diagnostics Modes", SupportedDiagnosticsModes.UUID, {
4184
- format: "uint32" /* UINT32 */,
4185
- perms: ["pr" /* PAIRED_READ */],
4184
+ format: "uint32" /* Formats.UINT32 */,
4185
+ perms: ["pr" /* Perms.PAIRED_READ */],
4186
4186
  }) || this;
4187
4187
  _this.value = _this.getDefaultValue();
4188
4188
  return _this;
@@ -4197,11 +4197,11 @@ Characteristic_1.Characteristic.SupportedDiagnosticsModes = SupportedDiagnostics
4197
4197
  * @since iOS 14
4198
4198
  */
4199
4199
  var SupportedDiagnosticsSnapshot = /** @class */ (function (_super) {
4200
- (0, tslib_1.__extends)(SupportedDiagnosticsSnapshot, _super);
4200
+ tslib_1.__extends(SupportedDiagnosticsSnapshot, _super);
4201
4201
  function SupportedDiagnosticsSnapshot() {
4202
4202
  var _this = _super.call(this, "Supported Diagnostics Snapshot", SupportedDiagnosticsSnapshot.UUID, {
4203
- format: "tlv8" /* TLV8 */,
4204
- perms: ["pr" /* PAIRED_READ */],
4203
+ format: "tlv8" /* Formats.TLV8 */,
4204
+ perms: ["pr" /* Perms.PAIRED_READ */],
4205
4205
  }) || this;
4206
4206
  _this.value = _this.getDefaultValue();
4207
4207
  return _this;
@@ -4215,11 +4215,11 @@ Characteristic_1.Characteristic.SupportedDiagnosticsSnapshot = SupportedDiagnost
4215
4215
  * Characteristic "Supported Firmware Update Configuration"
4216
4216
  */
4217
4217
  var SupportedFirmwareUpdateConfiguration = /** @class */ (function (_super) {
4218
- (0, tslib_1.__extends)(SupportedFirmwareUpdateConfiguration, _super);
4218
+ tslib_1.__extends(SupportedFirmwareUpdateConfiguration, _super);
4219
4219
  function SupportedFirmwareUpdateConfiguration() {
4220
4220
  var _this = _super.call(this, "Supported Firmware Update Configuration", SupportedFirmwareUpdateConfiguration.UUID, {
4221
- format: "tlv8" /* TLV8 */,
4222
- perms: ["pr" /* PAIRED_READ */],
4221
+ format: "tlv8" /* Formats.TLV8 */,
4222
+ perms: ["pr" /* Perms.PAIRED_READ */],
4223
4223
  }) || this;
4224
4224
  _this.value = _this.getDefaultValue();
4225
4225
  return _this;
@@ -4233,11 +4233,11 @@ Characteristic_1.Characteristic.SupportedFirmwareUpdateConfiguration = Supported
4233
4233
  * Characteristic "Supported Metrics"
4234
4234
  */
4235
4235
  var SupportedMetrics = /** @class */ (function (_super) {
4236
- (0, tslib_1.__extends)(SupportedMetrics, _super);
4236
+ tslib_1.__extends(SupportedMetrics, _super);
4237
4237
  function SupportedMetrics() {
4238
4238
  var _this = _super.call(this, "Supported Metrics", SupportedMetrics.UUID, {
4239
- format: "tlv8" /* TLV8 */,
4240
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4239
+ format: "tlv8" /* Formats.TLV8 */,
4240
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4241
4241
  }) || this;
4242
4242
  _this.value = _this.getDefaultValue();
4243
4243
  return _this;
@@ -4251,11 +4251,11 @@ Characteristic_1.Characteristic.SupportedMetrics = SupportedMetrics;
4251
4251
  * Characteristic "Supported Router Configuration"
4252
4252
  */
4253
4253
  var SupportedRouterConfiguration = /** @class */ (function (_super) {
4254
- (0, tslib_1.__extends)(SupportedRouterConfiguration, _super);
4254
+ tslib_1.__extends(SupportedRouterConfiguration, _super);
4255
4255
  function SupportedRouterConfiguration() {
4256
4256
  var _this = _super.call(this, "Supported Router Configuration", SupportedRouterConfiguration.UUID, {
4257
- format: "tlv8" /* TLV8 */,
4258
- perms: ["pr" /* PAIRED_READ */],
4257
+ format: "tlv8" /* Formats.TLV8 */,
4258
+ perms: ["pr" /* Perms.PAIRED_READ */],
4259
4259
  }) || this;
4260
4260
  _this.value = _this.getDefaultValue();
4261
4261
  return _this;
@@ -4269,11 +4269,11 @@ Characteristic_1.Characteristic.SupportedRouterConfiguration = SupportedRouterCo
4269
4269
  * Characteristic "Supported RTP Configuration"
4270
4270
  */
4271
4271
  var SupportedRTPConfiguration = /** @class */ (function (_super) {
4272
- (0, tslib_1.__extends)(SupportedRTPConfiguration, _super);
4272
+ tslib_1.__extends(SupportedRTPConfiguration, _super);
4273
4273
  function SupportedRTPConfiguration() {
4274
4274
  var _this = _super.call(this, "Supported RTP Configuration", SupportedRTPConfiguration.UUID, {
4275
- format: "tlv8" /* TLV8 */,
4276
- perms: ["pr" /* PAIRED_READ */],
4275
+ format: "tlv8" /* Formats.TLV8 */,
4276
+ perms: ["pr" /* Perms.PAIRED_READ */],
4277
4277
  }) || this;
4278
4278
  _this.value = _this.getDefaultValue();
4279
4279
  return _this;
@@ -4287,11 +4287,11 @@ Characteristic_1.Characteristic.SupportedRTPConfiguration = SupportedRTPConfigur
4287
4287
  * Characteristic "Supported Sleep Configuration"
4288
4288
  */
4289
4289
  var SupportedSleepConfiguration = /** @class */ (function (_super) {
4290
- (0, tslib_1.__extends)(SupportedSleepConfiguration, _super);
4290
+ tslib_1.__extends(SupportedSleepConfiguration, _super);
4291
4291
  function SupportedSleepConfiguration() {
4292
4292
  var _this = _super.call(this, "Supported Sleep Configuration", SupportedSleepConfiguration.UUID, {
4293
- format: "tlv8" /* TLV8 */,
4294
- perms: ["pr" /* PAIRED_READ */],
4293
+ format: "tlv8" /* Formats.TLV8 */,
4294
+ perms: ["pr" /* Perms.PAIRED_READ */],
4295
4295
  }) || this;
4296
4296
  _this.value = _this.getDefaultValue();
4297
4297
  return _this;
@@ -4306,11 +4306,11 @@ Characteristic_1.Characteristic.SupportedSleepConfiguration = SupportedSleepConf
4306
4306
  * @since iOS 13.4
4307
4307
  */
4308
4308
  var SupportedTransferTransportConfiguration = /** @class */ (function (_super) {
4309
- (0, tslib_1.__extends)(SupportedTransferTransportConfiguration, _super);
4309
+ tslib_1.__extends(SupportedTransferTransportConfiguration, _super);
4310
4310
  function SupportedTransferTransportConfiguration() {
4311
4311
  var _this = _super.call(this, "Supported Transfer Transport Configuration", SupportedTransferTransportConfiguration.UUID, {
4312
- format: "tlv8" /* TLV8 */,
4313
- perms: ["pr" /* PAIRED_READ */],
4312
+ format: "tlv8" /* Formats.TLV8 */,
4313
+ perms: ["pr" /* Perms.PAIRED_READ */],
4314
4314
  }) || this;
4315
4315
  _this.value = _this.getDefaultValue();
4316
4316
  return _this;
@@ -4324,11 +4324,11 @@ Characteristic_1.Characteristic.SupportedTransferTransportConfiguration = Suppor
4324
4324
  * Characteristic "Supported Video Recording Configuration"
4325
4325
  */
4326
4326
  var SupportedVideoRecordingConfiguration = /** @class */ (function (_super) {
4327
- (0, tslib_1.__extends)(SupportedVideoRecordingConfiguration, _super);
4327
+ tslib_1.__extends(SupportedVideoRecordingConfiguration, _super);
4328
4328
  function SupportedVideoRecordingConfiguration() {
4329
4329
  var _this = _super.call(this, "Supported Video Recording Configuration", SupportedVideoRecordingConfiguration.UUID, {
4330
- format: "tlv8" /* TLV8 */,
4331
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
4330
+ format: "tlv8" /* Formats.TLV8 */,
4331
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4332
4332
  }) || this;
4333
4333
  _this.value = _this.getDefaultValue();
4334
4334
  return _this;
@@ -4342,11 +4342,11 @@ Characteristic_1.Characteristic.SupportedVideoRecordingConfiguration = Supported
4342
4342
  * Characteristic "Supported Video Stream Configuration"
4343
4343
  */
4344
4344
  var SupportedVideoStreamConfiguration = /** @class */ (function (_super) {
4345
- (0, tslib_1.__extends)(SupportedVideoStreamConfiguration, _super);
4345
+ tslib_1.__extends(SupportedVideoStreamConfiguration, _super);
4346
4346
  function SupportedVideoStreamConfiguration() {
4347
4347
  var _this = _super.call(this, "Supported Video Stream Configuration", SupportedVideoStreamConfiguration.UUID, {
4348
- format: "tlv8" /* TLV8 */,
4349
- perms: ["pr" /* PAIRED_READ */],
4348
+ format: "tlv8" /* Formats.TLV8 */,
4349
+ perms: ["pr" /* Perms.PAIRED_READ */],
4350
4350
  }) || this;
4351
4351
  _this.value = _this.getDefaultValue();
4352
4352
  return _this;
@@ -4360,11 +4360,11 @@ Characteristic_1.Characteristic.SupportedVideoStreamConfiguration = SupportedVid
4360
4360
  * Characteristic "Swing Mode"
4361
4361
  */
4362
4362
  var SwingMode = /** @class */ (function (_super) {
4363
- (0, tslib_1.__extends)(SwingMode, _super);
4363
+ tslib_1.__extends(SwingMode, _super);
4364
4364
  function SwingMode() {
4365
4365
  var _this = _super.call(this, "Swing Mode", SwingMode.UUID, {
4366
- format: "uint8" /* UINT8 */,
4367
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4366
+ format: "uint8" /* Formats.UINT8 */,
4367
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4368
4368
  minValue: 0,
4369
4369
  maxValue: 1,
4370
4370
  minStep: 1,
@@ -4384,11 +4384,11 @@ Characteristic_1.Characteristic.SwingMode = SwingMode;
4384
4384
  * Characteristic "Tap Type"
4385
4385
  */
4386
4386
  var TapType = /** @class */ (function (_super) {
4387
- (0, tslib_1.__extends)(TapType, _super);
4387
+ tslib_1.__extends(TapType, _super);
4388
4388
  function TapType() {
4389
4389
  var _this = _super.call(this, "Tap Type", TapType.UUID, {
4390
- format: "uint16" /* UINT16 */,
4391
- perms: ["pr" /* PAIRED_READ */],
4390
+ format: "uint16" /* Formats.UINT16 */,
4391
+ perms: ["pr" /* Perms.PAIRED_READ */],
4392
4392
  }) || this;
4393
4393
  _this.value = _this.getDefaultValue();
4394
4394
  return _this;
@@ -4402,11 +4402,11 @@ Characteristic_1.Characteristic.TapType = TapType;
4402
4402
  * Characteristic "Target Air Purifier State"
4403
4403
  */
4404
4404
  var TargetAirPurifierState = /** @class */ (function (_super) {
4405
- (0, tslib_1.__extends)(TargetAirPurifierState, _super);
4405
+ tslib_1.__extends(TargetAirPurifierState, _super);
4406
4406
  function TargetAirPurifierState() {
4407
4407
  var _this = _super.call(this, "Target Air Purifier State", TargetAirPurifierState.UUID, {
4408
- format: "uint8" /* UINT8 */,
4409
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4408
+ format: "uint8" /* Formats.UINT8 */,
4409
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4410
4410
  minValue: 0,
4411
4411
  maxValue: 1,
4412
4412
  minStep: 1,
@@ -4427,11 +4427,11 @@ Characteristic_1.Characteristic.TargetAirPurifierState = TargetAirPurifierState;
4427
4427
  * @deprecated Removed and not used anymore
4428
4428
  */
4429
4429
  var TargetAirQuality = /** @class */ (function (_super) {
4430
- (0, tslib_1.__extends)(TargetAirQuality, _super);
4430
+ tslib_1.__extends(TargetAirQuality, _super);
4431
4431
  function TargetAirQuality() {
4432
4432
  var _this = _super.call(this, "Target Air Quality", TargetAirQuality.UUID, {
4433
- format: "uint8" /* UINT8 */,
4434
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4433
+ format: "uint8" /* Formats.UINT8 */,
4434
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4435
4435
  minValue: 0,
4436
4436
  maxValue: 2,
4437
4437
  validValues: [0, 1, 2],
@@ -4452,12 +4452,12 @@ Characteristic_1.Characteristic.TargetAirQuality = TargetAirQuality;
4452
4452
  * Characteristic "Target Control List"
4453
4453
  */
4454
4454
  var TargetControlList = /** @class */ (function (_super) {
4455
- (0, tslib_1.__extends)(TargetControlList, _super);
4455
+ tslib_1.__extends(TargetControlList, _super);
4456
4456
  function TargetControlList() {
4457
4457
  var _this = _super.call(this, "Target Control List", TargetControlList.UUID, {
4458
- format: "tlv8" /* TLV8 */,
4459
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "wr" /* WRITE_RESPONSE */],
4460
- adminOnlyAccess: [0 /* READ */, 1 /* WRITE */],
4458
+ format: "tlv8" /* Formats.TLV8 */,
4459
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
4460
+ adminOnlyAccess: [0 /* Access.READ */, 1 /* Access.WRITE */],
4461
4461
  }) || this;
4462
4462
  _this.value = _this.getDefaultValue();
4463
4463
  return _this;
@@ -4471,11 +4471,11 @@ Characteristic_1.Characteristic.TargetControlList = TargetControlList;
4471
4471
  * Characteristic "Target Control Supported Configuration"
4472
4472
  */
4473
4473
  var TargetControlSupportedConfiguration = /** @class */ (function (_super) {
4474
- (0, tslib_1.__extends)(TargetControlSupportedConfiguration, _super);
4474
+ tslib_1.__extends(TargetControlSupportedConfiguration, _super);
4475
4475
  function TargetControlSupportedConfiguration() {
4476
4476
  var _this = _super.call(this, "Target Control Supported Configuration", TargetControlSupportedConfiguration.UUID, {
4477
- format: "tlv8" /* TLV8 */,
4478
- perms: ["pr" /* PAIRED_READ */],
4477
+ format: "tlv8" /* Formats.TLV8 */,
4478
+ perms: ["pr" /* Perms.PAIRED_READ */],
4479
4479
  }) || this;
4480
4480
  _this.value = _this.getDefaultValue();
4481
4481
  return _this;
@@ -4489,11 +4489,11 @@ Characteristic_1.Characteristic.TargetControlSupportedConfiguration = TargetCont
4489
4489
  * Characteristic "Target Door State"
4490
4490
  */
4491
4491
  var TargetDoorState = /** @class */ (function (_super) {
4492
- (0, tslib_1.__extends)(TargetDoorState, _super);
4492
+ tslib_1.__extends(TargetDoorState, _super);
4493
4493
  function TargetDoorState() {
4494
4494
  var _this = _super.call(this, "Target Door State", TargetDoorState.UUID, {
4495
- format: "uint8" /* UINT8 */,
4496
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4495
+ format: "uint8" /* Formats.UINT8 */,
4496
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4497
4497
  minValue: 0,
4498
4498
  maxValue: 1,
4499
4499
  minStep: 1,
@@ -4513,11 +4513,11 @@ Characteristic_1.Characteristic.TargetDoorState = TargetDoorState;
4513
4513
  * Characteristic "Target Fan State"
4514
4514
  */
4515
4515
  var TargetFanState = /** @class */ (function (_super) {
4516
- (0, tslib_1.__extends)(TargetFanState, _super);
4516
+ tslib_1.__extends(TargetFanState, _super);
4517
4517
  function TargetFanState() {
4518
4518
  var _this = _super.call(this, "Target Fan State", TargetFanState.UUID, {
4519
- format: "uint8" /* UINT8 */,
4520
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4519
+ format: "uint8" /* Formats.UINT8 */,
4520
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4521
4521
  minValue: 0,
4522
4522
  maxValue: 1,
4523
4523
  minStep: 1,
@@ -4537,11 +4537,11 @@ Characteristic_1.Characteristic.TargetFanState = TargetFanState;
4537
4537
  * Characteristic "Target Heater-Cooler State"
4538
4538
  */
4539
4539
  var TargetHeaterCoolerState = /** @class */ (function (_super) {
4540
- (0, tslib_1.__extends)(TargetHeaterCoolerState, _super);
4540
+ tslib_1.__extends(TargetHeaterCoolerState, _super);
4541
4541
  function TargetHeaterCoolerState() {
4542
4542
  var _this = _super.call(this, "Target Heater-Cooler State", TargetHeaterCoolerState.UUID, {
4543
- format: "uint8" /* UINT8 */,
4544
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4543
+ format: "uint8" /* Formats.UINT8 */,
4544
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4545
4545
  minValue: 0,
4546
4546
  maxValue: 2,
4547
4547
  minStep: 1,
@@ -4562,11 +4562,11 @@ Characteristic_1.Characteristic.TargetHeaterCoolerState = TargetHeaterCoolerStat
4562
4562
  * Characteristic "Target Heating Cooling State"
4563
4563
  */
4564
4564
  var TargetHeatingCoolingState = /** @class */ (function (_super) {
4565
- (0, tslib_1.__extends)(TargetHeatingCoolingState, _super);
4565
+ tslib_1.__extends(TargetHeatingCoolingState, _super);
4566
4566
  function TargetHeatingCoolingState() {
4567
4567
  var _this = _super.call(this, "Target Heating Cooling State", TargetHeatingCoolingState.UUID, {
4568
- format: "uint8" /* UINT8 */,
4569
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4568
+ format: "uint8" /* Formats.UINT8 */,
4569
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4570
4570
  minValue: 0,
4571
4571
  maxValue: 3,
4572
4572
  minStep: 1,
@@ -4588,12 +4588,12 @@ Characteristic_1.Characteristic.TargetHeatingCoolingState = TargetHeatingCooling
4588
4588
  * Characteristic "Target Horizontal Tilt Angle"
4589
4589
  */
4590
4590
  var TargetHorizontalTiltAngle = /** @class */ (function (_super) {
4591
- (0, tslib_1.__extends)(TargetHorizontalTiltAngle, _super);
4591
+ tslib_1.__extends(TargetHorizontalTiltAngle, _super);
4592
4592
  function TargetHorizontalTiltAngle() {
4593
4593
  var _this = _super.call(this, "Target Horizontal Tilt Angle", TargetHorizontalTiltAngle.UUID, {
4594
- format: "int" /* INT */,
4595
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4596
- unit: "arcdegrees" /* ARC_DEGREE */,
4594
+ format: "int" /* Formats.INT */,
4595
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4596
+ unit: "arcdegrees" /* Units.ARC_DEGREE */,
4597
4597
  minValue: -90,
4598
4598
  maxValue: 90,
4599
4599
  minStep: 1,
@@ -4610,11 +4610,11 @@ Characteristic_1.Characteristic.TargetHorizontalTiltAngle = TargetHorizontalTilt
4610
4610
  * Characteristic "Target Humidifier-Dehumidifier State"
4611
4611
  */
4612
4612
  var TargetHumidifierDehumidifierState = /** @class */ (function (_super) {
4613
- (0, tslib_1.__extends)(TargetHumidifierDehumidifierState, _super);
4613
+ tslib_1.__extends(TargetHumidifierDehumidifierState, _super);
4614
4614
  function TargetHumidifierDehumidifierState() {
4615
4615
  var _this = _super.call(this, "Target Humidifier-Dehumidifier State", TargetHumidifierDehumidifierState.UUID, {
4616
- format: "uint8" /* UINT8 */,
4617
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4616
+ format: "uint8" /* Formats.UINT8 */,
4617
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4618
4618
  minValue: 0,
4619
4619
  maxValue: 2,
4620
4620
  minStep: 1,
@@ -4639,11 +4639,11 @@ Characteristic_1.Characteristic.TargetHumidifierDehumidifierState = TargetHumidi
4639
4639
  * Characteristic "Target Media State"
4640
4640
  */
4641
4641
  var TargetMediaState = /** @class */ (function (_super) {
4642
- (0, tslib_1.__extends)(TargetMediaState, _super);
4642
+ tslib_1.__extends(TargetMediaState, _super);
4643
4643
  function TargetMediaState() {
4644
4644
  var _this = _super.call(this, "Target Media State", TargetMediaState.UUID, {
4645
- format: "uint8" /* UINT8 */,
4646
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4645
+ format: "uint8" /* Formats.UINT8 */,
4646
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4647
4647
  minValue: 0,
4648
4648
  maxValue: 2,
4649
4649
  minStep: 1,
@@ -4664,12 +4664,12 @@ Characteristic_1.Characteristic.TargetMediaState = TargetMediaState;
4664
4664
  * Characteristic "Target Position"
4665
4665
  */
4666
4666
  var TargetPosition = /** @class */ (function (_super) {
4667
- (0, tslib_1.__extends)(TargetPosition, _super);
4667
+ tslib_1.__extends(TargetPosition, _super);
4668
4668
  function TargetPosition() {
4669
4669
  var _this = _super.call(this, "Target Position", TargetPosition.UUID, {
4670
- format: "uint8" /* UINT8 */,
4671
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4672
- unit: "percentage" /* PERCENTAGE */,
4670
+ format: "uint8" /* Formats.UINT8 */,
4671
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4672
+ unit: "percentage" /* Units.PERCENTAGE */,
4673
4673
  minValue: 0,
4674
4674
  maxValue: 100,
4675
4675
  minStep: 1,
@@ -4686,12 +4686,12 @@ Characteristic_1.Characteristic.TargetPosition = TargetPosition;
4686
4686
  * Characteristic "Target Relative Humidity"
4687
4687
  */
4688
4688
  var TargetRelativeHumidity = /** @class */ (function (_super) {
4689
- (0, tslib_1.__extends)(TargetRelativeHumidity, _super);
4689
+ tslib_1.__extends(TargetRelativeHumidity, _super);
4690
4690
  function TargetRelativeHumidity() {
4691
4691
  var _this = _super.call(this, "Target Relative Humidity", TargetRelativeHumidity.UUID, {
4692
- format: "float" /* FLOAT */,
4693
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4694
- unit: "percentage" /* PERCENTAGE */,
4692
+ format: "float" /* Formats.FLOAT */,
4693
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4694
+ unit: "percentage" /* Units.PERCENTAGE */,
4695
4695
  minValue: 0,
4696
4696
  maxValue: 100,
4697
4697
  minStep: 1,
@@ -4709,11 +4709,11 @@ Characteristic_1.Characteristic.TargetRelativeHumidity = TargetRelativeHumidity;
4709
4709
  * @deprecated Removed and not used anymore
4710
4710
  */
4711
4711
  var TargetSlatState = /** @class */ (function (_super) {
4712
- (0, tslib_1.__extends)(TargetSlatState, _super);
4712
+ tslib_1.__extends(TargetSlatState, _super);
4713
4713
  function TargetSlatState() {
4714
4714
  var _this = _super.call(this, "Target Slat State", TargetSlatState.UUID, {
4715
- format: "uint8" /* UINT8 */,
4716
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4715
+ format: "uint8" /* Formats.UINT8 */,
4716
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4717
4717
  minValue: 0,
4718
4718
  maxValue: 1,
4719
4719
  validValues: [0, 1],
@@ -4733,12 +4733,12 @@ Characteristic_1.Characteristic.TargetSlatState = TargetSlatState;
4733
4733
  * Characteristic "Target Temperature"
4734
4734
  */
4735
4735
  var TargetTemperature = /** @class */ (function (_super) {
4736
- (0, tslib_1.__extends)(TargetTemperature, _super);
4736
+ tslib_1.__extends(TargetTemperature, _super);
4737
4737
  function TargetTemperature() {
4738
4738
  var _this = _super.call(this, "Target Temperature", TargetTemperature.UUID, {
4739
- format: "float" /* FLOAT */,
4740
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4741
- unit: "celsius" /* CELSIUS */,
4739
+ format: "float" /* Formats.FLOAT */,
4740
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4741
+ unit: "celsius" /* Units.CELSIUS */,
4742
4742
  minValue: 10,
4743
4743
  maxValue: 38,
4744
4744
  minStep: 0.1,
@@ -4755,12 +4755,12 @@ Characteristic_1.Characteristic.TargetTemperature = TargetTemperature;
4755
4755
  * Characteristic "Target Tilt Angle"
4756
4756
  */
4757
4757
  var TargetTiltAngle = /** @class */ (function (_super) {
4758
- (0, tslib_1.__extends)(TargetTiltAngle, _super);
4758
+ tslib_1.__extends(TargetTiltAngle, _super);
4759
4759
  function TargetTiltAngle() {
4760
4760
  var _this = _super.call(this, "Target Tilt Angle", TargetTiltAngle.UUID, {
4761
- format: "int" /* INT */,
4762
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4763
- unit: "arcdegrees" /* ARC_DEGREE */,
4761
+ format: "int" /* Formats.INT */,
4762
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4763
+ unit: "arcdegrees" /* Units.ARC_DEGREE */,
4764
4764
  minValue: -90,
4765
4765
  maxValue: 90,
4766
4766
  minStep: 1,
@@ -4777,12 +4777,12 @@ Characteristic_1.Characteristic.TargetTiltAngle = TargetTiltAngle;
4777
4777
  * Characteristic "Target Vertical Tilt Angle"
4778
4778
  */
4779
4779
  var TargetVerticalTiltAngle = /** @class */ (function (_super) {
4780
- (0, tslib_1.__extends)(TargetVerticalTiltAngle, _super);
4780
+ tslib_1.__extends(TargetVerticalTiltAngle, _super);
4781
4781
  function TargetVerticalTiltAngle() {
4782
4782
  var _this = _super.call(this, "Target Vertical Tilt Angle", TargetVerticalTiltAngle.UUID, {
4783
- format: "int" /* INT */,
4784
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4785
- unit: "arcdegrees" /* ARC_DEGREE */,
4783
+ format: "int" /* Formats.INT */,
4784
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4785
+ unit: "arcdegrees" /* Units.ARC_DEGREE */,
4786
4786
  minValue: -90,
4787
4787
  maxValue: 90,
4788
4788
  minStep: 1,
@@ -4799,11 +4799,11 @@ Characteristic_1.Characteristic.TargetVerticalTiltAngle = TargetVerticalTiltAngl
4799
4799
  * Characteristic "Target Visibility State"
4800
4800
  */
4801
4801
  var TargetVisibilityState = /** @class */ (function (_super) {
4802
- (0, tslib_1.__extends)(TargetVisibilityState, _super);
4802
+ tslib_1.__extends(TargetVisibilityState, _super);
4803
4803
  function TargetVisibilityState() {
4804
4804
  var _this = _super.call(this, "Target Visibility State", TargetVisibilityState.UUID, {
4805
- format: "uint8" /* UINT8 */,
4806
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4805
+ format: "uint8" /* Formats.UINT8 */,
4806
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4807
4807
  minValue: 0,
4808
4808
  maxValue: 1,
4809
4809
  minStep: 1,
@@ -4823,11 +4823,11 @@ Characteristic_1.Characteristic.TargetVisibilityState = TargetVisibilityState;
4823
4823
  * Characteristic "Temperature Display Units"
4824
4824
  */
4825
4825
  var TemperatureDisplayUnits = /** @class */ (function (_super) {
4826
- (0, tslib_1.__extends)(TemperatureDisplayUnits, _super);
4826
+ tslib_1.__extends(TemperatureDisplayUnits, _super);
4827
4827
  function TemperatureDisplayUnits() {
4828
4828
  var _this = _super.call(this, "Temperature Display Units", TemperatureDisplayUnits.UUID, {
4829
- format: "uint8" /* UINT8 */,
4830
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4829
+ format: "uint8" /* Formats.UINT8 */,
4830
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4831
4831
  minValue: 0,
4832
4832
  maxValue: 1,
4833
4833
  minStep: 1,
@@ -4847,11 +4847,11 @@ Characteristic_1.Characteristic.TemperatureDisplayUnits = TemperatureDisplayUnit
4847
4847
  * Characteristic "Third Party Camera Active"
4848
4848
  */
4849
4849
  var ThirdPartyCameraActive = /** @class */ (function (_super) {
4850
- (0, tslib_1.__extends)(ThirdPartyCameraActive, _super);
4850
+ tslib_1.__extends(ThirdPartyCameraActive, _super);
4851
4851
  function ThirdPartyCameraActive() {
4852
4852
  var _this = _super.call(this, "Third Party Camera Active", ThirdPartyCameraActive.UUID, {
4853
- format: "uint8" /* UINT8 */,
4854
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
4853
+ format: "uint8" /* Formats.UINT8 */,
4854
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4855
4855
  validValues: [0, 1],
4856
4856
  }) || this;
4857
4857
  _this.value = _this.getDefaultValue();
@@ -4868,11 +4868,11 @@ Characteristic_1.Characteristic.ThirdPartyCameraActive = ThirdPartyCameraActive;
4868
4868
  * Characteristic "Thread Control Point"
4869
4869
  */
4870
4870
  var ThreadControlPoint = /** @class */ (function (_super) {
4871
- (0, tslib_1.__extends)(ThreadControlPoint, _super);
4871
+ tslib_1.__extends(ThreadControlPoint, _super);
4872
4872
  function ThreadControlPoint() {
4873
4873
  var _this = _super.call(this, "Thread Control Point", ThreadControlPoint.UUID, {
4874
- format: "tlv8" /* TLV8 */,
4875
- perms: ["pw" /* PAIRED_WRITE */],
4874
+ format: "tlv8" /* Formats.TLV8 */,
4875
+ perms: ["pw" /* Perms.PAIRED_WRITE */],
4876
4876
  }) || this;
4877
4877
  _this.value = _this.getDefaultValue();
4878
4878
  return _this;
@@ -4886,11 +4886,11 @@ Characteristic_1.Characteristic.ThreadControlPoint = ThreadControlPoint;
4886
4886
  * Characteristic "Thread Node Capabilities"
4887
4887
  */
4888
4888
  var ThreadNodeCapabilities = /** @class */ (function (_super) {
4889
- (0, tslib_1.__extends)(ThreadNodeCapabilities, _super);
4889
+ tslib_1.__extends(ThreadNodeCapabilities, _super);
4890
4890
  function ThreadNodeCapabilities() {
4891
4891
  var _this = _super.call(this, "Thread Node Capabilities", ThreadNodeCapabilities.UUID, {
4892
- format: "uint16" /* UINT16 */,
4893
- perms: ["pr" /* PAIRED_READ */],
4892
+ format: "uint16" /* Formats.UINT16 */,
4893
+ perms: ["pr" /* Perms.PAIRED_READ */],
4894
4894
  minValue: 0,
4895
4895
  maxValue: 31,
4896
4896
  minStep: 1,
@@ -4907,11 +4907,11 @@ Characteristic_1.Characteristic.ThreadNodeCapabilities = ThreadNodeCapabilities;
4907
4907
  * Characteristic "Thread OpenThread Version"
4908
4908
  */
4909
4909
  var ThreadOpenThreadVersion = /** @class */ (function (_super) {
4910
- (0, tslib_1.__extends)(ThreadOpenThreadVersion, _super);
4910
+ tslib_1.__extends(ThreadOpenThreadVersion, _super);
4911
4911
  function ThreadOpenThreadVersion() {
4912
4912
  var _this = _super.call(this, "Thread OpenThread Version", ThreadOpenThreadVersion.UUID, {
4913
- format: "string" /* STRING */,
4914
- perms: ["pr" /* PAIRED_READ */],
4913
+ format: "string" /* Formats.STRING */,
4914
+ perms: ["pr" /* Perms.PAIRED_READ */],
4915
4915
  }) || this;
4916
4916
  _this.value = _this.getDefaultValue();
4917
4917
  return _this;
@@ -4925,11 +4925,11 @@ Characteristic_1.Characteristic.ThreadOpenThreadVersion = ThreadOpenThreadVersio
4925
4925
  * Characteristic "Thread Status"
4926
4926
  */
4927
4927
  var ThreadStatus = /** @class */ (function (_super) {
4928
- (0, tslib_1.__extends)(ThreadStatus, _super);
4928
+ tslib_1.__extends(ThreadStatus, _super);
4929
4929
  function ThreadStatus() {
4930
4930
  var _this = _super.call(this, "Thread Status", ThreadStatus.UUID, {
4931
- format: "uint16" /* UINT16 */,
4932
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
4931
+ format: "uint16" /* Formats.UINT16 */,
4932
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
4933
4933
  minValue: 0,
4934
4934
  maxValue: 6,
4935
4935
  minStep: 1,
@@ -4947,11 +4947,11 @@ Characteristic_1.Characteristic.ThreadStatus = ThreadStatus;
4947
4947
  * @deprecated Removed and not used anymore
4948
4948
  */
4949
4949
  var TimeUpdate = /** @class */ (function (_super) {
4950
- (0, tslib_1.__extends)(TimeUpdate, _super);
4950
+ tslib_1.__extends(TimeUpdate, _super);
4951
4951
  function TimeUpdate() {
4952
4952
  var _this = _super.call(this, "Time Update", TimeUpdate.UUID, {
4953
- format: "bool" /* BOOL */,
4954
- perms: ["pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
4953
+ format: "bool" /* Formats.BOOL */,
4954
+ perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
4955
4955
  }) || this;
4956
4956
  _this.value = _this.getDefaultValue();
4957
4957
  return _this;
@@ -4966,11 +4966,11 @@ Characteristic_1.Characteristic.TimeUpdate = TimeUpdate;
4966
4966
  * Characteristic "Token"
4967
4967
  */
4968
4968
  var Token = /** @class */ (function (_super) {
4969
- (0, tslib_1.__extends)(Token, _super);
4969
+ tslib_1.__extends(Token, _super);
4970
4970
  function Token() {
4971
4971
  var _this = _super.call(this, "Token", Token.UUID, {
4972
- format: "data" /* DATA */,
4973
- perms: ["pw" /* PAIRED_WRITE */],
4972
+ format: "data" /* Formats.DATA */,
4973
+ perms: ["pw" /* Perms.PAIRED_WRITE */],
4974
4974
  }) || this;
4975
4975
  _this.value = _this.getDefaultValue();
4976
4976
  return _this;
@@ -4985,11 +4985,11 @@ Characteristic_1.Characteristic.Token = Token;
4985
4985
  * @since iOS 14
4986
4986
  */
4987
4987
  var TransmitPower = /** @class */ (function (_super) {
4988
- (0, tslib_1.__extends)(TransmitPower, _super);
4988
+ tslib_1.__extends(TransmitPower, _super);
4989
4989
  function TransmitPower() {
4990
4990
  var _this = _super.call(this, "Transmit Power", TransmitPower.UUID, {
4991
- format: "int" /* INT */,
4992
- perms: ["pr" /* PAIRED_READ */],
4991
+ format: "int" /* Formats.INT */,
4992
+ perms: ["pr" /* Perms.PAIRED_READ */],
4993
4993
  }) || this;
4994
4994
  _this.value = _this.getDefaultValue();
4995
4995
  return _this;
@@ -5003,11 +5003,11 @@ Characteristic_1.Characteristic.TransmitPower = TransmitPower;
5003
5003
  * Characteristic "Tunnel Connection Timeout"
5004
5004
  */
5005
5005
  var TunnelConnectionTimeout = /** @class */ (function (_super) {
5006
- (0, tslib_1.__extends)(TunnelConnectionTimeout, _super);
5006
+ tslib_1.__extends(TunnelConnectionTimeout, _super);
5007
5007
  function TunnelConnectionTimeout() {
5008
5008
  var _this = _super.call(this, "Tunnel Connection Timeout", TunnelConnectionTimeout.UUID, {
5009
- format: "int" /* INT */,
5010
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
5009
+ format: "int" /* Formats.INT */,
5010
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
5011
5011
  }) || this;
5012
5012
  _this.value = _this.getDefaultValue();
5013
5013
  return _this;
@@ -5021,11 +5021,11 @@ Characteristic_1.Characteristic.TunnelConnectionTimeout = TunnelConnectionTimeou
5021
5021
  * Characteristic "Tunneled Accessory Advertising"
5022
5022
  */
5023
5023
  var TunneledAccessoryAdvertising = /** @class */ (function (_super) {
5024
- (0, tslib_1.__extends)(TunneledAccessoryAdvertising, _super);
5024
+ tslib_1.__extends(TunneledAccessoryAdvertising, _super);
5025
5025
  function TunneledAccessoryAdvertising() {
5026
5026
  var _this = _super.call(this, "Tunneled Accessory Advertising", TunneledAccessoryAdvertising.UUID, {
5027
- format: "bool" /* BOOL */,
5028
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
5027
+ format: "bool" /* Formats.BOOL */,
5028
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
5029
5029
  }) || this;
5030
5030
  _this.value = _this.getDefaultValue();
5031
5031
  return _this;
@@ -5039,11 +5039,11 @@ Characteristic_1.Characteristic.TunneledAccessoryAdvertising = TunneledAccessory
5039
5039
  * Characteristic "Tunneled Accessory Connected"
5040
5040
  */
5041
5041
  var TunneledAccessoryConnected = /** @class */ (function (_super) {
5042
- (0, tslib_1.__extends)(TunneledAccessoryConnected, _super);
5042
+ tslib_1.__extends(TunneledAccessoryConnected, _super);
5043
5043
  function TunneledAccessoryConnected() {
5044
5044
  var _this = _super.call(this, "Tunneled Accessory Connected", TunneledAccessoryConnected.UUID, {
5045
- format: "bool" /* BOOL */,
5046
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
5045
+ format: "bool" /* Formats.BOOL */,
5046
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
5047
5047
  }) || this;
5048
5048
  _this.value = _this.getDefaultValue();
5049
5049
  return _this;
@@ -5057,11 +5057,11 @@ Characteristic_1.Characteristic.TunneledAccessoryConnected = TunneledAccessoryCo
5057
5057
  * Characteristic "Tunneled Accessory State Number"
5058
5058
  */
5059
5059
  var TunneledAccessoryStateNumber = /** @class */ (function (_super) {
5060
- (0, tslib_1.__extends)(TunneledAccessoryStateNumber, _super);
5060
+ tslib_1.__extends(TunneledAccessoryStateNumber, _super);
5061
5061
  function TunneledAccessoryStateNumber() {
5062
5062
  var _this = _super.call(this, "Tunneled Accessory State Number", TunneledAccessoryStateNumber.UUID, {
5063
- format: "int" /* INT */,
5064
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
5063
+ format: "int" /* Formats.INT */,
5064
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
5065
5065
  }) || this;
5066
5066
  _this.value = _this.getDefaultValue();
5067
5067
  return _this;
@@ -5075,11 +5075,11 @@ Characteristic_1.Characteristic.TunneledAccessoryStateNumber = TunneledAccessory
5075
5075
  * Characteristic "Valve Type"
5076
5076
  */
5077
5077
  var ValveType = /** @class */ (function (_super) {
5078
- (0, tslib_1.__extends)(ValveType, _super);
5078
+ tslib_1.__extends(ValveType, _super);
5079
5079
  function ValveType() {
5080
5080
  var _this = _super.call(this, "Valve Type", ValveType.UUID, {
5081
- format: "uint8" /* UINT8 */,
5082
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
5081
+ format: "uint8" /* Formats.UINT8 */,
5082
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
5083
5083
  minValue: 0,
5084
5084
  maxValue: 3,
5085
5085
  minStep: 1,
@@ -5101,11 +5101,11 @@ Characteristic_1.Characteristic.ValveType = ValveType;
5101
5101
  * Characteristic "Version"
5102
5102
  */
5103
5103
  var Version = /** @class */ (function (_super) {
5104
- (0, tslib_1.__extends)(Version, _super);
5104
+ tslib_1.__extends(Version, _super);
5105
5105
  function Version() {
5106
5106
  var _this = _super.call(this, "Version", Version.UUID, {
5107
- format: "string" /* STRING */,
5108
- perms: ["pr" /* PAIRED_READ */],
5107
+ format: "string" /* Formats.STRING */,
5108
+ perms: ["pr" /* Perms.PAIRED_READ */],
5109
5109
  maxLen: 64,
5110
5110
  }) || this;
5111
5111
  _this.value = _this.getDefaultValue();
@@ -5121,11 +5121,11 @@ Characteristic_1.Characteristic.Version = Version;
5121
5121
  * @since iOS 14
5122
5122
  */
5123
5123
  var VideoAnalysisActive = /** @class */ (function (_super) {
5124
- (0, tslib_1.__extends)(VideoAnalysisActive, _super);
5124
+ tslib_1.__extends(VideoAnalysisActive, _super);
5125
5125
  function VideoAnalysisActive() {
5126
5126
  var _this = _super.call(this, "Video Analysis Active", VideoAnalysisActive.UUID, {
5127
- format: "uint8" /* UINT8 */,
5128
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
5127
+ format: "uint8" /* Formats.UINT8 */,
5128
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
5129
5129
  }) || this;
5130
5130
  _this.value = _this.getDefaultValue();
5131
5131
  return _this;
@@ -5139,11 +5139,11 @@ Characteristic_1.Characteristic.VideoAnalysisActive = VideoAnalysisActive;
5139
5139
  * Characteristic "VOC Density"
5140
5140
  */
5141
5141
  var VOCDensity = /** @class */ (function (_super) {
5142
- (0, tslib_1.__extends)(VOCDensity, _super);
5142
+ tslib_1.__extends(VOCDensity, _super);
5143
5143
  function VOCDensity() {
5144
5144
  var _this = _super.call(this, "VOC Density", VOCDensity.UUID, {
5145
- format: "float" /* FLOAT */,
5146
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
5145
+ format: "float" /* Formats.FLOAT */,
5146
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
5147
5147
  minValue: 0,
5148
5148
  maxValue: 1000,
5149
5149
  minStep: 1,
@@ -5160,12 +5160,12 @@ Characteristic_1.Characteristic.VOCDensity = VOCDensity;
5160
5160
  * Characteristic "Volume"
5161
5161
  */
5162
5162
  var Volume = /** @class */ (function (_super) {
5163
- (0, tslib_1.__extends)(Volume, _super);
5163
+ tslib_1.__extends(Volume, _super);
5164
5164
  function Volume() {
5165
5165
  var _this = _super.call(this, "Volume", Volume.UUID, {
5166
- format: "uint8" /* UINT8 */,
5167
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */],
5168
- unit: "percentage" /* PERCENTAGE */,
5166
+ format: "uint8" /* Formats.UINT8 */,
5167
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */],
5168
+ unit: "percentage" /* Units.PERCENTAGE */,
5169
5169
  minValue: 0,
5170
5170
  maxValue: 100,
5171
5171
  minStep: 1,
@@ -5182,11 +5182,11 @@ Characteristic_1.Characteristic.Volume = Volume;
5182
5182
  * Characteristic "Volume Control Type"
5183
5183
  */
5184
5184
  var VolumeControlType = /** @class */ (function (_super) {
5185
- (0, tslib_1.__extends)(VolumeControlType, _super);
5185
+ tslib_1.__extends(VolumeControlType, _super);
5186
5186
  function VolumeControlType() {
5187
5187
  var _this = _super.call(this, "Volume Control Type", VolumeControlType.UUID, {
5188
- format: "uint8" /* UINT8 */,
5189
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
5188
+ format: "uint8" /* Formats.UINT8 */,
5189
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
5190
5190
  minValue: 0,
5191
5191
  maxValue: 3,
5192
5192
  minStep: 1,
@@ -5208,11 +5208,11 @@ Characteristic_1.Characteristic.VolumeControlType = VolumeControlType;
5208
5208
  * Characteristic "Volume Selector"
5209
5209
  */
5210
5210
  var VolumeSelector = /** @class */ (function (_super) {
5211
- (0, tslib_1.__extends)(VolumeSelector, _super);
5211
+ tslib_1.__extends(VolumeSelector, _super);
5212
5212
  function VolumeSelector() {
5213
5213
  var _this = _super.call(this, "Volume Selector", VolumeSelector.UUID, {
5214
- format: "uint8" /* UINT8 */,
5215
- perms: ["pw" /* PAIRED_WRITE */],
5214
+ format: "uint8" /* Formats.UINT8 */,
5215
+ perms: ["pw" /* Perms.PAIRED_WRITE */],
5216
5216
  minValue: 0,
5217
5217
  maxValue: 1,
5218
5218
  minStep: 1,
@@ -5233,11 +5233,11 @@ Characteristic_1.Characteristic.VolumeSelector = VolumeSelector;
5233
5233
  * @since iOS 13.4
5234
5234
  */
5235
5235
  var WakeConfiguration = /** @class */ (function (_super) {
5236
- (0, tslib_1.__extends)(WakeConfiguration, _super);
5236
+ tslib_1.__extends(WakeConfiguration, _super);
5237
5237
  function WakeConfiguration() {
5238
5238
  var _this = _super.call(this, "Wake Configuration", WakeConfiguration.UUID, {
5239
- format: "tlv8" /* TLV8 */,
5240
- perms: ["pr" /* PAIRED_READ */],
5239
+ format: "tlv8" /* Formats.TLV8 */,
5240
+ perms: ["pr" /* Perms.PAIRED_READ */],
5241
5241
  }) || this;
5242
5242
  _this.value = _this.getDefaultValue();
5243
5243
  return _this;
@@ -5251,11 +5251,11 @@ Characteristic_1.Characteristic.WakeConfiguration = WakeConfiguration;
5251
5251
  * Characteristic "WAN Configuration List"
5252
5252
  */
5253
5253
  var WANConfigurationList = /** @class */ (function (_super) {
5254
- (0, tslib_1.__extends)(WANConfigurationList, _super);
5254
+ tslib_1.__extends(WANConfigurationList, _super);
5255
5255
  function WANConfigurationList() {
5256
5256
  var _this = _super.call(this, "WAN Configuration List", WANConfigurationList.UUID, {
5257
- format: "tlv8" /* TLV8 */,
5258
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
5257
+ format: "tlv8" /* Formats.TLV8 */,
5258
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
5259
5259
  }) || this;
5260
5260
  _this.value = _this.getDefaultValue();
5261
5261
  return _this;
@@ -5269,11 +5269,11 @@ Characteristic_1.Characteristic.WANConfigurationList = WANConfigurationList;
5269
5269
  * Characteristic "WAN Status List"
5270
5270
  */
5271
5271
  var WANStatusList = /** @class */ (function (_super) {
5272
- (0, tslib_1.__extends)(WANStatusList, _super);
5272
+ tslib_1.__extends(WANStatusList, _super);
5273
5273
  function WANStatusList() {
5274
5274
  var _this = _super.call(this, "WAN Status List", WANStatusList.UUID, {
5275
- format: "tlv8" /* TLV8 */,
5276
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
5275
+ format: "tlv8" /* Formats.TLV8 */,
5276
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
5277
5277
  }) || this;
5278
5278
  _this.value = _this.getDefaultValue();
5279
5279
  return _this;
@@ -5287,12 +5287,12 @@ Characteristic_1.Characteristic.WANStatusList = WANStatusList;
5287
5287
  * Characteristic "Water Level"
5288
5288
  */
5289
5289
  var WaterLevel = /** @class */ (function (_super) {
5290
- (0, tslib_1.__extends)(WaterLevel, _super);
5290
+ tslib_1.__extends(WaterLevel, _super);
5291
5291
  function WaterLevel() {
5292
5292
  var _this = _super.call(this, "Water Level", WaterLevel.UUID, {
5293
- format: "float" /* FLOAT */,
5294
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
5295
- unit: "percentage" /* PERCENTAGE */,
5293
+ format: "float" /* Formats.FLOAT */,
5294
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
5295
+ unit: "percentage" /* Units.PERCENTAGE */,
5296
5296
  minValue: 0,
5297
5297
  maxValue: 100,
5298
5298
  minStep: 1,
@@ -5310,11 +5310,11 @@ Characteristic_1.Characteristic.WaterLevel = WaterLevel;
5310
5310
  * @since iOS 14
5311
5311
  */
5312
5312
  var WiFiCapabilities = /** @class */ (function (_super) {
5313
- (0, tslib_1.__extends)(WiFiCapabilities, _super);
5313
+ tslib_1.__extends(WiFiCapabilities, _super);
5314
5314
  function WiFiCapabilities() {
5315
5315
  var _this = _super.call(this, "Wi-Fi Capabilities", WiFiCapabilities.UUID, {
5316
- format: "uint32" /* UINT32 */,
5317
- perms: ["pr" /* PAIRED_READ */],
5316
+ format: "uint32" /* Formats.UINT32 */,
5317
+ perms: ["pr" /* Perms.PAIRED_READ */],
5318
5318
  }) || this;
5319
5319
  _this.value = _this.getDefaultValue();
5320
5320
  return _this;
@@ -5329,11 +5329,11 @@ Characteristic_1.Characteristic.WiFiCapabilities = WiFiCapabilities;
5329
5329
  * @since iOS 14
5330
5330
  */
5331
5331
  var WiFiConfigurationControl = /** @class */ (function (_super) {
5332
- (0, tslib_1.__extends)(WiFiConfigurationControl, _super);
5332
+ tslib_1.__extends(WiFiConfigurationControl, _super);
5333
5333
  function WiFiConfigurationControl() {
5334
5334
  var _this = _super.call(this, "Wi-Fi Configuration Control", WiFiConfigurationControl.UUID, {
5335
- format: "tlv8" /* TLV8 */,
5336
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */, "pw" /* PAIRED_WRITE */, "tw" /* TIMED_WRITE */, "wr" /* WRITE_RESPONSE */],
5335
+ format: "tlv8" /* Formats.TLV8 */,
5336
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */],
5337
5337
  }) || this;
5338
5338
  _this.value = _this.getDefaultValue();
5339
5339
  return _this;
@@ -5347,11 +5347,11 @@ Characteristic_1.Characteristic.WiFiConfigurationControl = WiFiConfigurationCont
5347
5347
  * Characteristic "Wi-Fi Satellite Status"
5348
5348
  */
5349
5349
  var WiFiSatelliteStatus = /** @class */ (function (_super) {
5350
- (0, tslib_1.__extends)(WiFiSatelliteStatus, _super);
5350
+ tslib_1.__extends(WiFiSatelliteStatus, _super);
5351
5351
  function WiFiSatelliteStatus() {
5352
5352
  var _this = _super.call(this, "Wi-Fi Satellite Status", WiFiSatelliteStatus.UUID, {
5353
- format: "uint8" /* UINT8 */,
5354
- perms: ["ev" /* NOTIFY */, "pr" /* PAIRED_READ */],
5353
+ format: "uint8" /* Formats.UINT8 */,
5354
+ perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */],
5355
5355
  minValue: 0,
5356
5356
  maxValue: 2,
5357
5357
  validValues: [0, 1, 2],