@zwave-js/cc 15.0.0-beta.0 → 15.0.0-beta.1

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 (376) hide show
  1. package/build/cjs/cc/AlarmSensorCC.d.ts +79 -161
  2. package/build/cjs/cc/AlarmSensorCC.js +12 -50
  3. package/build/cjs/cc/AlarmSensorCC.js.map +2 -2
  4. package/build/cjs/cc/AssociationCC.d.ts +63 -199
  5. package/build/cjs/cc/AssociationCC.js +9 -22
  6. package/build/cjs/cc/AssociationCC.js.map +2 -2
  7. package/build/cjs/cc/AssociationGroupInfoCC.d.ts +66 -166
  8. package/build/cjs/cc/AssociationGroupInfoCC.js +11 -22
  9. package/build/cjs/cc/AssociationGroupInfoCC.js.map +2 -2
  10. package/build/cjs/cc/BarrierOperatorCC.d.ts +86 -294
  11. package/build/cjs/cc/BarrierOperatorCC.js +12 -44
  12. package/build/cjs/cc/BarrierOperatorCC.js.map +2 -2
  13. package/build/cjs/cc/BasicCC.d.ts +85 -331
  14. package/build/cjs/cc/BasicCC.js +15 -46
  15. package/build/cjs/cc/BasicCC.js.map +2 -2
  16. package/build/cjs/cc/BatteryCC.d.ts +237 -835
  17. package/build/cjs/cc/BatteryCC.js +7 -84
  18. package/build/cjs/cc/BatteryCC.js.map +2 -2
  19. package/build/cjs/cc/BinarySensorCC.d.ts +34 -99
  20. package/build/cjs/cc/BinarySensorCC.js +9 -29
  21. package/build/cjs/cc/BinarySensorCC.js.map +2 -2
  22. package/build/cjs/cc/BinarySwitchCC.d.ts +45 -197
  23. package/build/cjs/cc/BinarySwitchCC.js +6 -22
  24. package/build/cjs/cc/BinarySwitchCC.js.map +2 -2
  25. package/build/cjs/cc/CentralSceneCC.d.ts +77 -296
  26. package/build/cjs/cc/CentralSceneCC.js +7 -30
  27. package/build/cjs/cc/CentralSceneCC.js.map +2 -2
  28. package/build/cjs/cc/ClimateControlScheduleCC.d.ts +45 -160
  29. package/build/cjs/cc/ClimateControlScheduleCC.js +5 -24
  30. package/build/cjs/cc/ClimateControlScheduleCC.js.map +2 -2
  31. package/build/cjs/cc/ColorSwitchCC.d.ts +130 -457
  32. package/build/cjs/cc/ColorSwitchCC.js +23 -75
  33. package/build/cjs/cc/ColorSwitchCC.js.map +2 -2
  34. package/build/cjs/cc/ConfigurationCC.d.ts +32 -100
  35. package/build/cjs/cc/ConfigurationCC.js +11 -31
  36. package/build/cjs/cc/ConfigurationCC.js.map +2 -2
  37. package/build/cjs/cc/DoorLockCC.d.ts +512 -1823
  38. package/build/cjs/cc/DoorLockCC.js +51 -156
  39. package/build/cjs/cc/DoorLockCC.js.map +2 -2
  40. package/build/cjs/cc/DoorLockLoggingCC.d.ts +11 -63
  41. package/build/cjs/cc/DoorLockLoggingCC.js +4 -8
  42. package/build/cjs/cc/DoorLockLoggingCC.js.map +2 -2
  43. package/build/cjs/cc/EnergyProductionCC.d.ts +14 -29
  44. package/build/cjs/cc/EnergyProductionCC.js +5 -17
  45. package/build/cjs/cc/EnergyProductionCC.js.map +2 -2
  46. package/build/cjs/cc/EntryControlCC.d.ts +73 -324
  47. package/build/cjs/cc/EntryControlCC.js +9 -36
  48. package/build/cjs/cc/EntryControlCC.js.map +2 -2
  49. package/build/cjs/cc/FirmwareUpdateMetaDataCC.d.ts +78 -390
  50. package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +5 -26
  51. package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +2 -2
  52. package/build/cjs/cc/HumidityControlModeCC.d.ts +31 -131
  53. package/build/cjs/cc/HumidityControlModeCC.js +6 -15
  54. package/build/cjs/cc/HumidityControlModeCC.js.map +2 -2
  55. package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +17 -65
  56. package/build/cjs/cc/HumidityControlOperatingStateCC.js +4 -12
  57. package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +2 -2
  58. package/build/cjs/cc/HumidityControlSetpointCC.d.ts +51 -128
  59. package/build/cjs/cc/HumidityControlSetpointCC.js +10 -28
  60. package/build/cjs/cc/HumidityControlSetpointCC.js.map +2 -2
  61. package/build/cjs/cc/IndicatorCC.d.ts +123 -365
  62. package/build/cjs/cc/IndicatorCC.js +15 -61
  63. package/build/cjs/cc/IndicatorCC.js.map +2 -2
  64. package/build/cjs/cc/IrrigationCC.d.ts +826 -2317
  65. package/build/cjs/cc/IrrigationCC.js +29 -233
  66. package/build/cjs/cc/IrrigationCC.js.map +2 -2
  67. package/build/cjs/cc/LanguageCC.d.ts +31 -133
  68. package/build/cjs/cc/LanguageCC.js +4 -15
  69. package/build/cjs/cc/LanguageCC.js.map +2 -2
  70. package/build/cjs/cc/LockCC.d.ts +14 -64
  71. package/build/cjs/cc/LockCC.js +4 -12
  72. package/build/cjs/cc/LockCC.js.map +2 -2
  73. package/build/cjs/cc/ManufacturerProprietaryCC.js.map +2 -2
  74. package/build/cjs/cc/ManufacturerSpecificCC.d.ts +77 -239
  75. package/build/cjs/cc/ManufacturerSpecificCC.js +5 -26
  76. package/build/cjs/cc/ManufacturerSpecificCC.js.map +2 -2
  77. package/build/cjs/cc/MeterCC.d.ts +119 -393
  78. package/build/cjs/cc/MeterCC.js +25 -69
  79. package/build/cjs/cc/MeterCC.js.map +2 -2
  80. package/build/cjs/cc/MultiChannelAssociationCC.d.ts +66 -166
  81. package/build/cjs/cc/MultiChannelAssociationCC.js +10 -23
  82. package/build/cjs/cc/MultiChannelAssociationCC.js.map +2 -2
  83. package/build/cjs/cc/MultiChannelCC.d.ts +119 -499
  84. package/build/cjs/cc/MultiChannelCC.js +18 -46
  85. package/build/cjs/cc/MultiChannelCC.js.map +2 -2
  86. package/build/cjs/cc/MultilevelSensorCC.d.ts +46 -130
  87. package/build/cjs/cc/MultilevelSensorCC.js +12 -33
  88. package/build/cjs/cc/MultilevelSensorCC.js.map +2 -2
  89. package/build/cjs/cc/MultilevelSwitchCC.d.ts +160 -525
  90. package/build/cjs/cc/MultilevelSwitchCC.js +13 -107
  91. package/build/cjs/cc/MultilevelSwitchCC.js.map +2 -2
  92. package/build/cjs/cc/NodeNamingCC.d.ts +33 -135
  93. package/build/cjs/cc/NodeNamingCC.js +5 -16
  94. package/build/cjs/cc/NodeNamingCC.js.map +2 -2
  95. package/build/cjs/cc/NotificationCC.d.ts +262 -702
  96. package/build/cjs/cc/NotificationCC.js +29 -112
  97. package/build/cjs/cc/NotificationCC.js.map +2 -2
  98. package/build/cjs/cc/ProtectionCC.d.ts +118 -524
  99. package/build/cjs/cc/ProtectionCC.js +15 -50
  100. package/build/cjs/cc/ProtectionCC.js.map +2 -2
  101. package/build/cjs/cc/SceneActivationCC.d.ts +33 -132
  102. package/build/cjs/cc/SceneActivationCC.js +4 -17
  103. package/build/cjs/cc/SceneActivationCC.js.map +2 -2
  104. package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +34 -61
  105. package/build/cjs/cc/SceneActuatorConfigurationCC.js +9 -21
  106. package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +2 -2
  107. package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +34 -61
  108. package/build/cjs/cc/SceneControllerConfigurationCC.js +10 -22
  109. package/build/cjs/cc/SceneControllerConfigurationCC.js.map +2 -2
  110. package/build/cjs/cc/ScheduleEntryLockCC.d.ts +95 -299
  111. package/build/cjs/cc/ScheduleEntryLockCC.js +13 -30
  112. package/build/cjs/cc/ScheduleEntryLockCC.js.map +2 -2
  113. package/build/cjs/cc/SoundSwitchCC.d.ts +72 -261
  114. package/build/cjs/cc/SoundSwitchCC.js +11 -43
  115. package/build/cjs/cc/SoundSwitchCC.js.map +2 -2
  116. package/build/cjs/cc/SupervisionCC.d.ts +17 -33
  117. package/build/cjs/cc/SupervisionCC.js +4 -9
  118. package/build/cjs/cc/SupervisionCC.js.map +2 -2
  119. package/build/cjs/cc/ThermostatFanModeCC.d.ts +44 -195
  120. package/build/cjs/cc/ThermostatFanModeCC.js +8 -21
  121. package/build/cjs/cc/ThermostatFanModeCC.js.map +2 -2
  122. package/build/cjs/cc/ThermostatFanStateCC.d.ts +17 -65
  123. package/build/cjs/cc/ThermostatFanStateCC.js +4 -12
  124. package/build/cjs/cc/ThermostatFanStateCC.js.map +2 -2
  125. package/build/cjs/cc/ThermostatModeCC.d.ts +44 -195
  126. package/build/cjs/cc/ThermostatModeCC.js +8 -21
  127. package/build/cjs/cc/ThermostatModeCC.js.map +2 -2
  128. package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +17 -65
  129. package/build/cjs/cc/ThermostatOperatingStateCC.js +4 -12
  130. package/build/cjs/cc/ThermostatOperatingStateCC.js.map +2 -2
  131. package/build/cjs/cc/ThermostatSetpointCC.d.ts +49 -129
  132. package/build/cjs/cc/ThermostatSetpointCC.js +10 -25
  133. package/build/cjs/cc/ThermostatSetpointCC.js.map +2 -2
  134. package/build/cjs/cc/TimeParametersCC.d.ts +12 -63
  135. package/build/cjs/cc/TimeParametersCC.js +4 -11
  136. package/build/cjs/cc/TimeParametersCC.js.map +2 -2
  137. package/build/cjs/cc/UserCodeCC.d.ts +311 -1066
  138. package/build/cjs/cc/UserCodeCC.js +33 -98
  139. package/build/cjs/cc/UserCodeCC.js.map +2 -2
  140. package/build/cjs/cc/VersionCC.d.ts +289 -1003
  141. package/build/cjs/cc/VersionCC.js +7 -98
  142. package/build/cjs/cc/VersionCC.js.map +2 -2
  143. package/build/cjs/cc/WakeUpCC.d.ts +49 -201
  144. package/build/cjs/cc/WakeUpCC.js +6 -26
  145. package/build/cjs/cc/WakeUpCC.js.map +2 -2
  146. package/build/cjs/cc/WindowCoveringCC.d.ts +126 -220
  147. package/build/cjs/cc/WindowCoveringCC.js +16 -128
  148. package/build/cjs/cc/WindowCoveringCC.js.map +2 -2
  149. package/build/cjs/cc/ZWavePlusCC.d.ts +69 -329
  150. package/build/cjs/cc/ZWavePlusCC.js +4 -25
  151. package/build/cjs/cc/ZWavePlusCC.js.map +2 -2
  152. package/build/cjs/cc/_CCValues.generated.d.ts +15814 -0
  153. package/build/cjs/cc/_CCValues.generated.js +8723 -0
  154. package/build/cjs/cc/_CCValues.generated.js.map +7 -0
  155. package/build/cjs/lib/CCValueUtils.d.ts +14 -0
  156. package/build/cjs/lib/CCValueUtils.js +93 -0
  157. package/build/cjs/lib/CCValueUtils.js.map +7 -0
  158. package/build/cjs/lib/Values.d.ts +6 -105
  159. package/build/cjs/lib/Values.js +13 -107
  160. package/build/cjs/lib/Values.js.map +3 -3
  161. package/build/esm/cc/AlarmSensorCC.d.ts +79 -161
  162. package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -1
  163. package/build/esm/cc/AlarmSensorCC.js +2 -39
  164. package/build/esm/cc/AlarmSensorCC.js.map +1 -1
  165. package/build/esm/cc/AssociationCC.d.ts +63 -199
  166. package/build/esm/cc/AssociationCC.d.ts.map +1 -1
  167. package/build/esm/cc/AssociationCC.js +2 -14
  168. package/build/esm/cc/AssociationCC.js.map +1 -1
  169. package/build/esm/cc/AssociationGroupInfoCC.d.ts +66 -166
  170. package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -1
  171. package/build/esm/cc/AssociationGroupInfoCC.js +2 -13
  172. package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -1
  173. package/build/esm/cc/BarrierOperatorCC.d.ts +86 -294
  174. package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -1
  175. package/build/esm/cc/BarrierOperatorCC.js +2 -34
  176. package/build/esm/cc/BarrierOperatorCC.js.map +1 -1
  177. package/build/esm/cc/BasicCC.d.ts +85 -331
  178. package/build/esm/cc/BasicCC.d.ts.map +1 -1
  179. package/build/esm/cc/BasicCC.js +2 -32
  180. package/build/esm/cc/BasicCC.js.map +1 -1
  181. package/build/esm/cc/BatteryCC.d.ts +237 -835
  182. package/build/esm/cc/BatteryCC.d.ts.map +1 -1
  183. package/build/esm/cc/BatteryCC.js +2 -78
  184. package/build/esm/cc/BatteryCC.js.map +1 -1
  185. package/build/esm/cc/BinarySensorCC.d.ts +34 -99
  186. package/build/esm/cc/BinarySensorCC.d.ts.map +1 -1
  187. package/build/esm/cc/BinarySensorCC.js +2 -16
  188. package/build/esm/cc/BinarySensorCC.js.map +1 -1
  189. package/build/esm/cc/BinarySwitchCC.d.ts +45 -197
  190. package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -1
  191. package/build/esm/cc/BinarySwitchCC.js +2 -17
  192. package/build/esm/cc/BinarySwitchCC.js.map +1 -1
  193. package/build/esm/cc/CentralSceneCC.d.ts +77 -296
  194. package/build/esm/cc/CentralSceneCC.d.ts.map +1 -1
  195. package/build/esm/cc/CentralSceneCC.js +2 -26
  196. package/build/esm/cc/CentralSceneCC.js.map +1 -1
  197. package/build/esm/cc/ClimateControlScheduleCC.d.ts +45 -160
  198. package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -1
  199. package/build/esm/cc/ClimateControlScheduleCC.js +2 -23
  200. package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -1
  201. package/build/esm/cc/ColorSwitchCC.d.ts +130 -457
  202. package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -1
  203. package/build/esm/cc/ColorSwitchCC.js +2 -52
  204. package/build/esm/cc/ColorSwitchCC.js.map +1 -1
  205. package/build/esm/cc/ConfigurationCC.d.ts +32 -100
  206. package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
  207. package/build/esm/cc/ConfigurationCC.js +2 -15
  208. package/build/esm/cc/ConfigurationCC.js.map +1 -1
  209. package/build/esm/cc/DoorLockCC.d.ts +512 -1823
  210. package/build/esm/cc/DoorLockCC.d.ts.map +1 -1
  211. package/build/esm/cc/DoorLockCC.js +9 -127
  212. package/build/esm/cc/DoorLockCC.js.map +1 -1
  213. package/build/esm/cc/DoorLockLoggingCC.d.ts +11 -63
  214. package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -1
  215. package/build/esm/cc/DoorLockLoggingCC.js +2 -5
  216. package/build/esm/cc/DoorLockLoggingCC.js.map +1 -1
  217. package/build/esm/cc/EnergyProductionCC.d.ts +14 -29
  218. package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -1
  219. package/build/esm/cc/EnergyProductionCC.js +2 -13
  220. package/build/esm/cc/EnergyProductionCC.js.map +1 -1
  221. package/build/esm/cc/EntryControlCC.d.ts +73 -324
  222. package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
  223. package/build/esm/cc/EntryControlCC.js +2 -28
  224. package/build/esm/cc/EntryControlCC.js.map +1 -1
  225. package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts +78 -390
  226. package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
  227. package/build/esm/cc/FirmwareUpdateMetaDataCC.js +2 -23
  228. package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
  229. package/build/esm/cc/HumidityControlModeCC.d.ts +31 -131
  230. package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -1
  231. package/build/esm/cc/HumidityControlModeCC.js +2 -10
  232. package/build/esm/cc/HumidityControlModeCC.js.map +1 -1
  233. package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +17 -65
  234. package/build/esm/cc/HumidityControlOperatingStateCC.d.ts.map +1 -1
  235. package/build/esm/cc/HumidityControlOperatingStateCC.js +2 -9
  236. package/build/esm/cc/HumidityControlOperatingStateCC.js.map +1 -1
  237. package/build/esm/cc/HumidityControlSetpointCC.d.ts +51 -128
  238. package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -1
  239. package/build/esm/cc/HumidityControlSetpointCC.js +2 -19
  240. package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -1
  241. package/build/esm/cc/IndicatorCC.d.ts +123 -365
  242. package/build/esm/cc/IndicatorCC.d.ts.map +1 -1
  243. package/build/esm/cc/IndicatorCC.js +2 -43
  244. package/build/esm/cc/IndicatorCC.js.map +1 -1
  245. package/build/esm/cc/IrrigationCC.d.ts +826 -2317
  246. package/build/esm/cc/IrrigationCC.d.ts.map +1 -1
  247. package/build/esm/cc/IrrigationCC.js +3 -222
  248. package/build/esm/cc/IrrigationCC.js.map +1 -1
  249. package/build/esm/cc/LanguageCC.d.ts +31 -133
  250. package/build/esm/cc/LanguageCC.d.ts.map +1 -1
  251. package/build/esm/cc/LanguageCC.js +2 -12
  252. package/build/esm/cc/LanguageCC.js.map +1 -1
  253. package/build/esm/cc/LockCC.d.ts +14 -64
  254. package/build/esm/cc/LockCC.d.ts.map +1 -1
  255. package/build/esm/cc/LockCC.js +2 -9
  256. package/build/esm/cc/LockCC.js.map +1 -1
  257. package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
  258. package/build/esm/cc/ManufacturerProprietaryCC.js +0 -1
  259. package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -1
  260. package/build/esm/cc/ManufacturerSpecificCC.d.ts +77 -239
  261. package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -1
  262. package/build/esm/cc/ManufacturerSpecificCC.js +2 -24
  263. package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -1
  264. package/build/esm/cc/MeterCC.d.ts +119 -393
  265. package/build/esm/cc/MeterCC.d.ts.map +1 -1
  266. package/build/esm/cc/MeterCC.js +3 -49
  267. package/build/esm/cc/MeterCC.js.map +1 -1
  268. package/build/esm/cc/MultiChannelAssociationCC.d.ts +66 -166
  269. package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -1
  270. package/build/esm/cc/MultiChannelAssociationCC.js +2 -14
  271. package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -1
  272. package/build/esm/cc/MultiChannelCC.d.ts +119 -499
  273. package/build/esm/cc/MultiChannelCC.d.ts.map +1 -1
  274. package/build/esm/cc/MultiChannelCC.js +2 -30
  275. package/build/esm/cc/MultiChannelCC.js.map +1 -1
  276. package/build/esm/cc/MultilevelSensorCC.d.ts +46 -130
  277. package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -1
  278. package/build/esm/cc/MultilevelSensorCC.js +2 -22
  279. package/build/esm/cc/MultilevelSensorCC.js.map +1 -1
  280. package/build/esm/cc/MultilevelSwitchCC.d.ts +160 -525
  281. package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -1
  282. package/build/esm/cc/MultilevelSwitchCC.js +5 -101
  283. package/build/esm/cc/MultilevelSwitchCC.js.map +1 -1
  284. package/build/esm/cc/NodeNamingCC.d.ts +33 -135
  285. package/build/esm/cc/NodeNamingCC.d.ts.map +1 -1
  286. package/build/esm/cc/NodeNamingCC.js +2 -12
  287. package/build/esm/cc/NodeNamingCC.js.map +1 -1
  288. package/build/esm/cc/NotificationCC.d.ts +262 -702
  289. package/build/esm/cc/NotificationCC.d.ts.map +1 -1
  290. package/build/esm/cc/NotificationCC.js +3 -85
  291. package/build/esm/cc/NotificationCC.js.map +1 -1
  292. package/build/esm/cc/ProtectionCC.d.ts +118 -524
  293. package/build/esm/cc/ProtectionCC.d.ts.map +1 -1
  294. package/build/esm/cc/ProtectionCC.js +2 -36
  295. package/build/esm/cc/ProtectionCC.js.map +1 -1
  296. package/build/esm/cc/SceneActivationCC.d.ts +33 -132
  297. package/build/esm/cc/SceneActivationCC.d.ts.map +1 -1
  298. package/build/esm/cc/SceneActivationCC.js +2 -14
  299. package/build/esm/cc/SceneActivationCC.js.map +1 -1
  300. package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +34 -61
  301. package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
  302. package/build/esm/cc/SceneActuatorConfigurationCC.js +2 -14
  303. package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -1
  304. package/build/esm/cc/SceneControllerConfigurationCC.d.ts +34 -61
  305. package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
  306. package/build/esm/cc/SceneControllerConfigurationCC.js +2 -14
  307. package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -1
  308. package/build/esm/cc/ScheduleEntryLockCC.d.ts +95 -299
  309. package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -1
  310. package/build/esm/cc/ScheduleEntryLockCC.js +2 -17
  311. package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -1
  312. package/build/esm/cc/SoundSwitchCC.d.ts +72 -261
  313. package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -1
  314. package/build/esm/cc/SoundSwitchCC.js +2 -33
  315. package/build/esm/cc/SoundSwitchCC.js.map +1 -1
  316. package/build/esm/cc/SupervisionCC.d.ts +17 -33
  317. package/build/esm/cc/SupervisionCC.d.ts.map +1 -1
  318. package/build/esm/cc/SupervisionCC.js +2 -7
  319. package/build/esm/cc/SupervisionCC.js.map +1 -1
  320. package/build/esm/cc/ThermostatFanModeCC.d.ts +44 -195
  321. package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -1
  322. package/build/esm/cc/ThermostatFanModeCC.js +2 -14
  323. package/build/esm/cc/ThermostatFanModeCC.js.map +1 -1
  324. package/build/esm/cc/ThermostatFanStateCC.d.ts +17 -65
  325. package/build/esm/cc/ThermostatFanStateCC.d.ts.map +1 -1
  326. package/build/esm/cc/ThermostatFanStateCC.js +2 -9
  327. package/build/esm/cc/ThermostatFanStateCC.js.map +1 -1
  328. package/build/esm/cc/ThermostatModeCC.d.ts +44 -195
  329. package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -1
  330. package/build/esm/cc/ThermostatModeCC.js +2 -14
  331. package/build/esm/cc/ThermostatModeCC.js.map +1 -1
  332. package/build/esm/cc/ThermostatOperatingStateCC.d.ts +17 -65
  333. package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -1
  334. package/build/esm/cc/ThermostatOperatingStateCC.js +2 -9
  335. package/build/esm/cc/ThermostatOperatingStateCC.js.map +1 -1
  336. package/build/esm/cc/ThermostatSetpointCC.d.ts +49 -129
  337. package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -1
  338. package/build/esm/cc/ThermostatSetpointCC.js +2 -16
  339. package/build/esm/cc/ThermostatSetpointCC.js.map +1 -1
  340. package/build/esm/cc/TimeParametersCC.d.ts +12 -63
  341. package/build/esm/cc/TimeParametersCC.d.ts.map +1 -1
  342. package/build/esm/cc/TimeParametersCC.js +2 -8
  343. package/build/esm/cc/TimeParametersCC.js.map +1 -1
  344. package/build/esm/cc/UserCodeCC.d.ts +311 -1066
  345. package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
  346. package/build/esm/cc/UserCodeCC.js +2 -60
  347. package/build/esm/cc/UserCodeCC.js.map +1 -1
  348. package/build/esm/cc/VersionCC.d.ts +289 -1003
  349. package/build/esm/cc/VersionCC.d.ts.map +1 -1
  350. package/build/esm/cc/VersionCC.js +2 -92
  351. package/build/esm/cc/VersionCC.js.map +1 -1
  352. package/build/esm/cc/WakeUpCC.d.ts +49 -201
  353. package/build/esm/cc/WakeUpCC.d.ts.map +1 -1
  354. package/build/esm/cc/WakeUpCC.js +2 -21
  355. package/build/esm/cc/WakeUpCC.js.map +1 -1
  356. package/build/esm/cc/WindowCoveringCC.d.ts +126 -220
  357. package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -1
  358. package/build/esm/cc/WindowCoveringCC.js +3 -103
  359. package/build/esm/cc/WindowCoveringCC.js.map +1 -1
  360. package/build/esm/cc/ZWavePlusCC.d.ts +69 -329
  361. package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -1
  362. package/build/esm/cc/ZWavePlusCC.js +2 -25
  363. package/build/esm/cc/ZWavePlusCC.js.map +1 -1
  364. package/build/esm/cc/_CCValues.generated.d.ts +15814 -0
  365. package/build/esm/cc/_CCValues.generated.d.ts.map +1 -0
  366. package/build/esm/cc/_CCValues.generated.js +9187 -0
  367. package/build/esm/cc/_CCValues.generated.js.map +1 -0
  368. package/build/esm/lib/CCValueUtils.d.ts +14 -0
  369. package/build/esm/lib/CCValueUtils.d.ts.map +1 -0
  370. package/build/esm/lib/CCValueUtils.js +62 -0
  371. package/build/esm/lib/CCValueUtils.js.map +1 -0
  372. package/build/esm/lib/Values.d.ts +6 -105
  373. package/build/esm/lib/Values.d.ts.map +1 -1
  374. package/build/esm/lib/Values.js +7 -104
  375. package/build/esm/lib/Values.js.map +1 -1
  376. package/package.json +9 -7
