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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/build/cjs/cc/AlarmSensorCC.d.ts +79 -161
  2. package/build/cjs/cc/AlarmSensorCC.js +12 -50
  3. package/build/cjs/cc/AlarmSensorCC.js.map +2 -2
  4. package/build/cjs/cc/AssociationCC.d.ts +63 -199
  5. package/build/cjs/cc/AssociationCC.js +9 -22
  6. package/build/cjs/cc/AssociationCC.js.map +2 -2
  7. package/build/cjs/cc/AssociationGroupInfoCC.d.ts +66 -166
  8. package/build/cjs/cc/AssociationGroupInfoCC.js +11 -22
  9. package/build/cjs/cc/AssociationGroupInfoCC.js.map +2 -2
  10. package/build/cjs/cc/BarrierOperatorCC.d.ts +86 -294
  11. package/build/cjs/cc/BarrierOperatorCC.js +12 -44
  12. package/build/cjs/cc/BarrierOperatorCC.js.map +2 -2
  13. package/build/cjs/cc/BasicCC.d.ts +85 -331
  14. package/build/cjs/cc/BasicCC.js +15 -46
  15. package/build/cjs/cc/BasicCC.js.map +2 -2
  16. package/build/cjs/cc/BatteryCC.d.ts +237 -835
  17. package/build/cjs/cc/BatteryCC.js +7 -84
  18. package/build/cjs/cc/BatteryCC.js.map +2 -2
  19. package/build/cjs/cc/BinarySensorCC.d.ts +34 -99
  20. package/build/cjs/cc/BinarySensorCC.js +9 -29
  21. package/build/cjs/cc/BinarySensorCC.js.map +2 -2
  22. package/build/cjs/cc/BinarySwitchCC.d.ts +45 -197
  23. package/build/cjs/cc/BinarySwitchCC.js +6 -22
  24. package/build/cjs/cc/BinarySwitchCC.js.map +2 -2
  25. package/build/cjs/cc/CentralSceneCC.d.ts +77 -296
  26. package/build/cjs/cc/CentralSceneCC.js +7 -30
  27. package/build/cjs/cc/CentralSceneCC.js.map +2 -2
  28. package/build/cjs/cc/ClimateControlScheduleCC.d.ts +45 -160
  29. package/build/cjs/cc/ClimateControlScheduleCC.js +5 -24
  30. package/build/cjs/cc/ClimateControlScheduleCC.js.map +2 -2
  31. package/build/cjs/cc/ColorSwitchCC.d.ts +130 -457
  32. package/build/cjs/cc/ColorSwitchCC.js +23 -75
  33. package/build/cjs/cc/ColorSwitchCC.js.map +2 -2
  34. package/build/cjs/cc/ConfigurationCC.d.ts +32 -100
  35. package/build/cjs/cc/ConfigurationCC.js +11 -31
  36. package/build/cjs/cc/ConfigurationCC.js.map +2 -2
  37. package/build/cjs/cc/DoorLockCC.d.ts +512 -1823
  38. package/build/cjs/cc/DoorLockCC.js +51 -156
  39. package/build/cjs/cc/DoorLockCC.js.map +2 -2
  40. package/build/cjs/cc/DoorLockLoggingCC.d.ts +11 -63
  41. package/build/cjs/cc/DoorLockLoggingCC.js +4 -8
  42. package/build/cjs/cc/DoorLockLoggingCC.js.map +2 -2
  43. package/build/cjs/cc/EnergyProductionCC.d.ts +14 -29
  44. package/build/cjs/cc/EnergyProductionCC.js +5 -17
  45. package/build/cjs/cc/EnergyProductionCC.js.map +2 -2
  46. package/build/cjs/cc/EntryControlCC.d.ts +73 -324
  47. package/build/cjs/cc/EntryControlCC.js +9 -36
  48. package/build/cjs/cc/EntryControlCC.js.map +2 -2
  49. package/build/cjs/cc/FirmwareUpdateMetaDataCC.d.ts +78 -390
  50. package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +5 -26
  51. package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +2 -2
  52. package/build/cjs/cc/HumidityControlModeCC.d.ts +31 -131
  53. package/build/cjs/cc/HumidityControlModeCC.js +6 -15
  54. package/build/cjs/cc/HumidityControlModeCC.js.map +2 -2
  55. package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +17 -65
  56. package/build/cjs/cc/HumidityControlOperatingStateCC.js +4 -12
  57. package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +2 -2
  58. package/build/cjs/cc/HumidityControlSetpointCC.d.ts +51 -128
  59. package/build/cjs/cc/HumidityControlSetpointCC.js +10 -28
  60. package/build/cjs/cc/HumidityControlSetpointCC.js.map +2 -2
  61. package/build/cjs/cc/IndicatorCC.d.ts +123 -365
  62. package/build/cjs/cc/IndicatorCC.js +15 -61
  63. package/build/cjs/cc/IndicatorCC.js.map +2 -2
  64. package/build/cjs/cc/IrrigationCC.d.ts +826 -2317
  65. package/build/cjs/cc/IrrigationCC.js +29 -233
  66. package/build/cjs/cc/IrrigationCC.js.map +2 -2
  67. package/build/cjs/cc/LanguageCC.d.ts +31 -133
  68. package/build/cjs/cc/LanguageCC.js +4 -15
  69. package/build/cjs/cc/LanguageCC.js.map +2 -2
  70. package/build/cjs/cc/LockCC.d.ts +14 -64
  71. package/build/cjs/cc/LockCC.js +4 -12
  72. package/build/cjs/cc/LockCC.js.map +2 -2
  73. package/build/cjs/cc/ManufacturerProprietaryCC.js.map +2 -2
  74. package/build/cjs/cc/ManufacturerSpecificCC.d.ts +77 -239
  75. package/build/cjs/cc/ManufacturerSpecificCC.js +5 -26
  76. package/build/cjs/cc/ManufacturerSpecificCC.js.map +2 -2
  77. package/build/cjs/cc/MeterCC.d.ts +119 -393
  78. package/build/cjs/cc/MeterCC.js +25 -69
  79. package/build/cjs/cc/MeterCC.js.map +2 -2
  80. package/build/cjs/cc/MultiChannelAssociationCC.d.ts +66 -166
  81. package/build/cjs/cc/MultiChannelAssociationCC.js +10 -23
  82. package/build/cjs/cc/MultiChannelAssociationCC.js.map +2 -2
  83. package/build/cjs/cc/MultiChannelCC.d.ts +119 -499
  84. package/build/cjs/cc/MultiChannelCC.js +18 -46
  85. package/build/cjs/cc/MultiChannelCC.js.map +2 -2
  86. package/build/cjs/cc/MultilevelSensorCC.d.ts +46 -130
  87. package/build/cjs/cc/MultilevelSensorCC.js +12 -33
  88. package/build/cjs/cc/MultilevelSensorCC.js.map +2 -2
  89. package/build/cjs/cc/MultilevelSwitchCC.d.ts +160 -525
  90. package/build/cjs/cc/MultilevelSwitchCC.js +13 -107
  91. package/build/cjs/cc/MultilevelSwitchCC.js.map +2 -2
  92. package/build/cjs/cc/NodeNamingCC.d.ts +33 -135
  93. package/build/cjs/cc/NodeNamingCC.js +5 -16
  94. package/build/cjs/cc/NodeNamingCC.js.map +2 -2
  95. package/build/cjs/cc/NotificationCC.d.ts +262 -702
  96. package/build/cjs/cc/NotificationCC.js +29 -112
  97. package/build/cjs/cc/NotificationCC.js.map +2 -2
  98. package/build/cjs/cc/ProtectionCC.d.ts +118 -524
  99. package/build/cjs/cc/ProtectionCC.js +15 -50
  100. package/build/cjs/cc/ProtectionCC.js.map +2 -2
  101. package/build/cjs/cc/SceneActivationCC.d.ts +33 -132
  102. package/build/cjs/cc/SceneActivationCC.js +4 -17
  103. package/build/cjs/cc/SceneActivationCC.js.map +2 -2
  104. package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +34 -61
  105. package/build/cjs/cc/SceneActuatorConfigurationCC.js +9 -21
  106. package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +2 -2
  107. package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +34 -61
  108. package/build/cjs/cc/SceneControllerConfigurationCC.js +10 -22
  109. package/build/cjs/cc/SceneControllerConfigurationCC.js.map +2 -2
  110. package/build/cjs/cc/ScheduleEntryLockCC.d.ts +95 -299
  111. package/build/cjs/cc/ScheduleEntryLockCC.js +13 -30
  112. package/build/cjs/cc/ScheduleEntryLockCC.js.map +2 -2
  113. package/build/cjs/cc/SoundSwitchCC.d.ts +72 -261
  114. package/build/cjs/cc/SoundSwitchCC.js +11 -43
  115. package/build/cjs/cc/SoundSwitchCC.js.map +2 -2
  116. package/build/cjs/cc/SupervisionCC.d.ts +17 -33
  117. package/build/cjs/cc/SupervisionCC.js +4 -9
  118. package/build/cjs/cc/SupervisionCC.js.map +2 -2
  119. package/build/cjs/cc/ThermostatFanModeCC.d.ts +44 -195
  120. package/build/cjs/cc/ThermostatFanModeCC.js +8 -21
  121. package/build/cjs/cc/ThermostatFanModeCC.js.map +2 -2
  122. package/build/cjs/cc/ThermostatFanStateCC.d.ts +17 -65
  123. package/build/cjs/cc/ThermostatFanStateCC.js +4 -12
  124. package/build/cjs/cc/ThermostatFanStateCC.js.map +2 -2
  125. package/build/cjs/cc/ThermostatModeCC.d.ts +44 -195
  126. package/build/cjs/cc/ThermostatModeCC.js +8 -21
  127. package/build/cjs/cc/ThermostatModeCC.js.map +2 -2
  128. package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +17 -65
  129. package/build/cjs/cc/ThermostatOperatingStateCC.js +4 -12
  130. package/build/cjs/cc/ThermostatOperatingStateCC.js.map +2 -2
  131. package/build/cjs/cc/ThermostatSetpointCC.d.ts +49 -129
  132. package/build/cjs/cc/ThermostatSetpointCC.js +10 -25
  133. package/build/cjs/cc/ThermostatSetpointCC.js.map +2 -2
  134. package/build/cjs/cc/TimeParametersCC.d.ts +12 -63
  135. package/build/cjs/cc/TimeParametersCC.js +4 -11
  136. package/build/cjs/cc/TimeParametersCC.js.map +2 -2
  137. package/build/cjs/cc/UserCodeCC.d.ts +311 -1066
  138. package/build/cjs/cc/UserCodeCC.js +33 -98
  139. package/build/cjs/cc/UserCodeCC.js.map +2 -2
  140. package/build/cjs/cc/VersionCC.d.ts +289 -1003
  141. package/build/cjs/cc/VersionCC.js +7 -98
  142. package/build/cjs/cc/VersionCC.js.map +2 -2
  143. package/build/cjs/cc/WakeUpCC.d.ts +49 -201
  144. package/build/cjs/cc/WakeUpCC.js +6 -26
  145. package/build/cjs/cc/WakeUpCC.js.map +2 -2
  146. package/build/cjs/cc/WindowCoveringCC.d.ts +126 -220
  147. package/build/cjs/cc/WindowCoveringCC.js +16 -128
  148. package/build/cjs/cc/WindowCoveringCC.js.map +2 -2
  149. package/build/cjs/cc/ZWavePlusCC.d.ts +69 -329
  150. package/build/cjs/cc/ZWavePlusCC.js +4 -25
  151. package/build/cjs/cc/ZWavePlusCC.js.map +2 -2
  152. package/build/cjs/cc/_CCValues.generated.d.ts +15814 -0
  153. package/build/cjs/cc/_CCValues.generated.js +8723 -0
  154. package/build/cjs/cc/_CCValues.generated.js.map +7 -0
  155. package/build/cjs/lib/CCValueUtils.d.ts +14 -0
  156. package/build/cjs/lib/CCValueUtils.js +93 -0
  157. package/build/cjs/lib/CCValueUtils.js.map +7 -0
  158. package/build/cjs/lib/Values.d.ts +6 -105
  159. package/build/cjs/lib/Values.js +13 -107
  160. package/build/cjs/lib/Values.js.map +3 -3
  161. package/build/esm/cc/AlarmSensorCC.d.ts +79 -161
  162. package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -1
  163. package/build/esm/cc/AlarmSensorCC.js +2 -39
  164. package/build/esm/cc/AlarmSensorCC.js.map +1 -1
  165. package/build/esm/cc/AssociationCC.d.ts +63 -199
  166. package/build/esm/cc/AssociationCC.d.ts.map +1 -1
  167. package/build/esm/cc/AssociationCC.js +2 -14
  168. package/build/esm/cc/AssociationCC.js.map +1 -1
  169. package/build/esm/cc/AssociationGroupInfoCC.d.ts +66 -166
  170. package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -1
  171. package/build/esm/cc/AssociationGroupInfoCC.js +2 -13
  172. package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -1
  173. package/build/esm/cc/BarrierOperatorCC.d.ts +86 -294
  174. package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -1
  175. package/build/esm/cc/BarrierOperatorCC.js +2 -34
  176. package/build/esm/cc/BarrierOperatorCC.js.map +1 -1
  177. package/build/esm/cc/BasicCC.d.ts +85 -331
  178. package/build/esm/cc/BasicCC.d.ts.map +1 -1
  179. package/build/esm/cc/BasicCC.js +2 -32
  180. package/build/esm/cc/BasicCC.js.map +1 -1
  181. package/build/esm/cc/BatteryCC.d.ts +237 -835
  182. package/build/esm/cc/BatteryCC.d.ts.map +1 -1
  183. package/build/esm/cc/BatteryCC.js +2 -78
  184. package/build/esm/cc/BatteryCC.js.map +1 -1
  185. package/build/esm/cc/BinarySensorCC.d.ts +34 -99
  186. package/build/esm/cc/BinarySensorCC.d.ts.map +1 -1
  187. package/build/esm/cc/BinarySensorCC.js +2 -16
  188. package/build/esm/cc/BinarySensorCC.js.map +1 -1
  189. package/build/esm/cc/BinarySwitchCC.d.ts +45 -197
  190. package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -1
  191. package/build/esm/cc/BinarySwitchCC.js +2 -17
  192. package/build/esm/cc/BinarySwitchCC.js.map +1 -1
  193. package/build/esm/cc/CentralSceneCC.d.ts +77 -296
  194. package/build/esm/cc/CentralSceneCC.d.ts.map +1 -1
  195. package/build/esm/cc/CentralSceneCC.js +2 -26
  196. package/build/esm/cc/CentralSceneCC.js.map +1 -1
  197. package/build/esm/cc/ClimateControlScheduleCC.d.ts +45 -160
  198. package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -1
  199. package/build/esm/cc/ClimateControlScheduleCC.js +2 -23
  200. package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -1
  201. package/build/esm/cc/ColorSwitchCC.d.ts +130 -457
  202. package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -1
  203. package/build/esm/cc/ColorSwitchCC.js +2 -52
  204. package/build/esm/cc/ColorSwitchCC.js.map +1 -1
  205. package/build/esm/cc/ConfigurationCC.d.ts +32 -100
  206. package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
  207. package/build/esm/cc/ConfigurationCC.js +2 -15
  208. package/build/esm/cc/ConfigurationCC.js.map +1 -1
  209. package/build/esm/cc/DoorLockCC.d.ts +512 -1823
  210. package/build/esm/cc/DoorLockCC.d.ts.map +1 -1
  211. package/build/esm/cc/DoorLockCC.js +9 -127
  212. package/build/esm/cc/DoorLockCC.js.map +1 -1
  213. package/build/esm/cc/DoorLockLoggingCC.d.ts +11 -63
  214. package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -1
  215. package/build/esm/cc/DoorLockLoggingCC.js +2 -5
  216. package/build/esm/cc/DoorLockLoggingCC.js.map +1 -1
  217. package/build/esm/cc/EnergyProductionCC.d.ts +14 -29
  218. package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -1
  219. package/build/esm/cc/EnergyProductionCC.js +2 -13
  220. package/build/esm/cc/EnergyProductionCC.js.map +1 -1
  221. package/build/esm/cc/EntryControlCC.d.ts +73 -324
  222. package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
  223. package/build/esm/cc/EntryControlCC.js +2 -28
  224. package/build/esm/cc/EntryControlCC.js.map +1 -1
  225. package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts +78 -390
  226. package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
  227. package/build/esm/cc/FirmwareUpdateMetaDataCC.js +2 -23
  228. package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
  229. package/build/esm/cc/HumidityControlModeCC.d.ts +31 -131
  230. package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -1
  231. package/build/esm/cc/HumidityControlModeCC.js +2 -10
  232. package/build/esm/cc/HumidityControlModeCC.js.map +1 -1
  233. package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +17 -65
  234. package/build/esm/cc/HumidityControlOperatingStateCC.d.ts.map +1 -1
  235. package/build/esm/cc/HumidityControlOperatingStateCC.js +2 -9
  236. package/build/esm/cc/HumidityControlOperatingStateCC.js.map +1 -1
  237. package/build/esm/cc/HumidityControlSetpointCC.d.ts +51 -128
  238. package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -1
  239. package/build/esm/cc/HumidityControlSetpointCC.js +2 -19
  240. package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -1
  241. package/build/esm/cc/IndicatorCC.d.ts +123 -365
  242. package/build/esm/cc/IndicatorCC.d.ts.map +1 -1
  243. package/build/esm/cc/IndicatorCC.js +2 -43
  244. package/build/esm/cc/IndicatorCC.js.map +1 -1
  245. package/build/esm/cc/IrrigationCC.d.ts +826 -2317
  246. package/build/esm/cc/IrrigationCC.d.ts.map +1 -1
  247. package/build/esm/cc/IrrigationCC.js +3 -222
  248. package/build/esm/cc/IrrigationCC.js.map +1 -1
  249. package/build/esm/cc/LanguageCC.d.ts +31 -133
  250. package/build/esm/cc/LanguageCC.d.ts.map +1 -1
  251. package/build/esm/cc/LanguageCC.js +2 -12
  252. package/build/esm/cc/LanguageCC.js.map +1 -1
  253. package/build/esm/cc/LockCC.d.ts +14 -64
  254. package/build/esm/cc/LockCC.d.ts.map +1 -1
  255. package/build/esm/cc/LockCC.js +2 -9
  256. package/build/esm/cc/LockCC.js.map +1 -1
  257. package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
  258. package/build/esm/cc/ManufacturerProprietaryCC.js +0 -1
  259. package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -1
  260. package/build/esm/cc/ManufacturerSpecificCC.d.ts +77 -239
  261. package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -1
  262. package/build/esm/cc/ManufacturerSpecificCC.js +2 -24
  263. package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -1
  264. package/build/esm/cc/MeterCC.d.ts +119 -393
  265. package/build/esm/cc/MeterCC.d.ts.map +1 -1
  266. package/build/esm/cc/MeterCC.js +3 -49
  267. package/build/esm/cc/MeterCC.js.map +1 -1
  268. package/build/esm/cc/MultiChannelAssociationCC.d.ts +66 -166
  269. package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -1
  270. package/build/esm/cc/MultiChannelAssociationCC.js +2 -14
  271. package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -1
  272. package/build/esm/cc/MultiChannelCC.d.ts +119 -499
  273. package/build/esm/cc/MultiChannelCC.d.ts.map +1 -1
  274. package/build/esm/cc/MultiChannelCC.js +2 -30
  275. package/build/esm/cc/MultiChannelCC.js.map +1 -1
  276. package/build/esm/cc/MultilevelSensorCC.d.ts +46 -130
  277. package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -1
  278. package/build/esm/cc/MultilevelSensorCC.js +2 -22
  279. package/build/esm/cc/MultilevelSensorCC.js.map +1 -1
  280. package/build/esm/cc/MultilevelSwitchCC.d.ts +160 -525
  281. package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -1
  282. package/build/esm/cc/MultilevelSwitchCC.js +5 -101
  283. package/build/esm/cc/MultilevelSwitchCC.js.map +1 -1
  284. package/build/esm/cc/NodeNamingCC.d.ts +33 -135
  285. package/build/esm/cc/NodeNamingCC.d.ts.map +1 -1
  286. package/build/esm/cc/NodeNamingCC.js +2 -12
  287. package/build/esm/cc/NodeNamingCC.js.map +1 -1
  288. package/build/esm/cc/NotificationCC.d.ts +262 -702
  289. package/build/esm/cc/NotificationCC.d.ts.map +1 -1
  290. package/build/esm/cc/NotificationCC.js +3 -85
  291. package/build/esm/cc/NotificationCC.js.map +1 -1
  292. package/build/esm/cc/ProtectionCC.d.ts +118 -524
  293. package/build/esm/cc/ProtectionCC.d.ts.map +1 -1
  294. package/build/esm/cc/ProtectionCC.js +2 -36
  295. package/build/esm/cc/ProtectionCC.js.map +1 -1
  296. package/build/esm/cc/SceneActivationCC.d.ts +33 -132
  297. package/build/esm/cc/SceneActivationCC.d.ts.map +1 -1
  298. package/build/esm/cc/SceneActivationCC.js +2 -14
  299. package/build/esm/cc/SceneActivationCC.js.map +1 -1
  300. package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +34 -61
  301. package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
  302. package/build/esm/cc/SceneActuatorConfigurationCC.js +2 -14
  303. package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -1
  304. package/build/esm/cc/SceneControllerConfigurationCC.d.ts +34 -61
  305. package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
  306. package/build/esm/cc/SceneControllerConfigurationCC.js +2 -14
  307. package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -1
  308. package/build/esm/cc/ScheduleEntryLockCC.d.ts +95 -299
  309. package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -1
  310. package/build/esm/cc/ScheduleEntryLockCC.js +2 -17
  311. package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -1
  312. package/build/esm/cc/SoundSwitchCC.d.ts +72 -261
  313. package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -1
  314. package/build/esm/cc/SoundSwitchCC.js +2 -33
  315. package/build/esm/cc/SoundSwitchCC.js.map +1 -1
  316. package/build/esm/cc/SupervisionCC.d.ts +17 -33
  317. package/build/esm/cc/SupervisionCC.d.ts.map +1 -1
  318. package/build/esm/cc/SupervisionCC.js +2 -7
  319. package/build/esm/cc/SupervisionCC.js.map +1 -1
  320. package/build/esm/cc/ThermostatFanModeCC.d.ts +44 -195
  321. package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -1
  322. package/build/esm/cc/ThermostatFanModeCC.js +2 -14
  323. package/build/esm/cc/ThermostatFanModeCC.js.map +1 -1
  324. package/build/esm/cc/ThermostatFanStateCC.d.ts +17 -65
  325. package/build/esm/cc/ThermostatFanStateCC.d.ts.map +1 -1
  326. package/build/esm/cc/ThermostatFanStateCC.js +2 -9
  327. package/build/esm/cc/ThermostatFanStateCC.js.map +1 -1
  328. package/build/esm/cc/ThermostatModeCC.d.ts +44 -195
  329. package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -1
  330. package/build/esm/cc/ThermostatModeCC.js +2 -14
  331. package/build/esm/cc/ThermostatModeCC.js.map +1 -1
  332. package/build/esm/cc/ThermostatOperatingStateCC.d.ts +17 -65
  333. package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -1
  334. package/build/esm/cc/ThermostatOperatingStateCC.js +2 -9
  335. package/build/esm/cc/ThermostatOperatingStateCC.js.map +1 -1
  336. package/build/esm/cc/ThermostatSetpointCC.d.ts +49 -129
  337. package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -1
  338. package/build/esm/cc/ThermostatSetpointCC.js +2 -16
  339. package/build/esm/cc/ThermostatSetpointCC.js.map +1 -1
  340. package/build/esm/cc/TimeParametersCC.d.ts +12 -63
  341. package/build/esm/cc/TimeParametersCC.d.ts.map +1 -1
  342. package/build/esm/cc/TimeParametersCC.js +2 -8
  343. package/build/esm/cc/TimeParametersCC.js.map +1 -1
  344. package/build/esm/cc/UserCodeCC.d.ts +311 -1066
  345. package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
  346. package/build/esm/cc/UserCodeCC.js +2 -60
  347. package/build/esm/cc/UserCodeCC.js.map +1 -1
  348. package/build/esm/cc/VersionCC.d.ts +289 -1003
  349. package/build/esm/cc/VersionCC.d.ts.map +1 -1
  350. package/build/esm/cc/VersionCC.js +2 -92
  351. package/build/esm/cc/VersionCC.js.map +1 -1
  352. package/build/esm/cc/WakeUpCC.d.ts +49 -201
  353. package/build/esm/cc/WakeUpCC.d.ts.map +1 -1
  354. package/build/esm/cc/WakeUpCC.js +2 -21
  355. package/build/esm/cc/WakeUpCC.js.map +1 -1
  356. package/build/esm/cc/WindowCoveringCC.d.ts +126 -220
  357. package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -1
  358. package/build/esm/cc/WindowCoveringCC.js +3 -103
  359. package/build/esm/cc/WindowCoveringCC.js.map +1 -1
  360. package/build/esm/cc/ZWavePlusCC.d.ts +69 -329
  361. package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -1
  362. package/build/esm/cc/ZWavePlusCC.js +2 -25
  363. package/build/esm/cc/ZWavePlusCC.js.map +1 -1
  364. package/build/esm/cc/_CCValues.generated.d.ts +15814 -0
  365. package/build/esm/cc/_CCValues.generated.d.ts.map +1 -0
  366. package/build/esm/cc/_CCValues.generated.js +9187 -0
  367. package/build/esm/cc/_CCValues.generated.js.map +1 -0
  368. package/build/esm/lib/CCValueUtils.d.ts +14 -0
  369. package/build/esm/lib/CCValueUtils.d.ts.map +1 -0
  370. package/build/esm/lib/CCValueUtils.js +62 -0
  371. package/build/esm/lib/CCValueUtils.js.map +1 -0
  372. package/build/esm/lib/Values.d.ts +6 -105
  373. package/build/esm/lib/Values.d.ts.map +1 -1
  374. package/build/esm/lib/Values.js +7 -104
  375. package/build/esm/lib/Values.js.map +1 -1
  376. package/package.json +9 -7
