@zwave-js/cc 15.1.1 → 15.2.0

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 (558) hide show
  1. package/build/cjs/cc/AlarmSensorCC.d.ts +7 -7
  2. package/build/cjs/cc/AlarmSensorCC.js +22 -23
  3. package/build/cjs/cc/AlarmSensorCC.js.map +3 -3
  4. package/build/cjs/cc/AssociationCC.d.ts +8 -9
  5. package/build/cjs/cc/AssociationCC.js +29 -29
  6. package/build/cjs/cc/AssociationCC.js.map +3 -3
  7. package/build/cjs/cc/AssociationGroupInfoCC.d.ts +7 -7
  8. package/build/cjs/cc/AssociationGroupInfoCC.js +31 -32
  9. package/build/cjs/cc/AssociationGroupInfoCC.js.map +3 -3
  10. package/build/cjs/cc/BarrierOperatorCC.d.ts +8 -8
  11. package/build/cjs/cc/BarrierOperatorCC.js +35 -36
  12. package/build/cjs/cc/BarrierOperatorCC.js.map +3 -3
  13. package/build/cjs/cc/BasicCC.d.ts +4 -4
  14. package/build/cjs/cc/BasicCC.js +23 -24
  15. package/build/cjs/cc/BasicCC.js.map +3 -3
  16. package/build/cjs/cc/BasicWindowCoveringCC._validateArgs.d.ts +3 -0
  17. package/build/cjs/cc/BasicWindowCoveringCC._validateArgs.js +64 -0
  18. package/build/cjs/cc/BasicWindowCoveringCC._validateArgs.js.map +7 -0
  19. package/build/cjs/cc/BasicWindowCoveringCC.d.ts +90 -0
  20. package/build/cjs/cc/BasicWindowCoveringCC.js +273 -0
  21. package/build/cjs/cc/BasicWindowCoveringCC.js.map +7 -0
  22. package/build/cjs/cc/BatteryCC.d.ts +4 -7
  23. package/build/cjs/cc/BatteryCC.js +18 -20
  24. package/build/cjs/cc/BatteryCC.js.map +3 -3
  25. package/build/cjs/cc/BinarySensorCC.d.ts +5 -5
  26. package/build/cjs/cc/BinarySensorCC.js +20 -21
  27. package/build/cjs/cc/BinarySensorCC.js.map +3 -3
  28. package/build/cjs/cc/BinarySwitchCC._validateArgs.js +2 -2
  29. package/build/cjs/cc/BinarySwitchCC.d.ts +6 -6
  30. package/build/cjs/cc/BinarySwitchCC.js +26 -26
  31. package/build/cjs/cc/BinarySwitchCC.js.map +3 -3
  32. package/build/cjs/cc/CRC16CC.d.ts +3 -3
  33. package/build/cjs/cc/CRC16CC.js +15 -15
  34. package/build/cjs/cc/CRC16CC.js.map +3 -3
  35. package/build/cjs/cc/CentralSceneCC.d.ts +8 -8
  36. package/build/cjs/cc/CentralSceneCC.js +23 -24
  37. package/build/cjs/cc/CentralSceneCC.js.map +3 -3
  38. package/build/cjs/cc/ClimateControlScheduleCC.d.ts +6 -6
  39. package/build/cjs/cc/ClimateControlScheduleCC.js +19 -20
  40. package/build/cjs/cc/ClimateControlScheduleCC.js.map +3 -3
  41. package/build/cjs/cc/ClockCC.d.ts +3 -4
  42. package/build/cjs/cc/ClockCC.js +13 -14
  43. package/build/cjs/cc/ClockCC.js.map +3 -3
  44. package/build/cjs/cc/ColorSwitchCC.d.ts +3 -4
  45. package/build/cjs/cc/ColorSwitchCC.js +22 -24
  46. package/build/cjs/cc/ColorSwitchCC.js.map +3 -3
  47. package/build/cjs/cc/ConfigurationCC.d.ts +3 -3
  48. package/build/cjs/cc/ConfigurationCC.js +114 -115
  49. package/build/cjs/cc/ConfigurationCC.js.map +3 -3
  50. package/build/cjs/cc/DeviceResetLocallyCC.d.ts +2 -2
  51. package/build/cjs/cc/DeviceResetLocallyCC.js +5 -5
  52. package/build/cjs/cc/DeviceResetLocallyCC.js.map +1 -1
  53. package/build/cjs/cc/DoorLockCC.d.ts +29 -29
  54. package/build/cjs/cc/DoorLockCC.js +39 -40
  55. package/build/cjs/cc/DoorLockCC.js.map +3 -3
  56. package/build/cjs/cc/DoorLockLoggingCC.d.ts +4 -4
  57. package/build/cjs/cc/DoorLockLoggingCC.js +13 -14
  58. package/build/cjs/cc/DoorLockLoggingCC.js.map +3 -3
  59. package/build/cjs/cc/EnergyProductionCC.d.ts +2 -3
  60. package/build/cjs/cc/EnergyProductionCC.js.map +2 -2
  61. package/build/cjs/cc/EntryControlCC.d.ts +8 -8
  62. package/build/cjs/cc/EntryControlCC.js +41 -42
  63. package/build/cjs/cc/EntryControlCC.js.map +3 -3
  64. package/build/cjs/cc/FirmwareUpdateMetaDataCC.d.ts +9 -10
  65. package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +52 -53
  66. package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +3 -3
  67. package/build/cjs/cc/HailCC.js +2 -2
  68. package/build/cjs/cc/HailCC.js.map +1 -1
  69. package/build/cjs/cc/HumidityControlModeCC.d.ts +5 -5
  70. package/build/cjs/cc/HumidityControlModeCC.js +20 -21
  71. package/build/cjs/cc/HumidityControlModeCC.js.map +3 -3
  72. package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +3 -3
  73. package/build/cjs/cc/HumidityControlOperatingStateCC.js +9 -9
  74. package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +3 -3
  75. package/build/cjs/cc/HumidityControlSetpointCC.d.ts +6 -6
  76. package/build/cjs/cc/HumidityControlSetpointCC.js +43 -44
  77. package/build/cjs/cc/HumidityControlSetpointCC.js.map +3 -3
  78. package/build/cjs/cc/InclusionControllerCC.d.ts +2 -3
  79. package/build/cjs/cc/InclusionControllerCC.js.map +2 -2
  80. package/build/cjs/cc/IndicatorCC.d.ts +3 -3
  81. package/build/cjs/cc/IndicatorCC.js +50 -52
  82. package/build/cjs/cc/IndicatorCC.js.map +3 -3
  83. package/build/cjs/cc/IrrigationCC.d.ts +3 -3
  84. package/build/cjs/cc/IrrigationCC.js +74 -75
  85. package/build/cjs/cc/IrrigationCC.js.map +3 -3
  86. package/build/cjs/cc/LanguageCC.d.ts +5 -6
  87. package/build/cjs/cc/LanguageCC.js +14 -15
  88. package/build/cjs/cc/LanguageCC.js.map +3 -3
  89. package/build/cjs/cc/LockCC.d.ts +4 -4
  90. package/build/cjs/cc/LockCC.js +10 -10
  91. package/build/cjs/cc/LockCC.js.map +3 -3
  92. package/build/cjs/cc/ManufacturerProprietaryCC.d.ts +3 -3
  93. package/build/cjs/cc/ManufacturerProprietaryCC.js +10 -10
  94. package/build/cjs/cc/ManufacturerProprietaryCC.js.map +3 -3
  95. package/build/cjs/cc/ManufacturerSpecificCC.d.ts +7 -8
  96. package/build/cjs/cc/ManufacturerSpecificCC.js +20 -21
  97. package/build/cjs/cc/ManufacturerSpecificCC.js.map +3 -3
  98. package/build/cjs/cc/MeterCC.d.ts +4 -6
  99. package/build/cjs/cc/MeterCC.js +52 -54
  100. package/build/cjs/cc/MeterCC.js.map +3 -3
  101. package/build/cjs/cc/MultiChannelAssociationCC.d.ts +7 -8
  102. package/build/cjs/cc/MultiChannelAssociationCC.js +34 -35
  103. package/build/cjs/cc/MultiChannelAssociationCC.js.map +3 -3
  104. package/build/cjs/cc/MultiChannelCC.d.ts +11 -11
  105. package/build/cjs/cc/MultiChannelCC.js +53 -53
  106. package/build/cjs/cc/MultiChannelCC.js.map +3 -3
  107. package/build/cjs/cc/MultiCommandCC.d.ts +3 -3
  108. package/build/cjs/cc/MultiCommandCC.js +13 -13
  109. package/build/cjs/cc/MultiCommandCC.js.map +3 -3
  110. package/build/cjs/cc/MultilevelSensorCC.d.ts +4 -7
  111. package/build/cjs/cc/MultilevelSensorCC.js +26 -28
  112. package/build/cjs/cc/MultilevelSensorCC.js.map +3 -3
  113. package/build/cjs/cc/MultilevelSwitchCC._validateArgs.js +3 -3
  114. package/build/cjs/cc/MultilevelSwitchCC.d.ts +13 -13
  115. package/build/cjs/cc/MultilevelSwitchCC.js +36 -37
  116. package/build/cjs/cc/MultilevelSwitchCC.js.map +3 -3
  117. package/build/cjs/cc/NoOperationCC.js +4 -4
  118. package/build/cjs/cc/NoOperationCC.js.map +1 -1
  119. package/build/cjs/cc/NodeNamingCC.d.ts +5 -5
  120. package/build/cjs/cc/NodeNamingCC.js +20 -20
  121. package/build/cjs/cc/NodeNamingCC.js.map +3 -3
  122. package/build/cjs/cc/NotificationCC.d.ts +4 -5
  123. package/build/cjs/cc/NotificationCC.js +66 -68
  124. package/build/cjs/cc/NotificationCC.js.map +3 -3
  125. package/build/cjs/cc/PowerlevelCC.d.ts +3 -3
  126. package/build/cjs/cc/PowerlevelCC.js +25 -26
  127. package/build/cjs/cc/PowerlevelCC.js.map +3 -3
  128. package/build/cjs/cc/ProtectionCC._validateArgs.js +2 -2
  129. package/build/cjs/cc/ProtectionCC.d.ts +11 -11
  130. package/build/cjs/cc/ProtectionCC.js +35 -36
  131. package/build/cjs/cc/ProtectionCC.js.map +3 -3
  132. package/build/cjs/cc/SceneActivationCC._validateArgs.js +2 -2
  133. package/build/cjs/cc/SceneActivationCC.d.ts +5 -6
  134. package/build/cjs/cc/SceneActivationCC.js +10 -10
  135. package/build/cjs/cc/SceneActivationCC.js.map +3 -3
  136. package/build/cjs/cc/SceneActuatorConfigurationCC._validateArgs.js +2 -2
  137. package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +5 -5
  138. package/build/cjs/cc/SceneActuatorConfigurationCC.js +19 -20
  139. package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +3 -3
  140. package/build/cjs/cc/SceneControllerConfigurationCC._validateArgs.js +2 -2
  141. package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +6 -6
  142. package/build/cjs/cc/SceneControllerConfigurationCC.js +25 -26
  143. package/build/cjs/cc/SceneControllerConfigurationCC.js.map +3 -3
  144. package/build/cjs/cc/ScheduleEntryLockCC.d.ts +2 -3
  145. package/build/cjs/cc/ScheduleEntryLockCC.js.map +2 -2
  146. package/build/cjs/cc/Security2CC.d.ts +3 -4
  147. package/build/cjs/cc/Security2CC.js +60 -62
  148. package/build/cjs/cc/Security2CC.js.map +3 -3
  149. package/build/cjs/cc/SecurityCC.d.ts +3 -4
  150. package/build/cjs/cc/SecurityCC.js +25 -26
  151. package/build/cjs/cc/SecurityCC.js.map +3 -3
  152. package/build/cjs/cc/SoundSwitchCC.d.ts +7 -7
  153. package/build/cjs/cc/SoundSwitchCC.js +28 -29
  154. package/build/cjs/cc/SoundSwitchCC.js.map +3 -3
  155. package/build/cjs/cc/SupervisionCC.d.ts +4 -4
  156. package/build/cjs/cc/SupervisionCC.js +28 -29
  157. package/build/cjs/cc/SupervisionCC.js.map +3 -3
  158. package/build/cjs/cc/ThermostatFanModeCC.d.ts +6 -6
  159. package/build/cjs/cc/ThermostatFanModeCC.js +21 -22
  160. package/build/cjs/cc/ThermostatFanModeCC.js.map +3 -3
  161. package/build/cjs/cc/ThermostatFanStateCC.d.ts +3 -3
  162. package/build/cjs/cc/ThermostatFanStateCC.js +9 -9
  163. package/build/cjs/cc/ThermostatFanStateCC.js.map +3 -3
  164. package/build/cjs/cc/ThermostatModeCC.d.ts +6 -6
  165. package/build/cjs/cc/ThermostatModeCC.js +30 -31
  166. package/build/cjs/cc/ThermostatModeCC.js.map +3 -3
  167. package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +3 -4
  168. package/build/cjs/cc/ThermostatOperatingStateCC.js +9 -9
  169. package/build/cjs/cc/ThermostatOperatingStateCC.js.map +3 -3
  170. package/build/cjs/cc/ThermostatSetbackCC.d.ts +3 -3
  171. package/build/cjs/cc/ThermostatSetbackCC.js +14 -15
  172. package/build/cjs/cc/ThermostatSetbackCC.js.map +3 -3
  173. package/build/cjs/cc/ThermostatSetpointCC.d.ts +6 -6
  174. package/build/cjs/cc/ThermostatSetpointCC.js +48 -49
  175. package/build/cjs/cc/ThermostatSetpointCC.js.map +3 -3
  176. package/build/cjs/cc/TimeCC.d.ts +3 -4
  177. package/build/cjs/cc/TimeCC.js +9 -10
  178. package/build/cjs/cc/TimeCC.js.map +3 -3
  179. package/build/cjs/cc/TimeParametersCC.d.ts +3 -4
  180. package/build/cjs/cc/TimeParametersCC.js +2 -2
  181. package/build/cjs/cc/TimeParametersCC.js.map +2 -2
  182. package/build/cjs/cc/TransportServiceCC.d.ts +3 -3
  183. package/build/cjs/cc/TransportServiceCC.js +44 -45
  184. package/build/cjs/cc/TransportServiceCC.js.map +3 -3
  185. package/build/cjs/cc/UserCodeCC.d.ts +19 -19
  186. package/build/cjs/cc/UserCodeCC.js +102 -103
  187. package/build/cjs/cc/UserCodeCC.js.map +3 -3
  188. package/build/cjs/cc/VersionCC.d.ts +17 -17
  189. package/build/cjs/cc/VersionCC.js +46 -47
  190. package/build/cjs/cc/VersionCC.js.map +3 -3
  191. package/build/cjs/cc/WakeUpCC.d.ts +6 -6
  192. package/build/cjs/cc/WakeUpCC.js +16 -17
  193. package/build/cjs/cc/WakeUpCC.js.map +3 -3
  194. package/build/cjs/cc/WindowCoveringCC.d.ts +3 -4
  195. package/build/cjs/cc/WindowCoveringCC.js +17 -18
  196. package/build/cjs/cc/WindowCoveringCC.js.map +3 -3
  197. package/build/cjs/cc/ZWavePlusCC.d.ts +8 -8
  198. package/build/cjs/cc/ZWavePlusCC.js +15 -16
  199. package/build/cjs/cc/ZWavePlusCC.js.map +3 -3
  200. package/build/cjs/cc/ZWaveProtocolCC.d.ts +2 -2
  201. package/build/cjs/cc/ZWaveProtocolCC.js +35 -35
  202. package/build/cjs/cc/ZWaveProtocolCC.js.map +2 -2
  203. package/build/cjs/cc/_CCValues.generated.d.ts +124 -0
  204. package/build/cjs/cc/_CCValues.generated.js +93 -26
  205. package/build/cjs/cc/_CCValues.generated.js.map +3 -3
  206. package/build/cjs/cc/index.d.ts +2 -0
  207. package/build/cjs/cc/index.js +9 -0
  208. package/build/cjs/cc/index.js.map +2 -2
  209. package/build/cjs/cc/manufacturerProprietary/FibaroCC.d.ts +3 -3
  210. package/build/cjs/cc/manufacturerProprietary/FibaroCC.js +14 -14
  211. package/build/cjs/cc/manufacturerProprietary/FibaroCC.js.map +1 -1
  212. package/build/cjs/lib/API.d.ts +5 -3
  213. package/build/cjs/lib/API.js.map +2 -2
  214. package/build/cjs/lib/CommandClass.d.ts +5 -6
  215. package/build/cjs/lib/CommandClass.js +45 -45
  216. package/build/cjs/lib/CommandClass.js.map +3 -3
  217. package/build/cjs/lib/CommandClassDecorators.d.ts +2 -2
  218. package/build/cjs/lib/CommandClassDecorators.js +3 -3
  219. package/build/cjs/lib/CommandClassDecorators.js.map +2 -2
  220. package/build/cjs/lib/Security2/Extension.d.ts +2 -2
  221. package/build/cjs/lib/Security2/Extension.js +17 -17
  222. package/build/cjs/lib/Security2/Extension.js.map +3 -3
  223. package/build/cjs/lib/SetValueResult.d.ts +1 -1
  224. package/build/cjs/lib/SetValueResult.js.map +1 -1
  225. package/build/cjs/lib/Values.d.ts +3 -3
  226. package/build/cjs/lib/Values.js +6 -6
  227. package/build/cjs/lib/Values.js.map +2 -2
  228. package/build/cjs/lib/_Types.d.ts +6 -2
  229. package/build/cjs/lib/_Types.js +10 -3
  230. package/build/cjs/lib/_Types.js.map +3 -3
  231. package/build/cjs/lib/serializers.d.ts +1 -1
  232. package/build/cjs/lib/serializers.js +5 -5
  233. package/build/cjs/lib/serializers.js.map +2 -2
  234. package/build/cjs/lib/traits.d.ts +2 -2
  235. package/build/cjs/lib/utils.d.ts +2 -2
  236. package/build/cjs/lib/utils.js +60 -60
  237. package/build/cjs/lib/utils.js.map +3 -3
  238. package/build/esm/cc/AlarmSensorCC.d.ts +7 -7
  239. package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -1
  240. package/build/esm/cc/AlarmSensorCC.js +2 -3
  241. package/build/esm/cc/AlarmSensorCC.js.map +1 -1
  242. package/build/esm/cc/AssociationCC.d.ts +8 -9
  243. package/build/esm/cc/AssociationCC.d.ts.map +1 -1
  244. package/build/esm/cc/AssociationCC.js +2 -2
  245. package/build/esm/cc/AssociationCC.js.map +1 -1
  246. package/build/esm/cc/AssociationGroupInfoCC.d.ts +7 -7
  247. package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -1
  248. package/build/esm/cc/AssociationGroupInfoCC.js +2 -3
  249. package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -1
  250. package/build/esm/cc/BarrierOperatorCC.d.ts +8 -8
  251. package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -1
  252. package/build/esm/cc/BarrierOperatorCC.js +2 -3
  253. package/build/esm/cc/BarrierOperatorCC.js.map +1 -1
  254. package/build/esm/cc/BasicCC.d.ts +4 -4
  255. package/build/esm/cc/BasicCC.d.ts.map +1 -1
  256. package/build/esm/cc/BasicCC.js +2 -3
  257. package/build/esm/cc/BasicCC.js.map +1 -1
  258. package/build/esm/cc/BasicWindowCoveringCC._validateArgs.d.ts +3 -0
  259. package/build/esm/cc/BasicWindowCoveringCC._validateArgs.d.ts.map +1 -0
  260. package/build/esm/cc/BasicWindowCoveringCC._validateArgs.js +22 -0
  261. package/build/esm/cc/BasicWindowCoveringCC._validateArgs.js.map +1 -0
  262. package/build/esm/cc/BasicWindowCoveringCC.d.ts +90 -0
  263. package/build/esm/cc/BasicWindowCoveringCC.d.ts.map +1 -0
  264. package/build/esm/cc/BasicWindowCoveringCC.js +215 -0
  265. package/build/esm/cc/BasicWindowCoveringCC.js.map +1 -0
  266. package/build/esm/cc/BatteryCC.d.ts +4 -7
  267. package/build/esm/cc/BatteryCC.d.ts.map +1 -1
  268. package/build/esm/cc/BatteryCC.js +2 -4
  269. package/build/esm/cc/BatteryCC.js.map +1 -1
  270. package/build/esm/cc/BinarySensorCC.d.ts +5 -5
  271. package/build/esm/cc/BinarySensorCC.d.ts.map +1 -1
  272. package/build/esm/cc/BinarySensorCC.js +2 -3
  273. package/build/esm/cc/BinarySensorCC.js.map +1 -1
  274. package/build/esm/cc/BinarySwitchCC._validateArgs.js +1 -1
  275. package/build/esm/cc/BinarySwitchCC._validateArgs.js.map +1 -1
  276. package/build/esm/cc/BinarySwitchCC.d.ts +6 -6
  277. package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -1
  278. package/build/esm/cc/BinarySwitchCC.js +2 -2
  279. package/build/esm/cc/BinarySwitchCC.js.map +1 -1
  280. package/build/esm/cc/CRC16CC.d.ts +3 -3
  281. package/build/esm/cc/CRC16CC.d.ts.map +1 -1
  282. package/build/esm/cc/CRC16CC.js +2 -2
  283. package/build/esm/cc/CRC16CC.js.map +1 -1
  284. package/build/esm/cc/CentralSceneCC.d.ts +8 -8
  285. package/build/esm/cc/CentralSceneCC.d.ts.map +1 -1
  286. package/build/esm/cc/CentralSceneCC.js +2 -3
  287. package/build/esm/cc/CentralSceneCC.js.map +1 -1
  288. package/build/esm/cc/ClimateControlScheduleCC.d.ts +6 -6
  289. package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -1
  290. package/build/esm/cc/ClimateControlScheduleCC.js +2 -3
  291. package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -1
  292. package/build/esm/cc/ClockCC.d.ts +3 -4
  293. package/build/esm/cc/ClockCC.d.ts.map +1 -1
  294. package/build/esm/cc/ClockCC.js +2 -3
  295. package/build/esm/cc/ClockCC.js.map +1 -1
  296. package/build/esm/cc/ColorSwitchCC.d.ts +3 -4
  297. package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -1
  298. package/build/esm/cc/ColorSwitchCC.js +2 -4
  299. package/build/esm/cc/ColorSwitchCC.js.map +1 -1
  300. package/build/esm/cc/ConfigurationCC.d.ts +3 -3
  301. package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
  302. package/build/esm/cc/ConfigurationCC.js +2 -3
  303. package/build/esm/cc/ConfigurationCC.js.map +1 -1
  304. package/build/esm/cc/DeviceResetLocallyCC.d.ts +2 -2
  305. package/build/esm/cc/DeviceResetLocallyCC.d.ts.map +1 -1
  306. package/build/esm/cc/DeviceResetLocallyCC.js +1 -1
  307. package/build/esm/cc/DeviceResetLocallyCC.js.map +1 -1
  308. package/build/esm/cc/DoorLockCC.d.ts +29 -29
  309. package/build/esm/cc/DoorLockCC.d.ts.map +1 -1
  310. package/build/esm/cc/DoorLockCC.js +2 -3
  311. package/build/esm/cc/DoorLockCC.js.map +1 -1
  312. package/build/esm/cc/DoorLockLoggingCC.d.ts +4 -4
  313. package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -1
  314. package/build/esm/cc/DoorLockLoggingCC.js +2 -3
  315. package/build/esm/cc/DoorLockLoggingCC.js.map +1 -1
  316. package/build/esm/cc/EnergyProductionCC.d.ts +2 -3
  317. package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -1
  318. package/build/esm/cc/EnergyProductionCC.js.map +1 -1
  319. package/build/esm/cc/EntryControlCC.d.ts +8 -8
  320. package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
  321. package/build/esm/cc/EntryControlCC.js +2 -3
  322. package/build/esm/cc/EntryControlCC.js.map +1 -1
  323. package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts +9 -10
  324. package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
  325. package/build/esm/cc/FirmwareUpdateMetaDataCC.js +2 -3
  326. package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
  327. package/build/esm/cc/HailCC.js +1 -1
  328. package/build/esm/cc/HailCC.js.map +1 -1
  329. package/build/esm/cc/HumidityControlModeCC.d.ts +5 -5
  330. package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -1
  331. package/build/esm/cc/HumidityControlModeCC.js +2 -3
  332. package/build/esm/cc/HumidityControlModeCC.js.map +1 -1
  333. package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +3 -3
  334. package/build/esm/cc/HumidityControlOperatingStateCC.d.ts.map +1 -1
  335. package/build/esm/cc/HumidityControlOperatingStateCC.js +2 -2
  336. package/build/esm/cc/HumidityControlOperatingStateCC.js.map +1 -1
  337. package/build/esm/cc/HumidityControlSetpointCC.d.ts +6 -6
  338. package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -1
  339. package/build/esm/cc/HumidityControlSetpointCC.js +2 -3
  340. package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -1
  341. package/build/esm/cc/InclusionControllerCC.d.ts +2 -3
  342. package/build/esm/cc/InclusionControllerCC.d.ts.map +1 -1
  343. package/build/esm/cc/InclusionControllerCC.js.map +1 -1
  344. package/build/esm/cc/IndicatorCC.d.ts +3 -3
  345. package/build/esm/cc/IndicatorCC.d.ts.map +1 -1
  346. package/build/esm/cc/IndicatorCC.js +2 -4
  347. package/build/esm/cc/IndicatorCC.js.map +1 -1
  348. package/build/esm/cc/IrrigationCC.d.ts +3 -3
  349. package/build/esm/cc/IrrigationCC.d.ts.map +1 -1
  350. package/build/esm/cc/IrrigationCC.js +2 -3
  351. package/build/esm/cc/IrrigationCC.js.map +1 -1
  352. package/build/esm/cc/LanguageCC.d.ts +5 -6
  353. package/build/esm/cc/LanguageCC.d.ts.map +1 -1
  354. package/build/esm/cc/LanguageCC.js +2 -3
  355. package/build/esm/cc/LanguageCC.js.map +1 -1
  356. package/build/esm/cc/LockCC.d.ts +4 -4
  357. package/build/esm/cc/LockCC.d.ts.map +1 -1
  358. package/build/esm/cc/LockCC.js +2 -2
  359. package/build/esm/cc/LockCC.js.map +1 -1
  360. package/build/esm/cc/ManufacturerProprietaryCC.d.ts +3 -3
  361. package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
  362. package/build/esm/cc/ManufacturerProprietaryCC.js +2 -2
  363. package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -1
  364. package/build/esm/cc/ManufacturerSpecificCC.d.ts +7 -8
  365. package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -1
  366. package/build/esm/cc/ManufacturerSpecificCC.js +2 -3
  367. package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -1
  368. package/build/esm/cc/MeterCC.d.ts +4 -6
  369. package/build/esm/cc/MeterCC.d.ts.map +1 -1
  370. package/build/esm/cc/MeterCC.js +2 -4
  371. package/build/esm/cc/MeterCC.js.map +1 -1
  372. package/build/esm/cc/MultiChannelAssociationCC.d.ts +7 -8
  373. package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -1
  374. package/build/esm/cc/MultiChannelAssociationCC.js +2 -3
  375. package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -1
  376. package/build/esm/cc/MultiChannelCC.d.ts +11 -11
  377. package/build/esm/cc/MultiChannelCC.d.ts.map +1 -1
  378. package/build/esm/cc/MultiChannelCC.js +2 -2
  379. package/build/esm/cc/MultiChannelCC.js.map +1 -1
  380. package/build/esm/cc/MultiCommandCC.d.ts +3 -3
  381. package/build/esm/cc/MultiCommandCC.d.ts.map +1 -1
  382. package/build/esm/cc/MultiCommandCC.js +2 -2
  383. package/build/esm/cc/MultiCommandCC.js.map +1 -1
  384. package/build/esm/cc/MultilevelSensorCC.d.ts +4 -7
  385. package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -1
  386. package/build/esm/cc/MultilevelSensorCC.js +2 -4
  387. package/build/esm/cc/MultilevelSensorCC.js.map +1 -1
  388. package/build/esm/cc/MultilevelSwitchCC._validateArgs.js +1 -1
  389. package/build/esm/cc/MultilevelSwitchCC._validateArgs.js.map +1 -1
  390. package/build/esm/cc/MultilevelSwitchCC.d.ts +13 -13
  391. package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -1
  392. package/build/esm/cc/MultilevelSwitchCC.js +2 -3
  393. package/build/esm/cc/MultilevelSwitchCC.js.map +1 -1
  394. package/build/esm/cc/NoOperationCC.js +1 -1
  395. package/build/esm/cc/NoOperationCC.js.map +1 -1
  396. package/build/esm/cc/NodeNamingCC.d.ts +5 -5
  397. package/build/esm/cc/NodeNamingCC.d.ts.map +1 -1
  398. package/build/esm/cc/NodeNamingCC.js +2 -2
  399. package/build/esm/cc/NodeNamingCC.js.map +1 -1
  400. package/build/esm/cc/NotificationCC.d.ts +4 -5
  401. package/build/esm/cc/NotificationCC.d.ts.map +1 -1
  402. package/build/esm/cc/NotificationCC.js +2 -4
  403. package/build/esm/cc/NotificationCC.js.map +1 -1
  404. package/build/esm/cc/PowerlevelCC.d.ts +3 -3
  405. package/build/esm/cc/PowerlevelCC.d.ts.map +1 -1
  406. package/build/esm/cc/PowerlevelCC.js +2 -3
  407. package/build/esm/cc/PowerlevelCC.js.map +1 -1
  408. package/build/esm/cc/ProtectionCC._validateArgs.js +1 -1
  409. package/build/esm/cc/ProtectionCC._validateArgs.js.map +1 -1
  410. package/build/esm/cc/ProtectionCC.d.ts +11 -11
  411. package/build/esm/cc/ProtectionCC.d.ts.map +1 -1
  412. package/build/esm/cc/ProtectionCC.js +2 -3
  413. package/build/esm/cc/ProtectionCC.js.map +1 -1
  414. package/build/esm/cc/SceneActivationCC._validateArgs.js +1 -1
  415. package/build/esm/cc/SceneActivationCC._validateArgs.js.map +1 -1
  416. package/build/esm/cc/SceneActivationCC.d.ts +5 -6
  417. package/build/esm/cc/SceneActivationCC.d.ts.map +1 -1
  418. package/build/esm/cc/SceneActivationCC.js +2 -2
  419. package/build/esm/cc/SceneActivationCC.js.map +1 -1
  420. package/build/esm/cc/SceneActuatorConfigurationCC._validateArgs.js +1 -1
  421. package/build/esm/cc/SceneActuatorConfigurationCC._validateArgs.js.map +1 -1
  422. package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +5 -5
  423. package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
  424. package/build/esm/cc/SceneActuatorConfigurationCC.js +2 -3
  425. package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -1
  426. package/build/esm/cc/SceneControllerConfigurationCC._validateArgs.js +1 -1
  427. package/build/esm/cc/SceneControllerConfigurationCC._validateArgs.js.map +1 -1
  428. package/build/esm/cc/SceneControllerConfigurationCC.d.ts +6 -6
  429. package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
  430. package/build/esm/cc/SceneControllerConfigurationCC.js +2 -3
  431. package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -1
  432. package/build/esm/cc/ScheduleEntryLockCC.d.ts +2 -3
  433. package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -1
  434. package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -1
  435. package/build/esm/cc/Security2CC.d.ts +3 -4
  436. package/build/esm/cc/Security2CC.d.ts.map +1 -1
  437. package/build/esm/cc/Security2CC.js +2 -4
  438. package/build/esm/cc/Security2CC.js.map +1 -1
  439. package/build/esm/cc/SecurityCC.d.ts +3 -4
  440. package/build/esm/cc/SecurityCC.d.ts.map +1 -1
  441. package/build/esm/cc/SecurityCC.js +1 -2
  442. package/build/esm/cc/SecurityCC.js.map +1 -1
  443. package/build/esm/cc/SoundSwitchCC.d.ts +7 -7
  444. package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -1
  445. package/build/esm/cc/SoundSwitchCC.js +2 -3
  446. package/build/esm/cc/SoundSwitchCC.js.map +1 -1
  447. package/build/esm/cc/SupervisionCC.d.ts +4 -4
  448. package/build/esm/cc/SupervisionCC.d.ts.map +1 -1
  449. package/build/esm/cc/SupervisionCC.js +2 -3
  450. package/build/esm/cc/SupervisionCC.js.map +1 -1
  451. package/build/esm/cc/ThermostatFanModeCC.d.ts +6 -6
  452. package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -1
  453. package/build/esm/cc/ThermostatFanModeCC.js +2 -3
  454. package/build/esm/cc/ThermostatFanModeCC.js.map +1 -1
  455. package/build/esm/cc/ThermostatFanStateCC.d.ts +3 -3
  456. package/build/esm/cc/ThermostatFanStateCC.d.ts.map +1 -1
  457. package/build/esm/cc/ThermostatFanStateCC.js +2 -2
  458. package/build/esm/cc/ThermostatFanStateCC.js.map +1 -1
  459. package/build/esm/cc/ThermostatModeCC.d.ts +6 -6
  460. package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -1
  461. package/build/esm/cc/ThermostatModeCC.js +2 -3
  462. package/build/esm/cc/ThermostatModeCC.js.map +1 -1
  463. package/build/esm/cc/ThermostatOperatingStateCC.d.ts +3 -4
  464. package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -1
  465. package/build/esm/cc/ThermostatOperatingStateCC.js +2 -2
  466. package/build/esm/cc/ThermostatOperatingStateCC.js.map +1 -1
  467. package/build/esm/cc/ThermostatSetbackCC.d.ts +3 -3
  468. package/build/esm/cc/ThermostatSetbackCC.d.ts.map +1 -1
  469. package/build/esm/cc/ThermostatSetbackCC.js +2 -3
  470. package/build/esm/cc/ThermostatSetbackCC.js.map +1 -1
  471. package/build/esm/cc/ThermostatSetpointCC.d.ts +6 -6
  472. package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -1
  473. package/build/esm/cc/ThermostatSetpointCC.js +2 -3
  474. package/build/esm/cc/ThermostatSetpointCC.js.map +1 -1
  475. package/build/esm/cc/TimeCC.d.ts +3 -4
  476. package/build/esm/cc/TimeCC.d.ts.map +1 -1
  477. package/build/esm/cc/TimeCC.js +1 -2
  478. package/build/esm/cc/TimeCC.js.map +1 -1
  479. package/build/esm/cc/TimeParametersCC.d.ts +3 -4
  480. package/build/esm/cc/TimeParametersCC.d.ts.map +1 -1
  481. package/build/esm/cc/TimeParametersCC.js +1 -1
  482. package/build/esm/cc/TimeParametersCC.js.map +1 -1
  483. package/build/esm/cc/TransportServiceCC.d.ts +3 -3
  484. package/build/esm/cc/TransportServiceCC.d.ts.map +1 -1
  485. package/build/esm/cc/TransportServiceCC.js +2 -3
  486. package/build/esm/cc/TransportServiceCC.js.map +1 -1
  487. package/build/esm/cc/UserCodeCC.d.ts +19 -19
  488. package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
  489. package/build/esm/cc/UserCodeCC.js +2 -3
  490. package/build/esm/cc/UserCodeCC.js.map +1 -1
  491. package/build/esm/cc/VersionCC.d.ts +17 -17
  492. package/build/esm/cc/VersionCC.d.ts.map +1 -1
  493. package/build/esm/cc/VersionCC.js +2 -3
  494. package/build/esm/cc/VersionCC.js.map +1 -1
  495. package/build/esm/cc/WakeUpCC.d.ts +6 -6
  496. package/build/esm/cc/WakeUpCC.d.ts.map +1 -1
  497. package/build/esm/cc/WakeUpCC.js +2 -3
  498. package/build/esm/cc/WakeUpCC.js.map +1 -1
  499. package/build/esm/cc/WindowCoveringCC.d.ts +3 -4
  500. package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -1
  501. package/build/esm/cc/WindowCoveringCC.js +1 -2
  502. package/build/esm/cc/WindowCoveringCC.js.map +1 -1
  503. package/build/esm/cc/ZWavePlusCC.d.ts +8 -8
  504. package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -1
  505. package/build/esm/cc/ZWavePlusCC.js +2 -3
  506. package/build/esm/cc/ZWavePlusCC.js.map +1 -1
  507. package/build/esm/cc/ZWaveProtocolCC.d.ts +2 -2
  508. package/build/esm/cc/ZWaveProtocolCC.d.ts.map +1 -1
  509. package/build/esm/cc/ZWaveProtocolCC.js +1 -1
  510. package/build/esm/cc/ZWaveProtocolCC.js.map +1 -1
  511. package/build/esm/cc/_CCValues.generated.d.ts +124 -0
  512. package/build/esm/cc/_CCValues.generated.d.ts.map +1 -1
  513. package/build/esm/cc/_CCValues.generated.js +75 -4
  514. package/build/esm/cc/_CCValues.generated.js.map +1 -1
  515. package/build/esm/cc/index.d.ts +2 -0
  516. package/build/esm/cc/index.d.ts.map +1 -1
  517. package/build/esm/cc/index.js +1 -0
  518. package/build/esm/cc/index.js.map +1 -1
  519. package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts +3 -3
  520. package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts.map +1 -1
  521. package/build/esm/cc/manufacturerProprietary/FibaroCC.js +1 -1
  522. package/build/esm/cc/manufacturerProprietary/FibaroCC.js.map +1 -1
  523. package/build/esm/lib/API.d.ts +5 -3
  524. package/build/esm/lib/API.d.ts.map +1 -1
  525. package/build/esm/lib/API.js.map +1 -1
  526. package/build/esm/lib/CommandClass.d.ts +5 -6
  527. package/build/esm/lib/CommandClass.d.ts.map +1 -1
  528. package/build/esm/lib/CommandClass.js +2 -2
  529. package/build/esm/lib/CommandClass.js.map +1 -1
  530. package/build/esm/lib/CommandClassDecorators.d.ts +2 -2
  531. package/build/esm/lib/CommandClassDecorators.d.ts.map +1 -1
  532. package/build/esm/lib/CommandClassDecorators.js +1 -1
  533. package/build/esm/lib/CommandClassDecorators.js.map +1 -1
  534. package/build/esm/lib/Security2/Extension.d.ts +2 -2
  535. package/build/esm/lib/Security2/Extension.d.ts.map +1 -1
  536. package/build/esm/lib/Security2/Extension.js +2 -2
  537. package/build/esm/lib/Security2/Extension.js.map +1 -1
  538. package/build/esm/lib/SetValueResult.d.ts +1 -1
  539. package/build/esm/lib/SetValueResult.d.ts.map +1 -1
  540. package/build/esm/lib/Values.d.ts +3 -3
  541. package/build/esm/lib/Values.d.ts.map +1 -1
  542. package/build/esm/lib/Values.js +1 -1
  543. package/build/esm/lib/Values.js.map +1 -1
  544. package/build/esm/lib/_Types.d.ts +6 -2
  545. package/build/esm/lib/_Types.d.ts.map +1 -1
  546. package/build/esm/lib/_Types.js +6 -1
  547. package/build/esm/lib/_Types.js.map +1 -1
  548. package/build/esm/lib/serializers.d.ts +1 -1
  549. package/build/esm/lib/serializers.d.ts.map +1 -1
  550. package/build/esm/lib/serializers.js +1 -1
  551. package/build/esm/lib/serializers.js.map +1 -1
  552. package/build/esm/lib/traits.d.ts +2 -2
  553. package/build/esm/lib/traits.d.ts.map +1 -1
  554. package/build/esm/lib/utils.d.ts +2 -2
  555. package/build/esm/lib/utils.d.ts.map +1 -1
  556. package/build/esm/lib/utils.js +2 -2
  557. package/build/esm/lib/utils.js.map +1 -1
  558. package/package.json +6 -6