@@ -1,47 +1,28 @@
1
1
  import { type CCEncodingContext, type CCParsingContext } from "@zwave-js/cc";
2
- import { CommandClasses, type GetValueDB, type MaybeNotKnown, type MaybeUnknown, type MessageOrCCLogEntry, type SupervisionResult, ValueMetadata, type WithAddress } from "@zwave-js/core/safe";
2
+ import { CommandClasses, type GetValueDB, type MaybeNotKnown, type MaybeUnknown, type MessageOrCCLogEntry, type SupervisionResult, type WithAddress } from "@zwave-js/core/safe";
3
3
  import { Bytes } from "@zwave-js/shared/safe";
4
4
  import { CCAPI, POLL_VALUE, type PollValueImplementation, SET_VALUE, SET_VALUE_HOOKS, type SetValueImplementation, type SetValueImplementationHooksFactory } from "../lib/API.js";
5
5
  import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesContext, type RefreshValuesContext } from "../lib/CommandClass.js";
6
6
  import { BarrierOperatorCommand, BarrierState, SubsystemState, SubsystemType } from "../lib/_Types.js";
7
7
  export declare const BarrierOperatorCCValues: Readonly<{
8
- signalingState: ((subsystemType: SubsystemType) => {
9
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
10
- readonly type: "any";
11
- readonly readable: true;
12
- readonly writeable: true;
13
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
14
- readonly type: "any";
15
- readonly readable: true;
16
- readonly writeable: true;
17
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
18
- readonly type: "any";
19
- readonly readable: true;
20
- readonly writeable: true;
21
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
22
- readonly type: "any";
23
- readonly readable: true;
24
- readonly writeable: true;
25
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
26
- readonly type: "any";
27
- readonly readable: true;
28
- readonly writeable: true;
29
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
30
- readonly type: "any";
31
- readonly readable: true;
32
- readonly writeable: true;
33
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
34
- readonly id: ValueIDBase;
35
- readonly endpoint: (endpoint?: number | undefined) => {
8
+ supportedSubsystemTypes: {
9
+ id: {
10
+ readonly commandClass: (typeof CommandClasses)["Barrier Operator"];
11
+ readonly property: "supportedSubsystemTypes";
12
+ };
13
+ endpoint: (endpoint?: number) => {
36
14
  readonly commandClass: (typeof CommandClasses)["Barrier Operator"];
37
15
  readonly endpoint: number;
38
- readonly property: "signalingState";
39
- readonly propertyKey: SubsystemType;
16
+ readonly property: "supportedSubsystemTypes";
40
17
  };
41
- }) & {
42
18
  is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
43
- readonly options: {
44
- readonly internal: false;
19
+ readonly meta: Readonly<{
20
+ readonly type: "any";
21
+ readonly readable: true;
22
+ readonly writeable: true;
23
+ }>;
24
+ options: {
25
+ readonly internal: true;
45
26
  readonly minVersion: 1;
46
27
  readonly secret: false;
47
28
  readonly stateful: true;
@@ -49,313 +30,124 @@ export declare const BarrierOperatorCCValues: Readonly<{
49
30
  readonly autoCreate: true;
50
31
  };
51
32
  };
52
- currentState: {
53
- readonly id: ValueIDBase;
54
- readonly endpoint: (endpoint?: number | undefined) => {
33
+ position: {
34
+ id: {
35
+ readonly commandClass: (typeof CommandClasses)["Barrier Operator"];
36
+ readonly property: "position";
37
+ };
38
+ endpoint: (endpoint?: number) => {
55
39
  readonly commandClass: (typeof CommandClasses)["Barrier Operator"];
56
40
  readonly endpoint: number;
57
- readonly property: "currentState";
41
+ readonly property: "position";
58
42
  };
59
- readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
60
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
61
- readonly type: "any";
62
- readonly readable: true;
63
- readonly writeable: true;
64
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
65
- readonly type: "any";
66
- readonly readable: true;
67
- readonly writeable: true;
68
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
69
- readonly type: "any";
70
- readonly readable: true;
71
- readonly writeable: true;
72
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
73
- readonly type: "any";
74
- readonly readable: true;
75
- readonly writeable: true;
76
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
77
- readonly type: "any";
78
- readonly readable: true;
79
- readonly writeable: true;
80
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
81
- readonly type: "any";
43
+ is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
44
+ readonly meta: {
45
+ readonly label: "Barrier Position";
46
+ readonly unit: "%";
47
+ readonly max: 100;
48
+ readonly writeable: false;
49
+ readonly min: 0;
50
+ readonly type: "number";
82
51
  readonly readable: true;
83
- readonly writeable: true;
84
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
85
- readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
86
- readonly internal: false;
87
- readonly minVersion: 1;
88
- readonly secret: false;
89
- readonly stateful: true;
90
- readonly supportsEndpoints: true;
91
- readonly autoCreate: true;
92
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
93
- readonly internal: false;
94
- readonly minVersion: 1;
95
- readonly secret: false;
96
- readonly stateful: true;
97
- readonly supportsEndpoints: true;
98
- readonly autoCreate: true;
99
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
100
- readonly internal: false;
101
- readonly minVersion: 1;
102
- readonly secret: false;
103
- readonly stateful: true;
104
- readonly supportsEndpoints: true;
105
- readonly autoCreate: true;
106
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
107
- readonly internal: false;
108
- readonly minVersion: 1;
109
- readonly secret: false;
110
- readonly stateful: true;
111
- readonly supportsEndpoints: true;
112
- readonly autoCreate: true;
113
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
114
- readonly internal: false;
115
- readonly minVersion: 1;
116
- readonly secret: false;
117
- readonly stateful: true;
118
- readonly supportsEndpoints: true;
119
- readonly autoCreate: true;
120
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
52
+ };
53
+ options: {
121
54
  readonly internal: false;
122
55
  readonly minVersion: 1;
123
56
  readonly secret: false;
124
57
  readonly stateful: true;
125
58
  readonly supportsEndpoints: true;
126
59
  readonly autoCreate: true;
127
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
60
+ };
128
61
  };
129
62
  targetState: {
130
- readonly id: ValueIDBase;
131
- readonly endpoint: (endpoint?: number | undefined) => {
63
+ id: {
64
+ readonly commandClass: (typeof CommandClasses)["Barrier Operator"];
65
+ readonly property: "targetState";
66
+ };
67
+ endpoint: (endpoint?: number) => {
132
68
  readonly commandClass: (typeof CommandClasses)["Barrier Operator"];
133
69
  readonly endpoint: number;
134
70
  readonly property: "targetState";
135
71
  };
136
- readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
137
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
138
- readonly type: "any";
139
- readonly readable: true;
140
- readonly writeable: true;
141
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
142
- readonly type: "any";
143
- readonly readable: true;
144
- readonly writeable: true;
145
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
146
- readonly type: "any";
147
- readonly readable: true;
148
- readonly writeable: true;
149
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
150
- readonly type: "any";
151
- readonly readable: true;
152
- readonly writeable: true;
153
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
154
- readonly type: "any";
155
- readonly readable: true;
156
- readonly writeable: true;
157
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
158
- readonly type: "any";
72
+ is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
73
+ readonly meta: {
74
+ readonly label: "Target Barrier State";
75
+ readonly states: Record<number, string>;
76
+ readonly min: 0;
77
+ readonly max: 255;
78
+ readonly type: "number";
159
79
  readonly readable: true;
160
80
  readonly writeable: true;
161
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
162
- readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
163
- readonly internal: false;
164
- readonly minVersion: 1;
165
- readonly secret: false;
166
- readonly stateful: true;
167
- readonly supportsEndpoints: true;
168
- readonly autoCreate: true;
169
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
170
- readonly internal: false;
171
- readonly minVersion: 1;
172
- readonly secret: false;
173
- readonly stateful: true;
174
- readonly supportsEndpoints: true;
175
- readonly autoCreate: true;
176
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
177
- readonly internal: false;
178
- readonly minVersion: 1;
179
- readonly secret: false;
180
- readonly stateful: true;
181
- readonly supportsEndpoints: true;
182
- readonly autoCreate: true;
183
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
184
- readonly internal: false;
185
- readonly minVersion: 1;
186
- readonly secret: false;
187
- readonly stateful: true;
188
- readonly supportsEndpoints: true;
189
- readonly autoCreate: true;
190
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
191
- readonly internal: false;
192
- readonly minVersion: 1;
193
- readonly secret: false;
194
- readonly stateful: true;
195
- readonly supportsEndpoints: true;
196
- readonly autoCreate: true;
197
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
81
+ };
82
+ options: {
198
83
  readonly internal: false;
199
84
  readonly minVersion: 1;
200
85
  readonly secret: false;
201
86
  readonly stateful: true;
202
87
  readonly supportsEndpoints: true;
203
88
  readonly autoCreate: true;
204
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
89
+ };
205
90
  };
206
- position: {
207
- readonly id: ValueIDBase;
208
- readonly endpoint: (endpoint?: number | undefined) => {
91
+ currentState: {
92
+ id: {
93
+ readonly commandClass: (typeof CommandClasses)["Barrier Operator"];
94
+ readonly property: "currentState";
95
+ };
96
+ endpoint: (endpoint?: number) => {
209
97
  readonly commandClass: (typeof CommandClasses)["Barrier Operator"];
210
98
  readonly endpoint: number;
211
- readonly property: "position";
99
+ readonly property: "currentState";
212
100
  };
213
- readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
214
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
215
- readonly type: "any";
216
- readonly readable: true;
217
- readonly writeable: true;
218
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
219
- readonly type: "any";
220
- readonly readable: true;
221
- readonly writeable: true;
222
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
223
- readonly type: "any";
224
- readonly readable: true;
225
- readonly writeable: true;
226
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
227
- readonly type: "any";
228
- readonly readable: true;
229
- readonly writeable: true;
230
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
231
- readonly type: "any";
232
- readonly readable: true;
233
- readonly writeable: true;
234
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
235
- readonly type: "any";
101
+ is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
102
+ readonly meta: {
103
+ readonly label: "Current Barrier State";
104
+ readonly states: Record<number, string>;
105
+ readonly writeable: false;
106
+ readonly min: 0;
107
+ readonly max: 255;
108
+ readonly type: "number";
236
109
  readonly readable: true;
237
- readonly writeable: true;
238
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
239
- readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
240
- readonly internal: false;
241
- readonly minVersion: 1;
242
- readonly secret: false;
243
- readonly stateful: true;
244
- readonly supportsEndpoints: true;
245
- readonly autoCreate: true;
246
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
247
- readonly internal: false;
248
- readonly minVersion: 1;
249
- readonly secret: false;
250
- readonly stateful: true;
251
- readonly supportsEndpoints: true;
252
- readonly autoCreate: true;
253
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
254
- readonly internal: false;
255
- readonly minVersion: 1;
256
- readonly secret: false;
257
- readonly stateful: true;
258
- readonly supportsEndpoints: true;
259
- readonly autoCreate: true;
260
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
261
- readonly internal: false;
262
- readonly minVersion: 1;
263
- readonly secret: false;
264
- readonly stateful: true;
265
- readonly supportsEndpoints: true;
266
- readonly autoCreate: true;
267
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
268
- readonly internal: false;
269
- readonly minVersion: 1;
270
- readonly secret: false;
271
- readonly stateful: true;
272
- readonly supportsEndpoints: true;
273
- readonly autoCreate: true;
274
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
110
+ };
111
+ options: {
275
112
  readonly internal: false;
276
113
  readonly minVersion: 1;
277
114
  readonly secret: false;
278
115
  readonly stateful: true;
279
116
  readonly supportsEndpoints: true;
280
117
  readonly autoCreate: true;
281
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
118
+ };
282
119
  };
283
- supportedSubsystemTypes: {
284
- readonly id: ValueIDBase;
285
- readonly endpoint: (endpoint?: number | undefined) => {
120
+ signalingState: ((subsystemType: SubsystemType) => {
121
+ id: {
122
+ readonly commandClass: (typeof CommandClasses)["Barrier Operator"];
123
+ readonly property: "signalingState";
124
+ readonly propertyKey: SubsystemType;
125
+ };
126
+ endpoint: (endpoint?: number) => {
286
127
  readonly commandClass: (typeof CommandClasses)["Barrier Operator"];
287
128
  readonly endpoint: number;
288
- readonly property: "supportedSubsystemTypes";
129
+ readonly property: "signalingState";
130
+ readonly propertyKey: SubsystemType;
289
131
  };
290
- readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
291
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
292
- readonly type: "any";
293
- readonly readable: true;
294
- readonly writeable: true;
295
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
296
- readonly type: "any";
297
- readonly readable: true;
298
- readonly writeable: true;
299
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
300
- readonly type: "any";
301
- readonly readable: true;
302
- readonly writeable: true;
303
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
304
- readonly type: "any";
132
+ readonly meta: {
133
+ readonly label: `Signaling State (${string})`;
134
+ readonly states: Record<number, string>;
135
+ readonly min: 0;
136
+ readonly max: 255;
137
+ readonly type: "number";
305
138
  readonly readable: true;
306
139
  readonly writeable: true;
307
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
308
- readonly type: "any";
309
- readonly readable: true;
310
- readonly writeable: true;
311
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
312
- readonly type: "any";
313
- readonly readable: true;
314
- readonly writeable: true;
315
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
316
- readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
317
- readonly internal: false;
318
- readonly minVersion: 1;
319
- readonly secret: false;
320
- readonly stateful: true;
321
- readonly supportsEndpoints: true;
322
- readonly autoCreate: true;
323
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
324
- readonly internal: false;
325
- readonly minVersion: 1;
326
- readonly secret: false;
327
- readonly stateful: true;
328
- readonly supportsEndpoints: true;
329
- readonly autoCreate: true;
330
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
331
- readonly internal: false;
332
- readonly minVersion: 1;
333
- readonly secret: false;
334
- readonly stateful: true;
335
- readonly supportsEndpoints: true;
336
- readonly autoCreate: true;
337
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
338
- readonly internal: false;
339
- readonly minVersion: 1;
340
- readonly secret: false;
341
- readonly stateful: true;
342
- readonly supportsEndpoints: true;
343
- readonly autoCreate: true;
344
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
345
- readonly internal: false;
346
- readonly minVersion: 1;
347
- readonly secret: false;
348
- readonly stateful: true;
349
- readonly supportsEndpoints: true;
350
- readonly autoCreate: true;
351
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
140
+ };
141
+ }) & {
142
+ is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
143
+ options: {
352
144
  readonly internal: false;
353
145
  readonly minVersion: 1;
354
146
  readonly secret: false;
355
147
  readonly stateful: true;
356
148
  readonly supportsEndpoints: true;
357
149
  readonly autoCreate: true;
358
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
150
+ };
359
151
  };
360
152
  }>;
361
153
  export declare class BarrierOperatorCCAPI extends CCAPI {
@@ -39,7 +39,7 @@ __export(BarrierOperatorCC_exports, {
39
39
  BarrierOperatorCCSet: () => BarrierOperatorCCSet,
40
40
  BarrierOperatorCCSignalingCapabilitiesGet: () => BarrierOperatorCCSignalingCapabilitiesGet,
41
41
  BarrierOperatorCCSignalingCapabilitiesReport: () => BarrierOperatorCCSignalingCapabilitiesReport,
42
- BarrierOperatorCCValues: () => BarrierOperatorCCValues
42
+ BarrierOperatorCCValues: () => import_CCValues_generated.BarrierOperatorCCValues
43
43
  });
44
44
  module.exports = __toCommonJS(BarrierOperatorCC_exports);
45
45
  var __validateArgs = __toESM(require("./BarrierOperatorCC._validateArgs.js"), 1);
@@ -51,6 +51,7 @@ var import_CommandClass = require("../lib/CommandClass.js");
51
51
  var import_CommandClassDecorators = require("../lib/CommandClassDecorators.js");
52
52
  var import_Values = require("../lib/Values.js");
53
53
  var import_Types = require("../lib/_Types.js");
54
+ var import_CCValues_generated = require("./_CCValues.generated.js");
54
55
  var __runInitializers = function(thisArg, initializers, value) {
55
56
  var useValue = arguments.length > 2;
56
57
  for (var i = 0; i < initializers.length; i++) {
@@ -92,39 +93,6 @@ var __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializ
92
93
  done = true;
93
94
  };
94
95
  const { validateArgs_BarrierOperatorCCAPI_set, validateArgs_BarrierOperatorCCAPI_getSignalingCapabilities, validateArgs_BarrierOperatorCCAPI_getEventSignaling, validateArgs_BarrierOperatorCCAPI_setEventSignaling } = __validateArgs;
95
- const BarrierOperatorCCValues = Object.freeze({
96
- ...import_Values.V.defineStaticCCValues(import_safe.CommandClasses["Barrier Operator"], {
97
- ...import_Values.V.staticProperty("supportedSubsystemTypes", void 0, {
98
- internal: true
99
- }),
100
- ...import_Values.V.staticProperty("position", {
101
- ...import_safe.ValueMetadata.ReadOnlyUInt8,
102
- label: "Barrier Position",
103
- unit: "%",
104
- max: 100
105
- }),
106
- ...import_Values.V.staticProperty("targetState", {
107
- ...import_safe.ValueMetadata.UInt8,
108
- label: "Target Barrier State",
109
- states: (0, import_safe.enumValuesToMetadataStates)(import_Types.BarrierState, [
110
- import_Types.BarrierState.Open,
111
- import_Types.BarrierState.Closed
112
- ])
113
- }),
114
- ...import_Values.V.staticProperty("currentState", {
115
- ...import_safe.ValueMetadata.ReadOnlyUInt8,
116
- label: "Current Barrier State",
117
- states: (0, import_safe.enumValuesToMetadataStates)(import_Types.BarrierState)
118
- })
119
- }),
120
- ...import_Values.V.defineDynamicCCValues(import_safe.CommandClasses["Barrier Operator"], {
121
- ...import_Values.V.dynamicPropertyAndKeyWithName("signalingState", "signalingState", (subsystemType) => subsystemType, ({ property, propertyKey }) => property === "signalingState" && typeof propertyKey === "number", (subsystemType) => ({
122
- ...import_safe.ValueMetadata.UInt8,
123
- label: `Signaling State (${(0, import_safe3.getEnumMemberName)(import_Types.SubsystemType, subsystemType)})`,
124
- states: (0, import_safe.enumValuesToMetadataStates)(import_Types.SubsystemState)
125
- }))
126
- })
127
- });
128
96
  let BarrierOperatorCCAPI = (() => {
129
97
  let _classDecorators = [(0, import_CommandClassDecorators.API)(import_safe.CommandClasses["Barrier Operator"])];
130
98
  let _classDescriptor;
@@ -244,8 +212,8 @@ let BarrierOperatorCCAPI = (() => {
244
212
  property,
245
213
  propertyKey
246
214
  };
247
- if (BarrierOperatorCCValues.targetState.is(valueId)) {
248
- const currentStateValueId = BarrierOperatorCCValues.currentState.endpoint(this.endpoint.index);
215
+ if (import_CCValues_generated.BarrierOperatorCCValues.targetState.is(valueId)) {
216
+ const currentStateValueId = import_CCValues_generated.BarrierOperatorCCValues.currentState.endpoint(this.endpoint.index);
249
217
  const targetValue = value === import_Types.BarrierState.Closed ? import_Types.BarrierState.Closed : import_Types.BarrierState.Open;
250
218
  return {
251
219
  // Barrier Operator commands may take some time to be executed.
@@ -280,9 +248,9 @@ let BarrierOperatorCCAPI = (() => {
280
248
  }
281
249
  }, "verifyChanges")
282
250
  };
283
- } else if (BarrierOperatorCCValues.signalingState.is(valueId)) {
251
+ } else if (import_CCValues_generated.BarrierOperatorCCValues.signalingState.is(valueId)) {
284
252
  const subsystemType = propertyKey;
285
- const signalingStateValueId = BarrierOperatorCCValues.signalingState(subsystemType).endpoint(this.endpoint.index);
253
+ const signalingStateValueId = import_CCValues_generated.BarrierOperatorCCValues.signalingState(subsystemType).endpoint(this.endpoint.index);
286
254
  return {
287
255
  verifyChanges: /* @__PURE__ */ __name(() => {
288
256
  if (this.isSinglecast()) {
@@ -317,7 +285,7 @@ let BarrierOperatorCCAPI = (() => {
317
285
  return BarrierOperatorCCAPI2 = _classThis;
318
286
  })();
319
287
  let BarrierOperatorCC = (() => {
320
- let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses["Barrier Operator"]), (0, import_CommandClassDecorators.implementedVersion)(1), (0, import_CommandClassDecorators.ccValues)(BarrierOperatorCCValues)];
288
+ let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses["Barrier Operator"]), (0, import_CommandClassDecorators.implementedVersion)(1), (0, import_CommandClassDecorators.ccValues)(import_CCValues_generated.BarrierOperatorCCValues)];
321
289
  let _classDescriptor;
322
290
  let _classExtraInitializers = [];
323
291
  let _classThis;
@@ -347,7 +315,7 @@ let BarrierOperatorCC = (() => {
347
315
  message: `Interviewing ${this.ccName}...`,
348
316
  direction: "none"
349
317
  });
350
- this.ensureMetadata(ctx, BarrierOperatorCCValues.targetState);
318
+ this.ensureMetadata(ctx, import_CCValues_generated.BarrierOperatorCCValues.targetState);
351
319
  ctx.logNode(node.id, {
352
320
  message: "Querying signaling capabilities...",
353
321
  direction: "outbound"
@@ -378,7 +346,7 @@ let BarrierOperatorCC = (() => {
378
346
  const api = import_API.CCAPI.create(import_safe.CommandClasses["Barrier Operator"], ctx, endpoint).withOptions({
379
347
  priority: import_safe.MessagePriority.NodeQuery
380
348
  });
381
- const supportedSubsystems = this.getValue(ctx, BarrierOperatorCCValues.supportedSubsystemTypes) ?? [];
349
+ const supportedSubsystems = this.getValue(ctx, import_CCValues_generated.BarrierOperatorCCValues.supportedSubsystemTypes) ?? [];
382
350
  for (const subsystemType of supportedSubsystems) {
383
351
  if (!(0, import_safe3.isEnumMember)(import_Types.SubsystemType, subsystemType))
384
352
  continue;
@@ -445,7 +413,7 @@ let BarrierOperatorCCSet = (() => {
445
413
  return BarrierOperatorCCSet2 = _classThis;
446
414
  })();
447
415
  let BarrierOperatorCCReport = (() => {
448
- let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.BarrierOperatorCommand.Report), (0, import_CommandClassDecorators.ccValueProperty)("currentState", BarrierOperatorCCValues.currentState), (0, import_CommandClassDecorators.ccValueProperty)("position", BarrierOperatorCCValues.position)];
416
+ let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.BarrierOperatorCommand.Report), (0, import_CommandClassDecorators.ccValueProperty)("currentState", import_CCValues_generated.BarrierOperatorCCValues.currentState), (0, import_CommandClassDecorators.ccValueProperty)("position", import_CCValues_generated.BarrierOperatorCCValues.position)];
449
417
  let _classDescriptor;
450
418
  let _classExtraInitializers = [];
451
419
  let _classThis;
@@ -532,7 +500,7 @@ let BarrierOperatorCCGet = (() => {
532
500
  return BarrierOperatorCCGet2 = _classThis;
533
501
  })();
534
502
  let BarrierOperatorCCSignalingCapabilitiesReport = (() => {
535
- let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.BarrierOperatorCommand.SignalingCapabilitiesReport), (0, import_CommandClassDecorators.ccValueProperty)("supportedSubsystemTypes", BarrierOperatorCCValues.supportedSubsystemTypes)];
503
+ let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.BarrierOperatorCommand.SignalingCapabilitiesReport), (0, import_CommandClassDecorators.ccValueProperty)("supportedSubsystemTypes", import_CCValues_generated.BarrierOperatorCCValues.supportedSubsystemTypes)];
536
504
  let _classDescriptor;
537
505
  let _classExtraInitializers = [];
538
506
  let _classThis;
@@ -682,7 +650,7 @@ let BarrierOperatorCCEventSignalingReport = (() => {
682
650
  persistValues(ctx) {
683
651
  if (!super.persistValues(ctx))
684
652
  return false;
685
- const signalingStateValue = BarrierOperatorCCValues.signalingState(this.subsystemType);
653
+ const signalingStateValue = import_CCValues_generated.BarrierOperatorCCValues.signalingState(this.subsystemType);
686
654
  this.ensureMetadata(ctx, signalingStateValue);
687
655
  this.setValue(ctx, signalingStateValue, this.subsystemState);
688
656
  return true;