@@ -1,50 +1,31 @@
1
1
  import { type CCEncodingContext, type CCParsingContext } from "@zwave-js/cc";
2
2
  import { type GetDeviceConfig } from "@zwave-js/config";
3
3
  import { type GetNode, type GetSupportedCCVersion, type GetValueDB, type MaybeUnknown, type WithAddress } from "@zwave-js/core";
4
- import { CommandClasses, type ControlsCC, type EndpointId, type GetEndpoint, type MaybeNotKnown, type MessageOrCCLogEntry, type NodeId, type SinglecastCC, type SupervisionResult, type SupportsCC, ValueMetadata } from "@zwave-js/core/safe";
4
+ import { CommandClasses, type ControlsCC, type EndpointId, type GetEndpoint, type MaybeNotKnown, type MessageOrCCLogEntry, type NodeId, type SinglecastCC, type SupervisionResult, type SupportsCC } from "@zwave-js/core/safe";
5
5
  import { Bytes } from "@zwave-js/shared/safe";
6
6
  import { type AllOrNone } from "@zwave-js/shared/safe";
7
7
  import { POLL_VALUE, PhysicalCCAPI, type PollValueImplementation, SET_VALUE, SET_VALUE_HOOKS, type SetValueImplementation, type SetValueImplementationHooksFactory } from "../lib/API.js";