@@ -53,9 +53,8 @@ __export(IrrigationCC_exports, {
53
53
  });
54
54
  module.exports = __toCommonJS(IrrigationCC_exports);
55
55
  var __validateArgs = __toESM(require("./IrrigationCC._validateArgs.js"), 1);
56
- var import_safe = require("@zwave-js/core/safe");
57
- var import_safe2 = require("@zwave-js/shared/safe");
58
- var import_safe3 = require("@zwave-js/shared/safe");
56
+ var import_core = require("@zwave-js/core");
57
+ var import_shared = require("@zwave-js/shared");
59
58
  var import_API = require("../lib/API.js");
60
59
  var import_CCValueUtils = require("../lib/CCValueUtils.js");
61
60
  var import_CommandClass = require("../lib/CommandClass.js");
@@ -121,7 +120,7 @@ const valveConfigPropertyKeys = [
121
120
  "useMoistureSensor"
122
121
  ];
123
122
  let IrrigationCCAPI = (() => {
124
- let _classDecorators = [(0, import_CommandClassDecorators.API)(import_safe.CommandClasses.Irrigation)];
123
+ let _classDecorators = [(0, import_CommandClassDecorators.API)(import_core.CommandClasses.Irrigation)];
125
124
  let _classDescriptor;
126
125
  let _classExtraInitializers = [];
127
126
  let _classThis;
@@ -188,7 +187,7 @@ let IrrigationCCAPI = (() => {
188
187
  });
189
188
  const response = await this.host.sendCommand(cc, this.commandOptions);
190
189
  if (response) {
191
- return (0, import_safe3.pick)(response, [
190
+ return (0, import_shared.pick)(response, [
192
191
  "numValves",
193
192
  "numValveTables",
194
193
  "supportsMasterValve",
@@ -205,7 +204,7 @@ let IrrigationCCAPI = (() => {
205
204
  });
206
205
  const response = await this.host.sendCommand(cc, this.commandOptions);
207
206
  if (response) {
208
- return (0, import_safe3.pick)(response, [
207
+ return (0, import_shared.pick)(response, [
209
208
  "systemVoltage",
210
209
  "flowSensorActive",
211
210
  "pressureSensorActive",
@@ -233,7 +232,7 @@ let IrrigationCCAPI = (() => {
233
232
  });
234
233
  const response = await this.host.sendCommand(cc, this.commandOptions);
235
234
  if (response) {
236
- return (0, import_safe3.pick)(response, [
235
+ return (0, import_shared.pick)(response, [
237
236
  "masterValveDelay",
238
237
  "highPressureThreshold",
239
238
  "lowPressureThreshold",
@@ -260,7 +259,7 @@ let IrrigationCCAPI = (() => {
260
259
  });
261
260
  const response = await this.host.sendCommand(cc, this.commandOptions);
262
261
  if (response) {
263
- return (0, import_safe3.pick)(response, [
262
+ return (0, import_shared.pick)(response, [
264
263
  "connected",
265
264
  "nominalCurrent",
266
265
  "errorShortCircuit",
@@ -290,7 +289,7 @@ let IrrigationCCAPI = (() => {
290
289
  });
291
290
  const response = await this.host.sendCommand(cc, this.commandOptions);
292
291
  if (response) {
293
- return (0, import_safe3.pick)(response, [
292
+ return (0, import_shared.pick)(response, [
294
293
  "nominalCurrentHighThreshold",
295
294
  "nominalCurrentLowThreshold",
296
295
  "maximumFlow",
@@ -319,7 +318,7 @@ let IrrigationCCAPI = (() => {
319
318
  if (!this.endpoint.virtual) {
320
319
  const maxValveTableSize = IrrigationCC.getMaxValveTableSizeCached(this.host, this.endpoint);
321
320
  if (maxValveTableSize != void 0 && entries.length > maxValveTableSize) {
322
- throw new import_safe.ZWaveError(`The number of valve table entries must not exceed ${maxValveTableSize}.`, import_safe.ZWaveErrorCodes.Argument_Invalid);
321
+ throw new import_core.ZWaveError(`The number of valve table entries must not exceed ${maxValveTableSize}.`, import_core.ZWaveErrorCodes.Argument_Invalid);
323
322
  }
324
323
  }
325
324
  const cc = new IrrigationCCValveTableSet({
@@ -383,7 +382,7 @@ let IrrigationCCAPI = (() => {
383
382
  };
384
383
  const cachedVal = valueDB.getValue(valueId);
385
384
  if (cachedVal == void 0) {
386
- throw new import_safe.ZWaveError(`The "${property}" property cannot be changed before ${prop} is known!`, import_safe.ZWaveErrorCodes.Argument_Invalid);
385
+ throw new import_core.ZWaveError(`The "${property}" property cannot be changed before ${prop} is known!`, import_core.ZWaveErrorCodes.Argument_Invalid);
387
386
  }
388
387
  options[prop] = cachedVal;
389
388
  }
@@ -410,7 +409,7 @@ let IrrigationCCAPI = (() => {
410
409
  };
411
410
  const cachedVal = valueDB.getValue(valueId);
412
411
  if (cachedVal == void 0) {
413
- throw new import_safe.ZWaveError(`The "${property}_${propertyKey}" property cannot be changed before ${property}_${prop} is known!`, import_safe.ZWaveErrorCodes.Argument_Invalid);
412
+ throw new import_core.ZWaveError(`The "${property}_${propertyKey}" property cannot be changed before ${property}_${prop} is known!`, import_core.ZWaveErrorCodes.Argument_Invalid);
414
413
  }
415
414
  options[prop] = cachedVal;
416
415
  }
@@ -425,7 +424,7 @@ let IrrigationCCAPI = (() => {
425
424
  if (value) {
426
425
  const duration = valueDB.getValue(import_CCValues_generated.IrrigationCCValues.valveRunDuration(property).endpoint(this.endpoint.index));
427
426
  if (duration == void 0) {
428
- throw new import_safe.ZWaveError(`Cannot start a valve run without specifying a duration first!`, import_safe.ZWaveErrorCodes.Argument_Invalid);
427
+ throw new import_core.ZWaveError(`Cannot start a valve run without specifying a duration first!`, import_core.ZWaveErrorCodes.Argument_Invalid);
429
428
  }
430
429
  return this.runValve(property, duration);
431
430
  } else {
@@ -499,7 +498,7 @@ let IrrigationCCAPI = (() => {
499
498
  return IrrigationCCAPI2 = _classThis;
500
499
  })();
501
500
  let IrrigationCC = (() => {
502
- let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_safe.CommandClasses.Irrigation), (0, import_CommandClassDecorators.implementedVersion)(1), (0, import_CommandClassDecorators.ccValues)(import_CCValues_generated.IrrigationCCValues)];
501
+ let _classDecorators = [(0, import_CommandClassDecorators.commandClass)(import_core.CommandClasses.Irrigation), (0, import_CommandClassDecorators.implementedVersion)(1), (0, import_CommandClassDecorators.ccValues)(import_CCValues_generated.IrrigationCCValues)];
503
502
  let _classDescriptor;
504
503
  let _classExtraInitializers = [];
505
504
  let _classThis;
@@ -542,8 +541,8 @@ let IrrigationCC = (() => {
542
541
  async interview(ctx) {
543
542
  const node = this.getNode(ctx);
544
543
  const endpoint = this.getEndpoint(ctx);
545
- const api = import_API.CCAPI.create(import_safe.CommandClasses.Irrigation, ctx, endpoint).withOptions({
546
- priority: import_safe.MessagePriority.NodeQuery
544
+ const api = import_API.CCAPI.create(import_core.CommandClasses.Irrigation, ctx, endpoint).withOptions({
545
+ priority: import_core.MessagePriority.NodeQuery
547
546
  });
548
547
  ctx.logNode(node.id, {
549
548
  endpoint: this.endpointIndex,
@@ -585,8 +584,8 @@ max. valve table size: ${systemInfo.maxValveTableSize}`;
585
584
  async refreshValues(ctx) {
586
585
  const node = this.getNode(ctx);
587
586
  const endpoint = this.getEndpoint(ctx);
588
- const api = import_API.CCAPI.create(import_safe.CommandClasses.Irrigation, ctx, endpoint).withOptions({
589
- priority: import_safe.MessagePriority.NodeQuery
587
+ const api = import_API.CCAPI.create(import_core.CommandClasses.Irrigation, ctx, endpoint).withOptions({
588
+ priority: import_core.MessagePriority.NodeQuery
590
589
  });
591
590
  ctx.logNode(node.id, {
592
591
  endpoint: this.endpointIndex,
@@ -601,11 +600,11 @@ high pressure threshold: ${systemConfig.highPressureThreshold} kPa
601
600
  low pressure threshold: ${systemConfig.lowPressureThreshold} kPa`;
602
601
  if (systemConfig.rainSensorPolarity != void 0) {
603
602
  logMessage += `
604
- rain sensor polarity: ${(0, import_safe3.getEnumMemberName)(import_Types.IrrigationSensorPolarity, systemConfig.rainSensorPolarity)}`;
603
+ rain sensor polarity: ${(0, import_shared.getEnumMemberName)(import_Types.IrrigationSensorPolarity, systemConfig.rainSensorPolarity)}`;
605
604
  }
606
605
  if (systemConfig.moistureSensorPolarity != void 0) {
607
606
  logMessage += `
608
- moisture sensor polarity: ${(0, import_safe3.getEnumMemberName)(import_Types.IrrigationSensorPolarity, systemConfig.moistureSensorPolarity)}`;
607
+ moisture sensor polarity: ${(0, import_shared.getEnumMemberName)(import_Types.IrrigationSensorPolarity, systemConfig.moistureSensorPolarity)}`;
609
608
  }
610
609
  ctx.logNode(node.id, {
611
610
  endpoint: this.endpointIndex,
@@ -687,7 +686,7 @@ let IrrigationCCSystemInfoReport = (() => {
687
686
  this.maxValveTableSize = options.maxValveTableSize;
688
687
  }
689
688
  static from(raw, ctx) {
690
- (0, import_safe.validatePayload)(raw.payload.length >= 4);
689
+ (0, import_core.validatePayload)(raw.payload.length >= 4);
691
690
  const supportsMasterValve = !!(raw.payload[0] & 1);
692
691
  const numValves = raw.payload[1];
693
692
  const numValveTables = raw.payload[2];
@@ -780,7 +779,7 @@ let IrrigationCCSystemStatusReport = (() => {
780
779
  this.firstOpenZoneId = options.firstOpenZoneId;
781
780
  }
782
781
  static from(raw, ctx) {
783
- (0, import_safe.validatePayload)(raw.payload.length >= 2);
782
+ (0, import_core.validatePayload)(raw.payload.length >= 2);
784
783
  const systemVoltage = raw.payload[0];
785
784
  const flowSensorActive = !!(raw.payload[1] & 1);
786
785
  const pressureSensorActive = !!(raw.payload[1] & 2);
@@ -789,21 +788,21 @@ let IrrigationCCSystemStatusReport = (() => {
789
788
  let offset = 2;
790
789
  let flow;
791
790
  {
792
- const { value, scale, bytesRead } = (0, import_safe.parseFloatWithScale)(raw.payload.subarray(offset));
793
- (0, import_safe.validatePayload)(scale === 0);
791
+ const { value, scale, bytesRead } = (0, import_core.parseFloatWithScale)(raw.payload.subarray(offset));
792
+ (0, import_core.validatePayload)(scale === 0);
794
793
  if (flowSensorActive)
795
794
  flow = value;
796
795
  offset += bytesRead;
797
796
  }
798
797
  let pressure;
799
798
  {
800
- const { value, scale, bytesRead } = (0, import_safe.parseFloatWithScale)(raw.payload.subarray(offset));
801
- (0, import_safe.validatePayload)(scale === 0);
799
+ const { value, scale, bytesRead } = (0, import_core.parseFloatWithScale)(raw.payload.subarray(offset));
800
+ (0, import_core.validatePayload)(scale === 0);
802
801
  if (pressureSensorActive)
803
802
  pressure = value;
804
803
  offset += bytesRead;
805
804
  }
806
- (0, import_safe.validatePayload)(raw.payload.length >= offset + 4);
805
+ (0, import_core.validatePayload)(raw.payload.length >= offset + 4);
807
806
  const shutoffDuration = raw.payload[offset];
808
807
  const errorNotProgrammed = !!(raw.payload[offset + 1] & 1);
809
808
  const errorEmergencyShutdown = !!(raw.payload[offset + 1] & 2);
@@ -939,7 +938,7 @@ let IrrigationCCSystemConfigSet = (() => {
939
938
  this.moistureSensorPolarity = options.moistureSensorPolarity;
940
939
  }
941
940
  static from(_raw, _ctx) {
942
- throw new import_safe.ZWaveError(`${this.name}: deserialization not implemented`, import_safe.ZWaveErrorCodes.Deserialization_NotImplemented);
941
+ throw new import_core.ZWaveError(`${this.name}: deserialization not implemented`, import_core.ZWaveErrorCodes.Deserialization_NotImplemented);
943
942
  }
944
943
  masterValveDelay;
945
944
  highPressureThreshold;
@@ -955,19 +954,19 @@ let IrrigationCCSystemConfigSet = (() => {
955
954
  if (this.rainSensorPolarity == void 0 && this.moistureSensorPolarity == void 0) {
956
955
  polarity |= 128;
957
956
  }
958
- this.payload = import_safe2.Bytes.concat([
959
- import_safe2.Bytes.from([this.masterValveDelay]),
960
- (0, import_safe.encodeFloatWithScale)(
957
+ this.payload = import_shared.Bytes.concat([
958
+ import_shared.Bytes.from([this.masterValveDelay]),
959
+ (0, import_core.encodeFloatWithScale)(
961
960
  this.highPressureThreshold,
962
961
  0
963
962
  /* kPa */
964
963
  ),
965
- (0, import_safe.encodeFloatWithScale)(
964
+ (0, import_core.encodeFloatWithScale)(
966
965
  this.lowPressureThreshold,
967
966
  0
968
967
  /* kPa */
969
968
  ),
970
- import_safe2.Bytes.from([polarity])
969
+ import_shared.Bytes.from([polarity])
971
970
  ]);
972
971
  return super.serialize(ctx);
973
972
  }
@@ -978,10 +977,10 @@ let IrrigationCCSystemConfigSet = (() => {
978
977
  "low pressure threshold": `${this.lowPressureThreshold} kPa`
979
978
  };
980
979
  if (this.rainSensorPolarity != void 0) {
981
- message["rain sensor polarity"] = (0, import_safe3.getEnumMemberName)(import_Types.IrrigationSensorPolarity, this.rainSensorPolarity);
980
+ message["rain sensor polarity"] = (0, import_shared.getEnumMemberName)(import_Types.IrrigationSensorPolarity, this.rainSensorPolarity);
982
981
  }
983
982
  if (this.moistureSensorPolarity != void 0) {
984
- message["moisture sensor polarity"] = (0, import_safe3.getEnumMemberName)(import_Types.IrrigationSensorPolarity, this.moistureSensorPolarity);
983
+ message["moisture sensor polarity"] = (0, import_shared.getEnumMemberName)(import_Types.IrrigationSensorPolarity, this.moistureSensorPolarity);
985
984
  }
986
985
  return {
987
986
  ...super.toLogEntry(ctx),
@@ -1020,13 +1019,13 @@ let IrrigationCCSystemConfigReport = (() => {
1020
1019
  this.moistureSensorPolarity = options.moistureSensorPolarity;
1021
1020
  }
1022
1021
  static from(raw, ctx) {
1023
- (0, import_safe.validatePayload)(raw.payload.length >= 2);
1022
+ (0, import_core.validatePayload)(raw.payload.length >= 2);
1024
1023
  const masterValveDelay = raw.payload[0];
1025
1024
  let offset = 1;
1026
1025
  let highPressureThreshold;
1027
1026
  {
1028
- const { value, scale, bytesRead } = (0, import_safe.parseFloatWithScale)(raw.payload.subarray(offset));
1029
- (0, import_safe.validatePayload)(
1027
+ const { value, scale, bytesRead } = (0, import_core.parseFloatWithScale)(raw.payload.subarray(offset));
1028
+ (0, import_core.validatePayload)(
1030
1029
  scale === 0
1031
1030
  /* kPa */
1032
1031
  );
@@ -1035,15 +1034,15 @@ let IrrigationCCSystemConfigReport = (() => {
1035
1034
  }
1036
1035
  let lowPressureThreshold;
1037
1036
  {
1038
- const { value, scale, bytesRead } = (0, import_safe.parseFloatWithScale)(raw.payload.subarray(offset));
1039
- (0, import_safe.validatePayload)(
1037
+ const { value, scale, bytesRead } = (0, import_core.parseFloatWithScale)(raw.payload.subarray(offset));
1038
+ (0, import_core.validatePayload)(
1040
1039
  scale === 0
1041
1040
  /* kPa */
1042
1041
  );
1043
1042
  lowPressureThreshold = value;
1044
1043
  offset += bytesRead;
1045
1044
  }
1046
- (0, import_safe.validatePayload)(raw.payload.length >= offset + 1);
1045
+ (0, import_core.validatePayload)(raw.payload.length >= offset + 1);
1047
1046
  const polarity = raw.payload[offset];
1048
1047
  let rainSensorPolarity;
1049
1048
  let moistureSensorPolarity;
@@ -1072,10 +1071,10 @@ let IrrigationCCSystemConfigReport = (() => {
1072
1071
  "low pressure threshold": `${this.lowPressureThreshold} kPa`
1073
1072
  };
1074
1073
  if (this.rainSensorPolarity != void 0) {
1075
- message["rain sensor polarity"] = (0, import_safe3.getEnumMemberName)(import_Types.IrrigationSensorPolarity, this.rainSensorPolarity);
1074
+ message["rain sensor polarity"] = (0, import_shared.getEnumMemberName)(import_Types.IrrigationSensorPolarity, this.rainSensorPolarity);
1076
1075
  }
1077
1076
  if (this.moistureSensorPolarity != void 0) {
1078
- message["moisture sensor polarity"] = (0, import_safe3.getEnumMemberName)(import_Types.IrrigationSensorPolarity, this.moistureSensorPolarity);
1077
+ message["moisture sensor polarity"] = (0, import_shared.getEnumMemberName)(import_Types.IrrigationSensorPolarity, this.moistureSensorPolarity);
1079
1078
  }
1080
1079
  return {
1081
1080
  ...super.toLogEntry(ctx),
@@ -1141,7 +1140,7 @@ let IrrigationCCValveInfoReport = (() => {
1141
1140
  this.errorLowFlow = options.errorLowFlow;
1142
1141
  }
1143
1142
  static from(raw, ctx) {
1144
- (0, import_safe.validatePayload)(raw.payload.length >= 4);
1143
+ (0, import_core.validatePayload)(raw.payload.length >= 4);
1145
1144
  let valveId;
1146
1145
  if ((raw.payload[0] & 1) === import_Types.ValveType.MasterValve) {
1147
1146
  valveId = "master";
@@ -1273,11 +1272,11 @@ let IrrigationCCValveInfoGet = (() => {
1273
1272
  this.valveId = options.valveId;
1274
1273
  }
1275
1274
  static from(_raw, _ctx) {
1276
- throw new import_safe.ZWaveError(`${this.name}: deserialization not implemented`, import_safe.ZWaveErrorCodes.Deserialization_NotImplemented);
1275
+ throw new import_core.ZWaveError(`${this.name}: deserialization not implemented`, import_core.ZWaveErrorCodes.Deserialization_NotImplemented);
1277
1276
  }
1278
1277
  valveId;
1279
1278
  serialize(ctx) {
1280
- this.payload = import_safe2.Bytes.from([
1279
+ this.payload = import_shared.Bytes.from([
1281
1280
  this.valveId === "master" ? 1 : 0,
1282
1281
  this.valveId === "master" ? 1 : this.valveId || 1
1283
1282
  ]);
@@ -1326,7 +1325,7 @@ let IrrigationCCValveConfigSet = (() => {
1326
1325
  this.useMoistureSensor = options.useMoistureSensor;
1327
1326
  }
1328
1327
  static from(_raw, _ctx) {
1329
- throw new import_safe.ZWaveError(`${this.name}: deserialization not implemented`, import_safe.ZWaveErrorCodes.Deserialization_NotImplemented);
1328
+ throw new import_core.ZWaveError(`${this.name}: deserialization not implemented`, import_core.ZWaveErrorCodes.Deserialization_NotImplemented);
1330
1329
  }
1331
1330
  valveId;
1332
1331
  nominalCurrentHighThreshold;
@@ -1337,29 +1336,29 @@ let IrrigationCCValveConfigSet = (() => {
1337
1336
  useRainSensor;
1338
1337
  useMoistureSensor;
1339
1338
  serialize(ctx) {
1340
- this.payload = import_safe2.Bytes.concat([
1341
- import_safe2.Bytes.from([
1339
+ this.payload = import_shared.Bytes.concat([
1340
+ import_shared.Bytes.from([
1342
1341
  this.valveId === "master" ? 1 : 0,
1343
1342
  this.valveId === "master" ? 1 : this.valveId || 1,
1344
1343
  Math.floor(this.nominalCurrentHighThreshold / 10),
1345
1344
  Math.floor(this.nominalCurrentLowThreshold / 10)
1346
1345
  ]),
1347
- (0, import_safe.encodeFloatWithScale)(
1346
+ (0, import_core.encodeFloatWithScale)(
1348
1347
  this.maximumFlow,
1349
1348
  0
1350
1349
  /* l/h */
1351
1350
  ),
1352
- (0, import_safe.encodeFloatWithScale)(
1351
+ (0, import_core.encodeFloatWithScale)(
1353
1352
  this.highFlowThreshold,
1354
1353
  0
1355
1354
  /* l/h */
1356
1355
  ),
1357
- (0, import_safe.encodeFloatWithScale)(
1356
+ (0, import_core.encodeFloatWithScale)(
1358
1357
  this.lowFlowThreshold,
1359
1358
  0
1360
1359
  /* l/h */
1361
1360
  ),
1362
- import_safe2.Bytes.from([
1361
+ import_shared.Bytes.from([
1363
1362
  (this.useRainSensor ? 1 : 0) | (this.useMoistureSensor ? 2 : 0)
1364
1363
  ])
1365
1364
  ]);
@@ -1415,7 +1414,7 @@ let IrrigationCCValveConfigReport = (() => {
1415
1414
  this.useMoistureSensor = options.useMoistureSensor;
1416
1415
  }
1417
1416
  static from(raw, ctx) {
1418
- (0, import_safe.validatePayload)(raw.payload.length >= 4);
1417
+ (0, import_core.validatePayload)(raw.payload.length >= 4);
1419
1418
  let valveId;
1420
1419
  if ((raw.payload[0] & 1) === import_Types.ValveType.MasterValve) {
1421
1420
  valveId = "master";
@@ -1427,8 +1426,8 @@ let IrrigationCCValveConfigReport = (() => {
1427
1426
  let offset = 4;
1428
1427
  let maximumFlow;
1429
1428
  {
1430
- const { value, scale, bytesRead } = (0, import_safe.parseFloatWithScale)(raw.payload.subarray(offset));
1431
- (0, import_safe.validatePayload)(
1429
+ const { value, scale, bytesRead } = (0, import_core.parseFloatWithScale)(raw.payload.subarray(offset));
1430
+ (0, import_core.validatePayload)(
1432
1431
  scale === 0
1433
1432
  /* l/h */
1434
1433
  );
@@ -1437,8 +1436,8 @@ let IrrigationCCValveConfigReport = (() => {
1437
1436
  }
1438
1437
  let highFlowThreshold;
1439
1438
  {
1440
- const { value, scale, bytesRead } = (0, import_safe.parseFloatWithScale)(raw.payload.subarray(offset));
1441
- (0, import_safe.validatePayload)(
1439
+ const { value, scale, bytesRead } = (0, import_core.parseFloatWithScale)(raw.payload.subarray(offset));
1440
+ (0, import_core.validatePayload)(
1442
1441
  scale === 0
1443
1442
  /* l/h */
1444
1443
  );
@@ -1447,15 +1446,15 @@ let IrrigationCCValveConfigReport = (() => {
1447
1446
  }
1448
1447
  let lowFlowThreshold;
1449
1448
  {
1450
- const { value, scale, bytesRead } = (0, import_safe.parseFloatWithScale)(raw.payload.subarray(offset));
1451
- (0, import_safe.validatePayload)(
1449
+ const { value, scale, bytesRead } = (0, import_core.parseFloatWithScale)(raw.payload.subarray(offset));
1450
+ (0, import_core.validatePayload)(
1452
1451
  scale === 0
1453
1452
  /* l/h */
1454
1453
  );
1455
1454
  lowFlowThreshold = value;
1456
1455
  offset += bytesRead;
1457
1456
  }
1458
- (0, import_safe.validatePayload)(raw.payload.length >= offset + 1);
1457
+ (0, import_core.validatePayload)(raw.payload.length >= offset + 1);
1459
1458
  const useRainSensor = !!(raw.payload[offset] & 1);
1460
1459
  const useMoistureSensor = !!(raw.payload[offset] & 2);
1461
1460
  return new this({
@@ -1547,11 +1546,11 @@ let IrrigationCCValveConfigGet = (() => {
1547
1546
  this.valveId = options.valveId;
1548
1547
  }
1549
1548
  static from(_raw, _ctx) {
1550
- throw new import_safe.ZWaveError(`${this.name}: deserialization not implemented`, import_safe.ZWaveErrorCodes.Deserialization_NotImplemented);
1549
+ throw new import_core.ZWaveError(`${this.name}: deserialization not implemented`, import_core.ZWaveErrorCodes.Deserialization_NotImplemented);
1551
1550
  }
1552
1551
  valveId;
1553
1552
  serialize(ctx) {
1554
- this.payload = import_safe2.Bytes.from([
1553
+ this.payload = import_shared.Bytes.from([
1555
1554
  this.valveId === "master" ? 1 : 0,
1556
1555
  this.valveId === "master" ? 1 : this.valveId || 1
1557
1556
  ]);
@@ -1594,12 +1593,12 @@ let IrrigationCCValveRun = (() => {
1594
1593
  this.duration = options.duration;
1595
1594
  }
1596
1595
  static from(_raw, _ctx) {
1597
- throw new import_safe.ZWaveError(`${this.name}: deserialization not implemented`, import_safe.ZWaveErrorCodes.Deserialization_NotImplemented);
1596
+ throw new import_core.ZWaveError(`${this.name}: deserialization not implemented`, import_core.ZWaveErrorCodes.Deserialization_NotImplemented);
1598
1597
  }
1599
1598
  valveId;
1600
1599
  duration;
1601
1600
  serialize(ctx) {
1602
- this.payload = import_safe2.Bytes.from([
1601
+ this.payload = import_shared.Bytes.from([
1603
1602
  this.valveId === "master" ? 1 : 0,
1604
1603
  this.valveId === "master" ? 1 : this.valveId || 1,
1605
1604
  0,
@@ -1651,12 +1650,12 @@ let IrrigationCCValveTableSet = (() => {
1651
1650
  this.entries = options.entries;
1652
1651
  }
1653
1652
  static from(_raw, _ctx) {
1654
- throw new import_safe.ZWaveError(`${this.name}: deserialization not implemented`, import_safe.ZWaveErrorCodes.Deserialization_NotImplemented);
1653
+ throw new import_core.ZWaveError(`${this.name}: deserialization not implemented`, import_core.ZWaveErrorCodes.Deserialization_NotImplemented);
1655
1654
  }
1656
1655
  tableId;
1657
1656
  entries;
1658
1657
  serialize(ctx) {
1659
- this.payload = new import_safe2.Bytes(1 + this.entries.length * 3);
1658
+ this.payload = new import_shared.Bytes(1 + this.entries.length * 3);
1660
1659
  this.payload[0] = this.tableId;
1661
1660
  for (let i = 0; i < this.entries.length; i++) {
1662
1661
  const entry = this.entries[i];
@@ -1713,7 +1712,7 @@ let IrrigationCCValveTableReport = (() => {
1713
1712
  this.entries = options.entries;
1714
1713
  }
1715
1714
  static from(raw, ctx) {
1716
- (0, import_safe.validatePayload)((raw.payload.length - 1) % 3 === 0);
1715
+ (0, import_core.validatePayload)((raw.payload.length - 1) % 3 === 0);
1717
1716
  const tableId = raw.payload[0];
1718
1717
  const entries = [];
1719
1718
  for (let offset = 1; offset < raw.payload.length; offset += 3) {
@@ -1780,11 +1779,11 @@ let IrrigationCCValveTableGet = (() => {
1780
1779
  this.tableId = options.tableId;
1781
1780
  }
1782
1781
  static from(_raw, _ctx) {
1783
- throw new import_safe.ZWaveError(`${this.name}: deserialization not implemented`, import_safe.ZWaveErrorCodes.Deserialization_NotImplemented);
1782
+ throw new import_core.ZWaveError(`${this.name}: deserialization not implemented`, import_core.ZWaveErrorCodes.Deserialization_NotImplemented);
1784
1783
  }
1785
1784
  tableId;
1786
1785
  serialize(ctx) {
1787
- this.payload = import_safe2.Bytes.from([this.tableId]);
1786
+ this.payload = import_shared.Bytes.from([this.tableId]);
1788
1787
  return super.serialize(ctx);
1789
1788
  }
1790
1789
  toLogEntry(ctx) {
@@ -1822,15 +1821,15 @@ let IrrigationCCValveTableRun = (() => {
1822
1821
  super(options);
1823
1822
  this.tableIDs = options.tableIDs;
1824
1823
  if (this.tableIDs.length < 1) {
1825
- throw new import_safe.ZWaveError(`${this.constructor.name}: At least one table ID must be specified.`, import_safe.ZWaveErrorCodes.Argument_Invalid);
1824
+ throw new import_core.ZWaveError(`${this.constructor.name}: At least one table ID must be specified.`, import_core.ZWaveErrorCodes.Argument_Invalid);
1826
1825
  }
1827
1826
  }
1828
1827
  static from(_raw, _ctx) {
1829
- throw new import_safe.ZWaveError(`${this.name}: deserialization not implemented`, import_safe.ZWaveErrorCodes.Deserialization_NotImplemented);
1828
+ throw new import_core.ZWaveError(`${this.name}: deserialization not implemented`, import_core.ZWaveErrorCodes.Deserialization_NotImplemented);
1830
1829
  }
1831
1830
  tableIDs;
1832
1831
  serialize(ctx) {
1833
- this.payload = import_safe2.Bytes.from(this.tableIDs);
1832
+ this.payload = import_shared.Bytes.from(this.tableIDs);
1834
1833
  return super.serialize(ctx);
1835
1834
  }
1836
1835
  toLogEntry(ctx) {
@@ -1869,11 +1868,11 @@ let IrrigationCCSystemShutoff = (() => {
1869
1868
  this.duration = options.duration;
1870
1869
  }
1871
1870
  static from(_raw, _ctx) {
1872
- throw new import_safe.ZWaveError(`${this.name}: deserialization not implemented`, import_safe.ZWaveErrorCodes.Deserialization_NotImplemented);
1871
+ throw new import_core.ZWaveError(`${this.name}: deserialization not implemented`, import_core.ZWaveErrorCodes.Deserialization_NotImplemented);
1873
1872
  }
1874
1873
  duration;
1875
1874
  serialize(ctx) {
1876
- this.payload = import_safe2.Bytes.from([this.duration ?? 255]);
1875
+ this.payload = import_shared.Bytes.from([this.duration ?? 255]);
1877
1876
  return super.serialize(ctx);
1878
1877
  }
1879
1878
  toLogEntry(ctx) {