@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
@@ -39,7 +39,7 @@ __export(IrrigationCC_exports, {
39
39
  IrrigationCCSystemShutoff: () => IrrigationCCSystemShutoff,
40
40
  IrrigationCCSystemStatusGet: () => IrrigationCCSystemStatusGet,
41
41
  IrrigationCCSystemStatusReport: () => IrrigationCCSystemStatusReport,
42
- IrrigationCCValues: () => IrrigationCCValues,
42
+ IrrigationCCValues: () => import_CCValues_generated.IrrigationCCValues,
43
43
  IrrigationCCValveConfigGet: () => IrrigationCCValveConfigGet,
44
44
  IrrigationCCValveConfigReport: () => IrrigationCCValveConfigReport,
45
45
  IrrigationCCValveConfigSet: () => IrrigationCCValveConfigSet,
@@ -57,10 +57,12 @@ var import_safe = require("@zwave-js/core/safe");
57
57
  var import_safe2 = require("@zwave-js/shared/safe");
58
58
  var import_safe3 = require("@zwave-js/shared/safe");
59
59
  var import_API = require("../lib/API.js");
60
+ var import_CCValueUtils = require("../lib/CCValueUtils.js");
60
61
  var import_CommandClass = require("../lib/CommandClass.js");
61
62
  var import_CommandClassDecorators = require("../lib/CommandClassDecorators.js");
62
63
  var import_Values = require("../lib/Values.js");
63
64
  var import_Types = require("../lib/_Types.js");
65
+ var import_CCValues_generated = require("./_CCValues.generated.js");
64
66
  var __runInitializers = function(thisArg, initializers, value) {
65
67
  var useValue = arguments.length > 2;
66
68
  for (var i = 0; i < initializers.length; i++) {
@@ -102,212 +104,6 @@ var __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializ
102
104
  done = true;
103
105
  };
104
106
  const { validateArgs_IrrigationCCAPI_setSystemConfig, validateArgs_IrrigationCCAPI_getValveInfo, validateArgs_IrrigationCCAPI_setValveConfig, validateArgs_IrrigationCCAPI_getValveConfig, validateArgs_IrrigationCCAPI_runValve, validateArgs_IrrigationCCAPI_shutoffValve, validateArgs_IrrigationCCAPI_setValveTable, validateArgs_IrrigationCCAPI_getValveTable, validateArgs_IrrigationCCAPI_runTables, validateArgs_IrrigationCCAPI_shutoffSystem } = __validateArgs;
105
- const IrrigationCCValues = Object.freeze({
106
- ...import_Values.V.defineStaticCCValues(import_safe.CommandClasses.Irrigation, {
107
- ...import_Values.V.staticProperty("numValves", void 0, { internal: true }),
108
- ...import_Values.V.staticProperty("numValveTables", void 0, { internal: true }),
109
- ...import_Values.V.staticProperty("supportsMasterValve", void 0, {
110
- internal: true
111
- }),
112
- ...import_Values.V.staticProperty("maxValveTableSize", void 0, { internal: true }),
113
- ...import_Values.V.staticProperty("systemVoltage", {
114
- ...import_safe.ValueMetadata.ReadOnlyUInt8,
115
- label: "System voltage",
116
- unit: "V"
117
- }),
118
- ...import_Values.V.staticProperty("masterValveDelay", {
119
- ...import_safe.ValueMetadata.UInt8,
120
- label: "Master valve delay",
121
- description: "The delay between turning on the master valve and turning on any zone valve",
122
- unit: "seconds"
123
- }),
124
- ...import_Values.V.staticProperty("flowSensorActive", {
125
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
126
- label: "Flow sensor active"
127
- }),
128
- ...import_Values.V.staticProperty("pressureSensorActive", {
129
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
130
- label: "Pressure sensor active"
131
- }),
132
- ...import_Values.V.staticProperty("rainSensorActive", {
133
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
134
- label: "Rain sensor attached and active"
135
- }),
136
- ...import_Values.V.staticProperty("rainSensorPolarity", {
137
- ...import_safe.ValueMetadata.Number,
138
- label: "Rain sensor polarity",
139
- min: 0,
140
- max: 1,
141
- states: (0, import_safe.enumValuesToMetadataStates)(import_Types.IrrigationSensorPolarity)
142
- }),
143
- ...import_Values.V.staticProperty("moistureSensorActive", {
144
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
145
- label: "Moisture sensor attached and active"
146
- }),
147
- ...import_Values.V.staticProperty("moistureSensorPolarity", {
148
- ...import_safe.ValueMetadata.Number,
149
- label: "Moisture sensor polarity",
150
- min: 0,
151
- max: 1,
152
- states: (0, import_safe.enumValuesToMetadataStates)(import_Types.IrrigationSensorPolarity)
153
- }),
154
- ...import_Values.V.staticProperty("flow", {
155
- ...import_safe.ValueMetadata.ReadOnlyNumber,
156
- label: "Flow",
157
- unit: "l/h"
158
- }),
159
- ...import_Values.V.staticProperty("pressure", {
160
- ...import_safe.ValueMetadata.ReadOnlyNumber,
161
- label: "Pressure",
162
- unit: "kPa"
163
- }),
164
- ...import_Values.V.staticProperty("shutoffDuration", {
165
- ...import_safe.ValueMetadata.ReadOnlyUInt8,
166
- label: "Remaining shutoff duration",
167
- unit: "hours"
168
- }),
169
- ...import_Values.V.staticProperty("errorNotProgrammed", {
170
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
171
- label: "Error: device not programmed"
172
- }),
173
- ...import_Values.V.staticProperty("errorEmergencyShutdown", {
174
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
175
- label: "Error: emergency shutdown"
176
- }),
177
- ...import_Values.V.staticProperty("errorHighPressure", {
178
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
179
- label: "Error: high pressure"
180
- }),
181
- ...import_Values.V.staticProperty("highPressureThreshold", {
182
- ...import_safe.ValueMetadata.Number,
183
- label: "High pressure threshold",
184
- unit: "kPa"
185
- }),
186
- ...import_Values.V.staticProperty("errorLowPressure", {
187
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
188
- label: "Error: low pressure"
189
- }),
190
- ...import_Values.V.staticProperty("lowPressureThreshold", {
191
- ...import_safe.ValueMetadata.Number,
192
- label: "Low pressure threshold",
193
- unit: "kPa"
194
- }),
195
- ...import_Values.V.staticProperty("errorValve", {
196
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
197
- label: "Error: valve reporting error"
198
- }),
199
- ...import_Values.V.staticProperty("masterValveOpen", {
200
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
201
- label: "Master valve is open"
202
- }),
203
- ...import_Values.V.staticProperty("firstOpenZoneId", {
204
- ...import_safe.ValueMetadata.ReadOnlyNumber,
205
- label: "First open zone valve ID"
206
- }),
207
- ...import_Values.V.staticPropertyWithName("shutoffSystem", "shutoff", {
208
- ...import_safe.ValueMetadata.WriteOnlyBoolean,
209
- label: `Shutoff system`,
210
- states: {
211
- true: "Shutoff"
212
- }
213
- })
214
- }),
215
- ...import_Values.V.defineDynamicCCValues(import_safe.CommandClasses.Irrigation, {
216
- ...import_Values.V.dynamicPropertyAndKeyWithName("valveConnected", (valveId) => valveId, "valveConnected", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "valveConnected", (valveId) => ({
217
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
218
- label: `${valveIdToMetadataPrefix(valveId)}: Connected`
219
- })),
220
- ...import_Values.V.dynamicPropertyAndKeyWithName("nominalCurrent", (valveId) => valveId, "nominalCurrent", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "nominalCurrent", (valveId) => ({
221
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
222
- label: `${valveIdToMetadataPrefix(valveId)}: Nominal current`,
223
- unit: "mA"
224
- })),
225
- ...import_Values.V.dynamicPropertyAndKeyWithName("nominalCurrentHighThreshold", (valveId) => valveId, "nominalCurrentHighThreshold", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "nominalCurrentHighThreshold", (valveId) => ({
226
- ...import_safe.ValueMetadata.Number,
227
- label: `${valveIdToMetadataPrefix(valveId)}: Nominal current - high threshold`,
228
- min: 0,
229
- max: 2550,
230
- unit: "mA"
231
- })),
232
- ...import_Values.V.dynamicPropertyAndKeyWithName("nominalCurrentLowThreshold", (valveId) => valveId, "nominalCurrentLowThreshold", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "nominalCurrentLowThreshold", (valveId) => ({
233
- ...import_safe.ValueMetadata.Number,
234
- label: `${valveIdToMetadataPrefix(valveId)}: Nominal current - low threshold`,
235
- min: 0,
236
- max: 2550,
237
- unit: "mA"
238
- })),
239
- ...import_Values.V.dynamicPropertyAndKeyWithName("errorShortCircuit", (valveId) => valveId, "errorShortCircuit", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "errorShortCircuit", (valveId) => ({
240
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
241
- label: `${valveIdToMetadataPrefix(valveId)}: Error - Short circuit detected`
242
- })),
243
- ...import_Values.V.dynamicPropertyAndKeyWithName("errorHighCurrent", (valveId) => valveId, "errorHighCurrent", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "errorHighCurrent", (valveId) => ({
244
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
245
- label: `${valveIdToMetadataPrefix(valveId)}: Error - Current above high threshold`
246
- })),
247
- ...import_Values.V.dynamicPropertyAndKeyWithName("errorLowCurrent", (valveId) => valveId, "errorLowCurrent", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "errorLowCurrent", (valveId) => ({
248
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
249
- label: `${valveIdToMetadataPrefix(valveId)}: Error - Current below low threshold`
250
- })),
251
- ...import_Values.V.dynamicPropertyAndKeyWithName("maximumFlow", (valveId) => valveId, "maximumFlow", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "maximumFlow", (valveId) => ({
252
- ...import_safe.ValueMetadata.Number,
253
- label: `${valveIdToMetadataPrefix(valveId)}: Maximum flow`,
254
- min: 0,
255
- unit: "l/h"
256
- })),
257
- ...import_Values.V.dynamicPropertyAndKeyWithName("errorMaximumFlow", (valveId) => valveId, "errorMaximumFlow", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "errorMaximumFlow", (valveId) => ({
258
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
259
- label: `${valveIdToMetadataPrefix(valveId)}: Error - Maximum flow detected`
260
- })),
261
- ...import_Values.V.dynamicPropertyAndKeyWithName("highFlowThreshold", (valveId) => valveId, "highFlowThreshold", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "highFlowThreshold", (valveId) => ({
262
- ...import_safe.ValueMetadata.Number,
263
- label: `${valveIdToMetadataPrefix(valveId)}: High flow threshold`,
264
- min: 0,
265
- unit: "l/h"
266
- })),
267
- ...import_Values.V.dynamicPropertyAndKeyWithName("errorHighFlow", (valveId) => valveId, "errorHighFlow", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "errorHighFlow", (valveId) => ({
268
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
269
- label: `${valveIdToMetadataPrefix(valveId)}: Error - Flow above high threshold`
270
- })),
271
- ...import_Values.V.dynamicPropertyAndKeyWithName("lowFlowThreshold", (valveId) => valveId, "lowFlowThreshold", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "lowFlowThreshold", (valveId) => ({
272
- ...import_safe.ValueMetadata.Number,
273
- label: `${valveIdToMetadataPrefix(valveId)}: Low flow threshold`,
274
- min: 0,
275
- unit: "l/h"
276
- })),
277
- ...import_Values.V.dynamicPropertyAndKeyWithName("errorLowFlow", (valveId) => valveId, "errorLowFlow", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "errorLowFlow", (valveId) => ({
278
- ...import_safe.ValueMetadata.ReadOnlyBoolean,
279
- label: `${valveIdToMetadataPrefix(valveId)}: Error - Flow below high threshold`
280
- })),
281
- ...import_Values.V.dynamicPropertyAndKeyWithName("useRainSensor", (valveId) => valveId, "useRainSensor", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "useRainSensor", (valveId) => ({
282
- ...import_safe.ValueMetadata.Boolean,
283
- label: `${valveIdToMetadataPrefix(valveId)}: Use rain sensor`
284
- })),
285
- ...import_Values.V.dynamicPropertyAndKeyWithName("useMoistureSensor", (valveId) => valveId, "useMoistureSensor", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "useMoistureSensor", (valveId) => ({
286
- ...import_safe.ValueMetadata.Boolean,
287
- label: `${valveIdToMetadataPrefix(valveId)}: Use moisture sensor`
288
- })),
289
- ...import_Values.V.dynamicPropertyAndKeyWithName("valveRunDuration", (valveId) => valveId, "duration", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "duration", (valveId) => ({
290
- ...import_safe.ValueMetadata.UInt16,
291
- label: `${valveIdToMetadataPrefix(valveId)}: Run duration`,
292
- min: 1,
293
- unit: "s"
294
- })),
295
- ...import_Values.V.dynamicPropertyAndKeyWithName("valveRunStartStop", (valveId) => valveId, "startStop", ({ property, propertyKey }) => (typeof property === "number" || property === "master") && propertyKey === "startStop", (valveId) => ({
296
- ...import_safe.ValueMetadata.Boolean,
297
- label: `${valveIdToMetadataPrefix(valveId)}: Start/Stop`,
298
- states: {
299
- true: "Start",
300
- false: "Stop"
301
- }
302
- }))
303
- })
304
- });
305
- function valveIdToMetadataPrefix(valveId) {
306
- if (valveId === "master")
307
- return "Master valve";
308
- return `Valve ${valveId.toString().padStart(3, "0")}`;
309
- }
310
- __name(valveIdToMetadataPrefix, "valveIdToMetadataPrefix");
311
107
  const systemConfigProperties = [
312
108
  "masterValveDelay",
313
109
  "highPressureThreshold",
@@ -627,7 +423,7 @@ let IrrigationCCAPI = (() => {
627
423
  (0, import_API.throwWrongValueType)(this.ccId, property, "boolean", typeof value);
628
424
  }
629
425
  if (value) {
630
- const duration = valueDB.getValue(IrrigationCCValues.valveRunDuration(property).endpoint(this.endpoint.index));
426
+ const duration = valueDB.getValue(import_CCValues_generated.IrrigationCCValues.valveRunDuration(property).endpoint(this.endpoint.index));
631
427
  if (duration == void 0) {
632
428
  throw new import_safe.ZWaveError(`Cannot start a valve run without specifying a duration first!`, import_safe.ZWaveErrorCodes.Argument_Invalid);
633
429
  }
@@ -703,7 +499,7 @@ let IrrigationCCAPI = (() => {
703
499
  return IrrigationCCAPI2 = _classThis;
704
500
  })();
705
501
  let IrrigationCC = (() => {
706
- let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses.Irrigation), (0, import_CommandClassDecorators.implementedVersion)(1), (0, import_CommandClassDecorators.ccValues)(IrrigationCCValues)];
502
+ let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses.Irrigation), (0, import_CommandClassDecorators.implementedVersion)(1), (0, import_CommandClassDecorators.ccValues)(import_CCValues_generated.IrrigationCCValues)];
707
503
  let _classDescriptor;
708
504
  let _classExtraInitializers = [];
709
505
  let _classThis;
@@ -727,21 +523,21 @@ let IrrigationCC = (() => {
727
523
  * This only works AFTER the node has been interviewed.
728
524
  */
729
525
  static getMaxValveTableSizeCached(ctx, endpoint) {
730
- return ctx.getValueDB(endpoint.nodeId).getValue(IrrigationCCValues.maxValveTableSize.endpoint(endpoint.index));
526
+ return ctx.getValueDB(endpoint.nodeId).getValue(import_CCValues_generated.IrrigationCCValues.maxValveTableSize.endpoint(endpoint.index));
731
527
  }
732
528
  /**
733
529
  * Returns the number of zone valves reported by the node.
734
530
  * This only works AFTER the node has been interviewed.
735
531
  */
736
532
  static getNumValvesCached(ctx, endpoint) {
737
- return ctx.getValueDB(endpoint.nodeId).getValue(IrrigationCCValues.numValves.endpoint(endpoint.index));
533
+ return ctx.getValueDB(endpoint.nodeId).getValue(import_CCValues_generated.IrrigationCCValues.numValves.endpoint(endpoint.index));
738
534
  }
739
535
  /**
740
536
  * Returns whether the node supports a master valve
741
537
  * This only works AFTER the node has been interviewed.
742
538
  */
743
539
  static supportsMasterValveCached(ctx, endpoint) {
744
- return !!ctx.getValueDB(endpoint.nodeId).getValue(IrrigationCCValues.supportsMasterValve.endpoint(endpoint.index));
540
+ return !!ctx.getValueDB(endpoint.nodeId).getValue(import_CCValues_generated.IrrigationCCValues.supportsMasterValve.endpoint(endpoint.index));
745
541
  }
746
542
  async interview(ctx) {
747
543
  const node = this.getNode(ctx);
@@ -779,10 +575,10 @@ max. valve table size: ${systemInfo.maxValveTableSize}`;
779
575
  direction: "inbound"
780
576
  });
781
577
  for (let i = 1; i <= systemInfo.numValves; i++) {
782
- this.ensureMetadata(ctx, IrrigationCCValues.valveRunDuration(i));
783
- this.ensureMetadata(ctx, IrrigationCCValues.valveRunStartStop(i));
578
+ this.ensureMetadata(ctx, import_CCValues_generated.IrrigationCCValues.valveRunDuration(i));
579
+ this.ensureMetadata(ctx, import_CCValues_generated.IrrigationCCValues.valveRunStartStop(i));
784
580
  }
785
- this.ensureMetadata(ctx, IrrigationCCValues.shutoffSystem);
581
+ this.ensureMetadata(ctx, import_CCValues_generated.IrrigationCCValues.shutoffSystem);
786
582
  await this.refreshValues(ctx);
787
583
  this.setInterviewComplete(ctx, true);
788
584
  }
@@ -864,7 +660,7 @@ moisture sensor polarity: ${(0, import_safe3.getEnumMemberName)(import_Types.Irr
864
660
  return IrrigationCC2 = _classThis;
865
661
  })();
866
662
  let IrrigationCCSystemInfoReport = (() => {
867
- let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.IrrigationCommand.SystemInfoReport), (0, import_CommandClassDecorators.ccValueProperty)("numValves", IrrigationCCValues.numValves), (0, import_CommandClassDecorators.ccValueProperty)("numValveTables", IrrigationCCValues.numValveTables), (0, import_CommandClassDecorators.ccValueProperty)("supportsMasterValve", IrrigationCCValues.supportsMasterValve), (0, import_CommandClassDecorators.ccValueProperty)("maxValveTableSize", IrrigationCCValues.maxValveTableSize)];
663
+ let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.IrrigationCommand.SystemInfoReport), (0, import_CommandClassDecorators.ccValueProperty)("numValves", import_CCValues_generated.IrrigationCCValues.numValves), (0, import_CommandClassDecorators.ccValueProperty)("numValveTables", import_CCValues_generated.IrrigationCCValues.numValveTables), (0, import_CommandClassDecorators.ccValueProperty)("supportsMasterValve", import_CCValues_generated.IrrigationCCValues.supportsMasterValve), (0, import_CommandClassDecorators.ccValueProperty)("maxValveTableSize", import_CCValues_generated.IrrigationCCValues.maxValveTableSize)];
868
664
  let _classDescriptor;
869
665
  let _classExtraInitializers = [];
870
666
  let _classThis;
@@ -946,7 +742,7 @@ let IrrigationCCSystemInfoGet = (() => {
946
742
  return IrrigationCCSystemInfoGet2 = _classThis;
947
743
  })();
948
744
  let IrrigationCCSystemStatusReport = (() => {
949
- let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.IrrigationCommand.SystemStatusReport), (0, import_CommandClassDecorators.ccValueProperty)("systemVoltage", IrrigationCCValues.systemVoltage), (0, import_CommandClassDecorators.ccValueProperty)("flowSensorActive", IrrigationCCValues.flowSensorActive), (0, import_CommandClassDecorators.ccValueProperty)("pressureSensorActive", IrrigationCCValues.pressureSensorActive), (0, import_CommandClassDecorators.ccValueProperty)("rainSensorActive", IrrigationCCValues.rainSensorActive), (0, import_CommandClassDecorators.ccValueProperty)("moistureSensorActive", IrrigationCCValues.moistureSensorActive), (0, import_CommandClassDecorators.ccValueProperty)("flow", IrrigationCCValues.flow), (0, import_CommandClassDecorators.ccValueProperty)("pressure", IrrigationCCValues.pressure), (0, import_CommandClassDecorators.ccValueProperty)("shutoffDuration", IrrigationCCValues.shutoffDuration), (0, import_CommandClassDecorators.ccValueProperty)("errorNotProgrammed", IrrigationCCValues.errorNotProgrammed), (0, import_CommandClassDecorators.ccValueProperty)("errorEmergencyShutdown", IrrigationCCValues.errorEmergencyShutdown), (0, import_CommandClassDecorators.ccValueProperty)("errorHighPressure", IrrigationCCValues.errorHighPressure), (0, import_CommandClassDecorators.ccValueProperty)("errorLowPressure", IrrigationCCValues.errorLowPressure), (0, import_CommandClassDecorators.ccValueProperty)("errorValve", IrrigationCCValues.errorValve), (0, import_CommandClassDecorators.ccValueProperty)("masterValveOpen", IrrigationCCValues.masterValveOpen), (0, import_CommandClassDecorators.ccValueProperty)("firstOpenZoneId", IrrigationCCValues.firstOpenZoneId)];
745
+ let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.IrrigationCommand.SystemStatusReport), (0, import_CommandClassDecorators.ccValueProperty)("systemVoltage", import_CCValues_generated.IrrigationCCValues.systemVoltage), (0, import_CommandClassDecorators.ccValueProperty)("flowSensorActive", import_CCValues_generated.IrrigationCCValues.flowSensorActive), (0, import_CommandClassDecorators.ccValueProperty)("pressureSensorActive", import_CCValues_generated.IrrigationCCValues.pressureSensorActive), (0, import_CommandClassDecorators.ccValueProperty)("rainSensorActive", import_CCValues_generated.IrrigationCCValues.rainSensorActive), (0, import_CommandClassDecorators.ccValueProperty)("moistureSensorActive", import_CCValues_generated.IrrigationCCValues.moistureSensorActive), (0, import_CommandClassDecorators.ccValueProperty)("flow", import_CCValues_generated.IrrigationCCValues.flow), (0, import_CommandClassDecorators.ccValueProperty)("pressure", import_CCValues_generated.IrrigationCCValues.pressure), (0, import_CommandClassDecorators.ccValueProperty)("shutoffDuration", import_CCValues_generated.IrrigationCCValues.shutoffDuration), (0, import_CommandClassDecorators.ccValueProperty)("errorNotProgrammed", import_CCValues_generated.IrrigationCCValues.errorNotProgrammed), (0, import_CommandClassDecorators.ccValueProperty)("errorEmergencyShutdown", import_CCValues_generated.IrrigationCCValues.errorEmergencyShutdown), (0, import_CommandClassDecorators.ccValueProperty)("errorHighPressure", import_CCValues_generated.IrrigationCCValues.errorHighPressure), (0, import_CommandClassDecorators.ccValueProperty)("errorLowPressure", import_CCValues_generated.IrrigationCCValues.errorLowPressure), (0, import_CommandClassDecorators.ccValueProperty)("errorValve", import_CCValues_generated.IrrigationCCValues.errorValve), (0, import_CommandClassDecorators.ccValueProperty)("masterValveOpen", import_CCValues_generated.IrrigationCCValues.masterValveOpen), (0, import_CommandClassDecorators.ccValueProperty)("firstOpenZoneId", import_CCValues_generated.IrrigationCCValues.firstOpenZoneId)];
950
746
  let _classDescriptor;
951
747
  let _classExtraInitializers = [];
952
748
  let _classThis;
@@ -1196,7 +992,7 @@ let IrrigationCCSystemConfigSet = (() => {
1196
992
  return IrrigationCCSystemConfigSet2 = _classThis;
1197
993
  })();
1198
994
  let IrrigationCCSystemConfigReport = (() => {
1199
- let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.IrrigationCommand.SystemConfigReport), (0, import_CommandClassDecorators.ccValueProperty)("masterValveDelay", IrrigationCCValues.masterValveDelay), (0, import_CommandClassDecorators.ccValueProperty)("highPressureThreshold", IrrigationCCValues.highPressureThreshold), (0, import_CommandClassDecorators.ccValueProperty)("lowPressureThreshold", IrrigationCCValues.lowPressureThreshold), (0, import_CommandClassDecorators.ccValueProperty)("rainSensorPolarity", IrrigationCCValues.rainSensorPolarity), (0, import_CommandClassDecorators.ccValueProperty)("moistureSensorPolarity", IrrigationCCValues.moistureSensorPolarity)];
995
+ let _classDecorators = [(0, import_CommandClassDecorators.CCCommand)(import_Types.IrrigationCommand.SystemConfigReport), (0, import_CommandClassDecorators.ccValueProperty)("masterValveDelay", import_CCValues_generated.IrrigationCCValues.masterValveDelay), (0, import_CommandClassDecorators.ccValueProperty)("highPressureThreshold", import_CCValues_generated.IrrigationCCValues.highPressureThreshold), (0, import_CommandClassDecorators.ccValueProperty)("lowPressureThreshold", import_CCValues_generated.IrrigationCCValues.lowPressureThreshold), (0, import_CommandClassDecorators.ccValueProperty)("rainSensorPolarity", import_CCValues_generated.IrrigationCCValues.rainSensorPolarity), (0, import_CommandClassDecorators.ccValueProperty)("moistureSensorPolarity", import_CCValues_generated.IrrigationCCValues.moistureSensorPolarity)];
1200
996
  let _classDescriptor;
1201
997
  let _classExtraInitializers = [];
1202
998
  let _classThis;
@@ -1390,33 +1186,33 @@ let IrrigationCCValveInfoReport = (() => {
1390
1186
  persistValues(ctx) {
1391
1187
  if (!super.persistValues(ctx))
1392
1188
  return false;
1393
- const valveConnectedValue = IrrigationCCValues.valveConnected(this.valveId);
1189
+ const valveConnectedValue = import_CCValues_generated.IrrigationCCValues.valveConnected(this.valveId);
1394
1190
  this.ensureMetadata(ctx, valveConnectedValue);
1395
1191
  this.setValue(ctx, valveConnectedValue, this.connected);
1396
- const nominalCurrentValue = IrrigationCCValues.nominalCurrent(this.valveId);
1192
+ const nominalCurrentValue = import_CCValues_generated.IrrigationCCValues.nominalCurrent(this.valveId);
1397
1193
  this.ensureMetadata(ctx, nominalCurrentValue);
1398
1194
  this.setValue(ctx, nominalCurrentValue, this.nominalCurrent);
1399
- const errorShortCircuitValue = IrrigationCCValues.errorShortCircuit(this.valveId);
1195
+ const errorShortCircuitValue = import_CCValues_generated.IrrigationCCValues.errorShortCircuit(this.valveId);
1400
1196
  this.ensureMetadata(ctx, errorShortCircuitValue);
1401
1197
  this.setValue(ctx, errorShortCircuitValue, this.errorShortCircuit);
1402
- const errorHighCurrentValue = IrrigationCCValues.errorHighCurrent(this.valveId);
1198
+ const errorHighCurrentValue = import_CCValues_generated.IrrigationCCValues.errorHighCurrent(this.valveId);
1403
1199
  this.ensureMetadata(ctx, errorHighCurrentValue);
1404
1200
  this.setValue(ctx, errorHighCurrentValue, this.errorHighCurrent);
1405
- const errorLowCurrentValue = IrrigationCCValues.errorLowCurrent(this.valveId);
1201
+ const errorLowCurrentValue = import_CCValues_generated.IrrigationCCValues.errorLowCurrent(this.valveId);
1406
1202
  this.ensureMetadata(ctx, errorLowCurrentValue);
1407
1203
  this.setValue(ctx, errorLowCurrentValue, this.errorLowCurrent);
1408
1204
  if (this.errorMaximumFlow != void 0) {
1409
- const errorMaximumFlowValue = IrrigationCCValues.errorMaximumFlow(this.valveId);
1205
+ const errorMaximumFlowValue = import_CCValues_generated.IrrigationCCValues.errorMaximumFlow(this.valveId);
1410
1206
  this.ensureMetadata(ctx, errorMaximumFlowValue);
1411
1207
  this.setValue(ctx, errorMaximumFlowValue, this.errorMaximumFlow);
1412
1208
  }
1413
1209
  if (this.errorHighFlow != void 0) {
1414
- const errorHighFlowValue = IrrigationCCValues.errorHighFlow(this.valveId);
1210
+ const errorHighFlowValue = import_CCValues_generated.IrrigationCCValues.errorHighFlow(this.valveId);
1415
1211
  this.ensureMetadata(ctx, errorHighFlowValue);
1416
1212
  this.setValue(ctx, errorHighFlowValue, this.errorHighFlow);
1417
1213
  }
1418
1214
  if (this.errorLowFlow != void 0) {
1419
- const errorLowFlowValue = IrrigationCCValues.errorLowFlow(this.valveId);
1215
+ const errorLowFlowValue = import_CCValues_generated.IrrigationCCValues.errorLowFlow(this.valveId);
1420
1216
  this.ensureMetadata(ctx, errorLowFlowValue);
1421
1217
  this.setValue(ctx, errorLowFlowValue, this.errorLowFlow);
1422
1218
  }
@@ -1677,25 +1473,25 @@ let IrrigationCCValveConfigReport = (() => {
1677
1473
  persistValues(ctx) {
1678
1474
  if (!super.persistValues(ctx))
1679
1475
  return false;
1680
- const nominalCurrentHighThresholdValue = IrrigationCCValues.nominalCurrentHighThreshold(this.valveId);
1476
+ const nominalCurrentHighThresholdValue = import_CCValues_generated.IrrigationCCValues.nominalCurrentHighThreshold(this.valveId);
1681
1477
  this.ensureMetadata(ctx, nominalCurrentHighThresholdValue);
1682
1478
  this.setValue(ctx, nominalCurrentHighThresholdValue, this.nominalCurrentHighThreshold);
1683
- const nominalCurrentLowThresholdValue = IrrigationCCValues.nominalCurrentLowThreshold(this.valveId);
1479
+ const nominalCurrentLowThresholdValue = import_CCValues_generated.IrrigationCCValues.nominalCurrentLowThreshold(this.valveId);
1684
1480
  this.ensureMetadata(ctx, nominalCurrentLowThresholdValue);
1685
1481
  this.setValue(ctx, nominalCurrentLowThresholdValue, this.nominalCurrentLowThreshold);
1686
- const maximumFlowValue = IrrigationCCValues.maximumFlow(this.valveId);
1482
+ const maximumFlowValue = import_CCValues_generated.IrrigationCCValues.maximumFlow(this.valveId);
1687
1483
  this.ensureMetadata(ctx, maximumFlowValue);
1688
1484
  this.setValue(ctx, maximumFlowValue, this.maximumFlow);
1689
- const highFlowThresholdValue = IrrigationCCValues.highFlowThreshold(this.valveId);
1485
+ const highFlowThresholdValue = import_CCValues_generated.IrrigationCCValues.highFlowThreshold(this.valveId);
1690
1486
  this.ensureMetadata(ctx, highFlowThresholdValue);
1691
1487
  this.setValue(ctx, highFlowThresholdValue, this.highFlowThreshold);
1692
- const lowFlowThresholdValue = IrrigationCCValues.lowFlowThreshold(this.valveId);
1488
+ const lowFlowThresholdValue = import_CCValues_generated.IrrigationCCValues.lowFlowThreshold(this.valveId);
1693
1489
  this.ensureMetadata(ctx, lowFlowThresholdValue);
1694
1490
  this.setValue(ctx, lowFlowThresholdValue, this.lowFlowThreshold);
1695
- const useRainSensorValue = IrrigationCCValues.useRainSensor(this.valveId);
1491
+ const useRainSensorValue = import_CCValues_generated.IrrigationCCValues.useRainSensor(this.valveId);
1696
1492
  this.ensureMetadata(ctx, useRainSensorValue);
1697
1493
  this.setValue(ctx, useRainSensorValue, this.useRainSensor);
1698
- const useMoistureSensorValue = IrrigationCCValues.useMoistureSensor(this.valveId);
1494
+ const useMoistureSensorValue = import_CCValues_generated.IrrigationCCValues.useMoistureSensor(this.valveId);
1699
1495
  this.ensureMetadata(ctx, useMoistureSensorValue);
1700
1496
  this.setValue(ctx, useMoistureSensorValue, this.useMoistureSensor);
1701
1497
  return true;