8
8
  import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesContext, type RefreshValuesContext } from "../lib/CommandClass.js";
9
9
  import { MeterCommand, type MeterReading, RateType } from "../lib/_Types.js";
10
10
  export declare const MeterCCValues: Readonly<{
11
- value: ((meterType: number, rateType: RateType, scale: number) => {
12
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
13
- readonly type: "any";
14
- readonly readable: true;
15
- readonly writeable: true;
16
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
17
- readonly type: "any";
18
- readonly readable: true;
19
- readonly writeable: true;
20
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
21
- readonly type: "any";
22
- readonly readable: true;
23
- readonly writeable: true;
24
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
25
- readonly type: "any";
26
- readonly readable: true;
27
- readonly writeable: true;
28
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
29
- readonly type: "any";
30
- readonly readable: true;
31
- readonly writeable: true;
32
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
33
- readonly type: "any";
34
- readonly readable: true;
35
- readonly writeable: true;
36
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
37
- readonly id: ValueIDBase;
38
- readonly endpoint: (endpoint?: number | undefined) => {
11
+ type: {
12
+ id: {
13
+ readonly commandClass: CommandClasses.Meter;
14
+ readonly property: "type";
15
+ };
16
+ endpoint: (endpoint?: number) => {
39
17
  readonly commandClass: CommandClasses.Meter;
40
18
  readonly endpoint: number;
41
- readonly property: "value";
42
- readonly propertyKey: number;
19
+ readonly property: "type";
43
20
  };
44
- }) & {
45
21
  is: (valueId: import("@zwave-js/core").ValueID) => boolean;
46
- readonly options: {
47
- readonly internal: false;
22
+ readonly meta: Readonly<{
23
+ readonly type: "any";
24
+ readonly readable: true;
25
+ readonly writeable: true;
26
+ }>;
27
+ options: {
28
+ readonly internal: true;
48
29
  readonly minVersion: 1;
49
30
  readonly secret: false;
50
31
  readonly stateful: true;
@@ -52,43 +33,24 @@ export declare const MeterCCValues: Readonly<{
52
33
  readonly autoCreate: true;
53
34
  };
54
35
  };
55
- resetSingle: ((meterType: number, rateType: RateType, scale: number) => {
56
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
57
- readonly type: "any";
58
- readonly readable: true;
59
- readonly writeable: true;
60
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
61
- readonly type: "any";
62
- readonly readable: true;
63
- readonly writeable: true;
64
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
65
- readonly type: "any";
66
- readonly readable: true;
67
- readonly writeable: true;
68
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
69
- readonly type: "any";
70
- readonly readable: true;
71
- readonly writeable: true;
72
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
73
- readonly type: "any";
74
- readonly readable: true;
75
- readonly writeable: true;
76
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
77
- readonly type: "any";
78
- readonly readable: true;
79
- readonly writeable: true;
80
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
81
- readonly id: ValueIDBase;
82
- readonly endpoint: (endpoint?: number | undefined) => {
36
+ supportsReset: {
37
+ id: {
38
+ readonly commandClass: CommandClasses.Meter;
39
+ readonly property: "supportsReset";
40
+ };
41
+ endpoint: (endpoint?: number) => {
83
42
  readonly commandClass: CommandClasses.Meter;
84
43
  readonly endpoint: number;
85
- readonly property: "reset";
86
- readonly propertyKey: number;
44
+ readonly property: "supportsReset";
87
45
  };
88
- }) & {
89
46
  is: (valueId: import("@zwave-js/core").ValueID) => boolean;
90
- readonly options: {
91
- readonly internal: false;
47
+ readonly meta: Readonly<{
48
+ readonly type: "any";
49
+ readonly readable: true;
50
+ readonly writeable: true;
51
+ }>;
52
+ options: {
53
+ readonly internal: true;
92
54
  readonly minVersion: 1;
93
55
  readonly secret: false;
94
56
  readonly stateful: true;
@@ -96,390 +58,154 @@ export declare const MeterCCValues: Readonly<{
96
58
  readonly autoCreate: true;
97
59
  };
98
60
  };
99
- resetAll: {
100
- readonly id: ValueIDBase;
101
- readonly endpoint: (endpoint?: number | undefined) => {
61
+ supportedScales: {
62
+ id: {
63
+ readonly commandClass: CommandClasses.Meter;
64
+ readonly property: "supportedScales";
65
+ };
66
+ endpoint: (endpoint?: number) => {
102
67
  readonly commandClass: CommandClasses.Meter;
103
68
  readonly endpoint: number;
104
- readonly property: "reset";
69
+ readonly property: "supportedScales";
105
70
  };
106
- readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
107
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
108
- readonly type: "any";
109
- readonly readable: true;
110
- readonly writeable: true;
111
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
112
- readonly type: "any";
113
- readonly readable: true;
114
- readonly writeable: true;
115
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
116
- readonly type: "any";
117
- readonly readable: true;
118
- readonly writeable: true;
119
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
120
- readonly type: "any";
121
- readonly readable: true;
122
- readonly writeable: true;
123
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
124
- readonly type: "any";
125
- readonly readable: true;
126
- readonly writeable: true;
127
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
71
+ is: (valueId: import("@zwave-js/core").ValueID) => boolean;
72
+ readonly meta: Readonly<{
128
73
  readonly type: "any";
129
74
  readonly readable: true;
130
75
  readonly writeable: true;
131
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
132
- readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
133
- readonly internal: false;
76
+ }>;
77
+ options: {
78
+ readonly internal: true;
134
79
  readonly minVersion: 1;
135
80
  readonly secret: false;
136
81
  readonly stateful: true;
137
82
  readonly supportsEndpoints: true;
138
83
  readonly autoCreate: true;
139
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
140
- readonly internal: false;
141
- readonly minVersion: 1;
142
- readonly secret: false;
143
- readonly stateful: true;
144
- readonly supportsEndpoints: true;
145
- readonly autoCreate: true;
146
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
147
- readonly internal: false;
148
- readonly minVersion: 1;
149
- readonly secret: false;
150
- readonly stateful: true;
151
- readonly supportsEndpoints: true;
152
- readonly autoCreate: true;
153
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
154
- readonly internal: false;
155
- readonly minVersion: 1;
156
- readonly secret: false;
157
- readonly stateful: true;
158
- readonly supportsEndpoints: true;
159
- readonly autoCreate: true;
160
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
161
- readonly internal: false;
162
- readonly minVersion: 1;
163
- readonly secret: false;
164
- readonly stateful: true;
165
- readonly supportsEndpoints: true;
166
- readonly autoCreate: true;
167
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
168
- readonly internal: false;
169
- readonly minVersion: 1;
170
- readonly secret: false;
171
- readonly stateful: true;
172
- readonly supportsEndpoints: true;
173
- readonly autoCreate: true;
174
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
84
+ };
175
85
  };
176
86
  supportedRateTypes: {
177
- readonly id: ValueIDBase;
178
- readonly endpoint: (endpoint?: number | undefined) => {
87
+ id: {
88
+ readonly commandClass: CommandClasses.Meter;
89
+ readonly property: "supportedRateTypes";
90
+ };
91
+ endpoint: (endpoint?: number) => {
179
92
  readonly commandClass: CommandClasses.Meter;
180
93
  readonly endpoint: number;
181
94
  readonly property: "supportedRateTypes";
182
95
  };
183
- readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
184
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
185
- readonly type: "any";
186
- readonly readable: true;
187
- readonly writeable: true;
188
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
189
- readonly type: "any";
190
- readonly readable: true;
191
- readonly writeable: true;
192
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
193
- readonly type: "any";
194
- readonly readable: true;
195
- readonly writeable: true;
196
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
197
- readonly type: "any";
198
- readonly readable: true;
199
- readonly writeable: true;
200
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
201
- readonly type: "any";
202
- readonly readable: true;
203
- readonly writeable: true;
204
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
96
+ is: (valueId: import("@zwave-js/core").ValueID) => boolean;
97
+ readonly meta: Readonly<{
205
98
  readonly type: "any";
206
99
  readonly readable: true;
207
100
  readonly writeable: true;
208
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
209
- readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
210
- readonly internal: false;
211
- readonly minVersion: 1;
212
- readonly secret: false;
213
- readonly stateful: true;
214
- readonly supportsEndpoints: true;
215
- readonly autoCreate: true;
216
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
217
- readonly internal: false;
101
+ }>;
102
+ options: {
103
+ readonly internal: true;
218
104
  readonly minVersion: 1;
219
105
  readonly secret: false;
220
106
  readonly stateful: true;
221
107
  readonly supportsEndpoints: true;
222
108
  readonly autoCreate: true;
223
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
224
- readonly internal: false;
225
- readonly minVersion: 1;
226
- readonly secret: false;
227
- readonly stateful: true;
228
- readonly supportsEndpoints: true;
229
- readonly autoCreate: true;
230
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
231
- readonly internal: false;
232
- readonly minVersion: 1;
233
- readonly secret: false;
234
- readonly stateful: true;
235
- readonly supportsEndpoints: true;
236
- readonly autoCreate: true;
237
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
238
- readonly internal: false;
239
- readonly minVersion: 1;
240
- readonly secret: false;
241
- readonly stateful: true;
242
- readonly supportsEndpoints: true;
243
- readonly autoCreate: true;
244
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
245
- readonly internal: false;
246
- readonly minVersion: 1;
247
- readonly secret: false;
248
- readonly stateful: true;
249
- readonly supportsEndpoints: true;
250
- readonly autoCreate: true;
251
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
109
+ };
252
110
  };
253
- supportedScales: {
254
- readonly id: ValueIDBase;
255
- readonly endpoint: (endpoint?: number | undefined) => {
111
+ resetAll: {
112
+ id: {
113
+ readonly commandClass: CommandClasses.Meter;
114
+ readonly property: "reset";
115
+ };
116
+ endpoint: (endpoint?: number) => {
256
117
  readonly commandClass: CommandClasses.Meter;
257
118
  readonly endpoint: number;
258
- readonly property: "supportedScales";
119
+ readonly property: "reset";
259
120
  };
260
- readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
261
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
262
- readonly type: "any";
263
- readonly readable: true;
264
- readonly writeable: true;
265
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
266
- readonly type: "any";
267
- readonly readable: true;
268
- readonly writeable: true;
269
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
270
- readonly type: "any";
271
- readonly readable: true;
272
- readonly writeable: true;
273
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
274
- readonly type: "any";
275
- readonly readable: true;
276
- readonly writeable: true;
277
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
278
- readonly type: "any";
279
- readonly readable: true;
280
- readonly writeable: true;
281
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
282
- readonly type: "any";
283
- readonly readable: true;
121
+ is: (valueId: import("@zwave-js/core").ValueID) => boolean;
122
+ readonly meta: {
123
+ readonly label: "Reset accumulated values";
124
+ readonly states: {
125
+ readonly true: "Reset";
126
+ };
127
+ readonly readable: false;
128
+ readonly type: "boolean";
284
129
  readonly writeable: true;
285
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
286
- readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
287
- readonly internal: false;
288
- readonly minVersion: 1;
289
- readonly secret: false;
290
- readonly stateful: true;
291
- readonly supportsEndpoints: true;
292
- readonly autoCreate: true;
293
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
294
- readonly internal: false;
295
- readonly minVersion: 1;
296
- readonly secret: false;
297
- readonly stateful: true;
298
- readonly supportsEndpoints: true;
299
- readonly autoCreate: true;
300
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
301
- readonly internal: false;
302
- readonly minVersion: 1;
303
- readonly secret: false;
304
- readonly stateful: true;
305
- readonly supportsEndpoints: true;
306
- readonly autoCreate: true;
307
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
308
- readonly internal: false;
309
- readonly minVersion: 1;
310
- readonly secret: false;
311
- readonly stateful: true;
312
- readonly supportsEndpoints: true;
313
- readonly autoCreate: true;
314
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
315
- readonly internal: false;
316
- readonly minVersion: 1;
317
- readonly secret: false;
318
- readonly stateful: true;
319
- readonly supportsEndpoints: true;
320
- readonly autoCreate: true;
321
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
130
+ };
131
+ options: {
322
132
  readonly internal: false;
323
133
  readonly minVersion: 1;
324
134
  readonly secret: false;
325
135
  readonly stateful: true;
326
136
  readonly supportsEndpoints: true;
327
137
  readonly autoCreate: true;
328
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
138
+ };
329
139
  };
330
- supportsReset: {
331
- readonly id: ValueIDBase;
332
- readonly endpoint: (endpoint?: number | undefined) => {
140
+ resetSingle: ((meterType: number, rateType: RateType, scale: number) => {
141
+ id: {
142
+ readonly commandClass: CommandClasses.Meter;
143
+ readonly property: "reset";
144
+ readonly propertyKey: number;
145
+ };
146
+ endpoint: (endpoint?: number) => {
333
147
  readonly commandClass: CommandClasses.Meter;
334
148
  readonly endpoint: number;
335
- readonly property: "supportsReset";
149
+ readonly property: "reset";
150
+ readonly propertyKey: number;
336
151
  };
337
- readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
338
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
339
- readonly type: "any";
340
- readonly readable: true;
152
+ readonly meta: {
153
+ readonly label: `Reset (Consumption, ${string})` | `Reset (Production, ${string})` | `Reset (${string})`;
154
+ readonly states: {
155
+ readonly true: "Reset";
156
+ };
157
+ readonly ccSpecific: {
158
+ readonly meterType: number;
159
+ readonly rateType: RateType;
160
+ readonly scale: number;
161
+ };
162
+ readonly readable: false;
163
+ readonly type: "boolean";
341
164
  readonly writeable: true;
342
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
343
- readonly type: "any";
344
- readonly readable: true;
345
- readonly writeable: true;
346
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
347
- readonly type: "any";
348
- readonly readable: true;
349
- readonly writeable: true;
350
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
351
- readonly type: "any";
352
- readonly readable: true;
353
- readonly writeable: true;
354
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
355
- readonly type: "any";
356
- readonly readable: true;
357
- readonly writeable: true;
358
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
359
- readonly type: "any";
360
- readonly readable: true;
361
- readonly writeable: true;
362
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
363
- readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
364
- readonly internal: false;
365
- readonly minVersion: 1;
366
- readonly secret: false;
367
- readonly stateful: true;
368
- readonly supportsEndpoints: true;
369
- readonly autoCreate: true;
370
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
371
- readonly internal: false;
372
- readonly minVersion: 1;
373
- readonly secret: false;
374
- readonly stateful: true;
375
- readonly supportsEndpoints: true;
376
- readonly autoCreate: true;
377
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
378
- readonly internal: false;
379
- readonly minVersion: 1;
380
- readonly secret: false;
381
- readonly stateful: true;
382
- readonly supportsEndpoints: true;
383
- readonly autoCreate: true;
384
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
385
- readonly internal: false;
386
- readonly minVersion: 1;
387
- readonly secret: false;
388
- readonly stateful: true;
389
- readonly supportsEndpoints: true;
390
- readonly autoCreate: true;
391
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
392
- readonly internal: false;
393
- readonly minVersion: 1;
394
- readonly secret: false;
395
- readonly stateful: true;
396
- readonly supportsEndpoints: true;
397
- readonly autoCreate: true;
398
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
165
+ };
166
+ }) & {
167
+ is: (valueId: import("@zwave-js/core").ValueID) => boolean;
168
+ options: {
399
169
  readonly internal: false;
400
170
  readonly minVersion: 1;
401
171
  readonly secret: false;
402
172
  readonly stateful: true;
403
173
  readonly supportsEndpoints: true;
404
174
  readonly autoCreate: true;
405
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
175
+ };
406
176
  };
407
- type: {
408
- readonly id: ValueIDBase;
409
- readonly endpoint: (endpoint?: number | undefined) => {
177
+ value: ((meterType: number, rateType: RateType, scale: number) => {
178
+ id: {
179
+ readonly commandClass: CommandClasses.Meter;
180
+ readonly property: "value";
181
+ readonly propertyKey: number;
182
+ };
183
+ endpoint: (endpoint?: number) => {
410
184
  readonly commandClass: CommandClasses.Meter;
411
185
  readonly endpoint: number;
412
- readonly property: "type";
186
+ readonly property: "value";
187
+ readonly propertyKey: number;
413
188
  };
414
- readonly is: (valueId: import("@zwave-js/core").ValueID) => boolean;
415
- readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
416
- readonly type: "any";
417
- readonly readable: true;
418
- readonly writeable: true;
419
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
420
- readonly type: "any";
421
- readonly readable: true;
422
- readonly writeable: true;
423
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
424
- readonly type: "any";
425
- readonly readable: true;
426
- readonly writeable: true;
427
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
428
- readonly type: "any";
429
- readonly readable: true;
430
- readonly writeable: true;
431
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
432
- readonly type: "any";
189
+ readonly meta: {
190
+ readonly ccSpecific: {
191
+ readonly meterType: number;
192
+ readonly rateType: RateType;
193
+ readonly scale: number;
194
+ };
195
+ readonly writeable: false;
196
+ readonly type: "number";
433
197
  readonly readable: true;
434
- readonly writeable: true;
435
- }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
436
- readonly type: "any";
437
- readonly readable: true;
438
- readonly writeable: true;
439
- }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
440
- readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
441
- readonly internal: false;
442
- readonly minVersion: 1;
443
- readonly secret: false;
444
- readonly stateful: true;
445
- readonly supportsEndpoints: true;
446
- readonly autoCreate: true;
447
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
448
- readonly internal: false;
449
- readonly minVersion: 1;
450
- readonly secret: false;
451
- readonly stateful: true;
452
- readonly supportsEndpoints: true;
453
- readonly autoCreate: true;
454
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>) extends infer T ? { [K in keyof T as [undefined] extends [(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
455
- readonly internal: false;
456
- readonly minVersion: 1;
457
- readonly secret: false;
458
- readonly stateful: true;
459
- readonly supportsEndpoints: true;
460
- readonly autoCreate: true;
461
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
462
- readonly internal: false;
463
- readonly minVersion: 1;
464
- readonly secret: false;
465
- readonly stateful: true;
466
- readonly supportsEndpoints: true;
467
- readonly autoCreate: true;
468
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
469
- readonly internal: false;
470
- readonly minVersion: 1;
471
- readonly secret: false;
472
- readonly stateful: true;
473
- readonly supportsEndpoints: true;
474
- readonly autoCreate: true;
475
- } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
198
+ };
199
+ }) & {
200
+ is: (valueId: import("@zwave-js/core").ValueID) => boolean;
201
+ options: {
476
202
  readonly internal: false;
477
203
  readonly minVersion: 1;
478
204
  readonly secret: false;
479
205
  readonly stateful: true;
480
206
  readonly supportsEndpoints: true;
481
207
  readonly autoCreate: true;
482
- }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
208
+ };
483
209
  };
484
210
  }>;
485
211
  export declare function isAccumulatedValue(meterType: number, scale: number): boolean;