@zwave-js/cc 14.3.10 → 15.0.0-beta.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 (461) hide show
  1. package/build/cjs/cc/AlarmSensorCC.d.ts +139 -57
  2. package/build/cjs/cc/AlarmSensorCC.js.map +2 -2
  3. package/build/cjs/cc/AssociationCC.d.ts +178 -43
  4. package/build/cjs/cc/AssociationCC.js +0 -4
  5. package/build/cjs/cc/AssociationCC.js.map +2 -2
  6. package/build/cjs/cc/AssociationGroupInfoCC.d.ts +138 -38
  7. package/build/cjs/cc/AssociationGroupInfoCC.js.map +2 -2
  8. package/build/cjs/cc/BarrierOperatorCC.d.ts +275 -73
  9. package/build/cjs/cc/BarrierOperatorCC.js.map +2 -2
  10. package/build/cjs/cc/BasicCC.d.ts +316 -71
  11. package/build/cjs/cc/BasicCC.js.map +2 -2
  12. package/build/cjs/cc/BatteryCC.d.ts +759 -164
  13. package/build/cjs/cc/BatteryCC.js.map +2 -2
  14. package/build/cjs/cc/BinarySensorCC.d.ts +91 -26
  15. package/build/cjs/cc/BinarySensorCC.js.map +2 -2
  16. package/build/cjs/cc/BinarySwitchCC.d.ts +190 -38
  17. package/build/cjs/cc/BinarySwitchCC.js.map +2 -2
  18. package/build/cjs/cc/CRC16CC.d.ts +4 -8
  19. package/build/cjs/cc/CRC16CC.js +4 -27
  20. package/build/cjs/cc/CRC16CC.js.map +2 -2
  21. package/build/cjs/cc/CentralSceneCC.d.ts +272 -53
  22. package/build/cjs/cc/CentralSceneCC.js.map +2 -2
  23. package/build/cjs/cc/ClimateControlScheduleCC.d.ts +150 -37
  24. package/build/cjs/cc/ClimateControlScheduleCC.js.map +2 -2
  25. package/build/cjs/cc/ClockCC.d.ts +3 -3
  26. package/build/cjs/cc/ClockCC.js.map +2 -2
  27. package/build/cjs/cc/ColorSwitchCC.d.ts +423 -96
  28. package/build/cjs/cc/ColorSwitchCC.js.map +2 -2
  29. package/build/cjs/cc/ConfigurationCC._validateArgs.js +1 -1
  30. package/build/cjs/cc/ConfigurationCC._validateArgs.js.map +1 -1
  31. package/build/cjs/cc/ConfigurationCC.d.ts +101 -37
  32. package/build/cjs/cc/ConfigurationCC.js +0 -8
  33. package/build/cjs/cc/ConfigurationCC.js.map +2 -2
  34. package/build/cjs/cc/DeviceResetLocallyCC.d.ts +1 -1
  35. package/build/cjs/cc/DeviceResetLocallyCC.js.map +2 -2
  36. package/build/cjs/cc/DoorLockCC._validateArgs.js +1 -1
  37. package/build/cjs/cc/DoorLockCC._validateArgs.js.map +1 -1
  38. package/build/cjs/cc/DoorLockCC.d.ts +1731 -419
  39. package/build/cjs/cc/DoorLockCC.js.map +2 -2
  40. package/build/cjs/cc/DoorLockLoggingCC.d.ts +64 -12
  41. package/build/cjs/cc/DoorLockLoggingCC.js.map +2 -2
  42. package/build/cjs/cc/EnergyProductionCC.d.ts +29 -14
  43. package/build/cjs/cc/EnergyProductionCC.js.map +2 -2
  44. package/build/cjs/cc/EntryControlCC.d.ts +308 -57
  45. package/build/cjs/cc/EntryControlCC.js.map +2 -2
  46. package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts +2 -0
  47. package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.js +26 -0
  48. package/build/cjs/cc/FirmwareUpdateMetaDataCC._validateArgs.js.map +1 -1
  49. package/build/cjs/cc/FirmwareUpdateMetaDataCC.d.ts +389 -64
  50. package/build/cjs/cc/FirmwareUpdateMetaDataCC.js +154 -8
  51. package/build/cjs/cc/FirmwareUpdateMetaDataCC.js.map +2 -2
  52. package/build/cjs/cc/HumidityControlModeCC.d.ts +125 -27
  53. package/build/cjs/cc/HumidityControlModeCC.js.map +2 -2
  54. package/build/cjs/cc/HumidityControlOperatingStateCC.d.ts +64 -18
  55. package/build/cjs/cc/HumidityControlOperatingStateCC.js.map +2 -2
  56. package/build/cjs/cc/HumidityControlSetpointCC.d.ts +116 -39
  57. package/build/cjs/cc/HumidityControlSetpointCC.js.map +2 -2
  58. package/build/cjs/cc/InclusionControllerCC.d.ts +4 -4
  59. package/build/cjs/cc/InclusionControllerCC.js.map +2 -2
  60. package/build/cjs/cc/IndicatorCC.d.ts +325 -83
  61. package/build/cjs/cc/IndicatorCC.js.map +2 -2
  62. package/build/cjs/cc/IrrigationCC.d.ts +2170 -683
  63. package/build/cjs/cc/IrrigationCC.js.map +2 -2
  64. package/build/cjs/cc/LanguageCC.d.ts +128 -26
  65. package/build/cjs/cc/LanguageCC.js.map +2 -2
  66. package/build/cjs/cc/LockCC.d.ts +64 -14
  67. package/build/cjs/cc/LockCC.js.map +2 -2
  68. package/build/cjs/cc/ManufacturerProprietaryCC.d.ts +2 -2
  69. package/build/cjs/cc/ManufacturerProprietaryCC.js.map +2 -2
  70. package/build/cjs/cc/ManufacturerSpecificCC.d.ts +219 -57
  71. package/build/cjs/cc/ManufacturerSpecificCC.js.map +2 -2
  72. package/build/cjs/cc/MeterCC.d.ts +364 -89
  73. package/build/cjs/cc/MeterCC.js.map +2 -2
  74. package/build/cjs/cc/MultiChannelAssociationCC.d.ts +138 -40
  75. package/build/cjs/cc/MultiChannelAssociationCC.js +0 -5
  76. package/build/cjs/cc/MultiChannelAssociationCC.js.map +2 -2
  77. package/build/cjs/cc/MultiChannelCC.d.ts +469 -99
  78. package/build/cjs/cc/MultiChannelCC.js +8 -72
  79. package/build/cjs/cc/MultiChannelCC.js.map +2 -2
  80. package/build/cjs/cc/MultiCommandCC.d.ts +4 -8
  81. package/build/cjs/cc/MultiCommandCC.js +4 -37
  82. package/build/cjs/cc/MultiCommandCC.js.map +2 -2
  83. package/build/cjs/cc/MultilevelSensorCC.d.ts +118 -33
  84. package/build/cjs/cc/MultilevelSensorCC.js.map +2 -2
  85. package/build/cjs/cc/MultilevelSwitchCC.d.ts +490 -125
  86. package/build/cjs/cc/MultilevelSwitchCC.js.map +2 -2
  87. package/build/cjs/cc/NodeNamingCC.d.ts +128 -26
  88. package/build/cjs/cc/NodeNamingCC.js.map +2 -2
  89. package/build/cjs/cc/NotificationCC.d.ts +603 -161
  90. package/build/cjs/cc/NotificationCC.js +12 -1
  91. package/build/cjs/cc/NotificationCC.js.map +2 -2
  92. package/build/cjs/cc/PowerlevelCC.d.ts +6 -6
  93. package/build/cjs/cc/PowerlevelCC.js.map +2 -2
  94. package/build/cjs/cc/ProtectionCC.d.ts +496 -94
  95. package/build/cjs/cc/ProtectionCC.js.map +2 -2
  96. package/build/cjs/cc/SceneActivationCC.d.ts +127 -28
  97. package/build/cjs/cc/SceneActivationCC.js.map +2 -2
  98. package/build/cjs/cc/SceneActuatorConfigurationCC.d.ts +52 -25
  99. package/build/cjs/cc/SceneActuatorConfigurationCC.js.map +2 -2
  100. package/build/cjs/cc/SceneControllerConfigurationCC.d.ts +53 -25
  101. package/build/cjs/cc/SceneControllerConfigurationCC.js.map +2 -2
  102. package/build/cjs/cc/ScheduleEntryLockCC.d.ts +268 -64
  103. package/build/cjs/cc/ScheduleEntryLockCC.js.map +2 -2
  104. package/build/cjs/cc/Security2CC.d.ts +15 -21
  105. package/build/cjs/cc/Security2CC.js +32 -347
  106. package/build/cjs/cc/Security2CC.js.map +3 -3
  107. package/build/cjs/cc/SecurityCC.d.ts +12 -19
  108. package/build/cjs/cc/SecurityCC.js +12 -106
  109. package/build/cjs/cc/SecurityCC.js.map +2 -2
  110. package/build/cjs/cc/SoundSwitchCC.d.ts +253 -64
  111. package/build/cjs/cc/SoundSwitchCC.js.map +2 -2
  112. package/build/cjs/cc/SupervisionCC.d.ts +28 -16
  113. package/build/cjs/cc/SupervisionCC.js +4 -29
  114. package/build/cjs/cc/SupervisionCC.js.map +2 -2
  115. package/build/cjs/cc/ThermostatFanModeCC.d.ts +187 -38
  116. package/build/cjs/cc/ThermostatFanModeCC.js.map +2 -2
  117. package/build/cjs/cc/ThermostatFanStateCC.d.ts +64 -18
  118. package/build/cjs/cc/ThermostatFanStateCC.js.map +2 -2
  119. package/build/cjs/cc/ThermostatModeCC.d.ts +189 -40
  120. package/build/cjs/cc/ThermostatModeCC.js.map +2 -2
  121. package/build/cjs/cc/ThermostatOperatingStateCC.d.ts +65 -19
  122. package/build/cjs/cc/ThermostatOperatingStateCC.js.map +2 -2
  123. package/build/cjs/cc/ThermostatSetbackCC.d.ts +4 -4
  124. package/build/cjs/cc/ThermostatSetbackCC.js.map +2 -2
  125. package/build/cjs/cc/ThermostatSetpointCC.d.ts +116 -36
  126. package/build/cjs/cc/ThermostatSetpointCC.js.map +2 -2
  127. package/build/cjs/cc/TimeCC.d.ts +6 -6
  128. package/build/cjs/cc/TimeCC.js.map +2 -2
  129. package/build/cjs/cc/TimeParametersCC.d.ts +63 -12
  130. package/build/cjs/cc/TimeParametersCC.js.map +2 -2
  131. package/build/cjs/cc/TransportServiceCC.d.ts +7 -12
  132. package/build/cjs/cc/TransportServiceCC.js +3 -20
  133. package/build/cjs/cc/TransportServiceCC.js.map +2 -2
  134. package/build/cjs/cc/UserCodeCC._validateArgs.js +1 -1
  135. package/build/cjs/cc/UserCodeCC._validateArgs.js.map +1 -1
  136. package/build/cjs/cc/UserCodeCC.d.ts +931 -176
  137. package/build/cjs/cc/UserCodeCC.js.map +2 -2
  138. package/build/cjs/cc/VersionCC.d.ts +897 -185
  139. package/build/cjs/cc/VersionCC.js.map +2 -2
  140. package/build/cjs/cc/WakeUpCC.d.ts +190 -38
  141. package/build/cjs/cc/WakeUpCC.js.map +2 -2
  142. package/build/cjs/cc/WindowCoveringCC.d.ts +193 -103
  143. package/build/cjs/cc/WindowCoveringCC.js.map +2 -2
  144. package/build/cjs/cc/ZWavePlusCC.d.ts +311 -51
  145. package/build/cjs/cc/ZWavePlusCC.js.map +2 -2
  146. package/build/cjs/cc/ZWaveProtocolCC.d.ts +28 -28
  147. package/build/cjs/cc/ZWaveProtocolCC.js.map +2 -2
  148. package/build/cjs/cc/manufacturerProprietary/FibaroCC.d.ts +4 -4
  149. package/build/cjs/cc/manufacturerProprietary/FibaroCC.js.map +2 -2
  150. package/build/cjs/index.d.ts +1 -0
  151. package/build/cjs/index.js.map +1 -1
  152. package/build/cjs/index_browser.d.ts +9 -0
  153. package/build/cjs/index_browser.js +41 -1
  154. package/build/cjs/index_browser.js.map +2 -2
  155. package/build/cjs/lib/API.d.ts +7 -5
  156. package/build/cjs/lib/API.js +1 -1
  157. package/build/cjs/lib/API.js.map +2 -2
  158. package/build/cjs/lib/CommandClass.d.ts +10 -21
  159. package/build/cjs/lib/CommandClass.js +51 -106
  160. package/build/cjs/lib/CommandClass.js.map +3 -3
  161. package/build/cjs/lib/CommandClassDecorators.d.ts +1 -1
  162. package/build/cjs/lib/CommandClassDecorators.js +3 -3
  163. package/build/cjs/lib/CommandClassDecorators.js.map +2 -2
  164. package/build/cjs/lib/Values.d.ts +2 -2
  165. package/build/cjs/lib/Values.js.map +2 -2
  166. package/build/cjs/lib/traits.d.ts +94 -0
  167. package/build/cjs/lib/traits.js +17 -0
  168. package/build/cjs/lib/traits.js.map +7 -0
  169. package/build/cjs/lib/utils.d.ts +2 -2
  170. package/build/cjs/lib/utils.js.map +2 -2
  171. package/build/esm/cc/AlarmSensorCC.d.ts +139 -57
  172. package/build/esm/cc/AlarmSensorCC.d.ts.map +1 -1
  173. package/build/esm/cc/AlarmSensorCC.js +0 -1
  174. package/build/esm/cc/AlarmSensorCC.js.map +1 -1
  175. package/build/esm/cc/AssociationCC.d.ts +178 -43
  176. package/build/esm/cc/AssociationCC.d.ts.map +1 -1
  177. package/build/esm/cc/AssociationCC.js +0 -13
  178. package/build/esm/cc/AssociationCC.js.map +1 -1
  179. package/build/esm/cc/AssociationGroupInfoCC.d.ts +138 -38
  180. package/build/esm/cc/AssociationGroupInfoCC.d.ts.map +1 -1
  181. package/build/esm/cc/AssociationGroupInfoCC.js +0 -6
  182. package/build/esm/cc/AssociationGroupInfoCC.js.map +1 -1
  183. package/build/esm/cc/BarrierOperatorCC.d.ts +275 -73
  184. package/build/esm/cc/BarrierOperatorCC.d.ts.map +1 -1
  185. package/build/esm/cc/BarrierOperatorCC.js +0 -3
  186. package/build/esm/cc/BarrierOperatorCC.js.map +1 -1
  187. package/build/esm/cc/BasicCC.d.ts +316 -71
  188. package/build/esm/cc/BasicCC.d.ts.map +1 -1
  189. package/build/esm/cc/BasicCC.js +0 -2
  190. package/build/esm/cc/BasicCC.js.map +1 -1
  191. package/build/esm/cc/BatteryCC.d.ts +759 -164
  192. package/build/esm/cc/BatteryCC.d.ts.map +1 -1
  193. package/build/esm/cc/BatteryCC.js +1 -2
  194. package/build/esm/cc/BatteryCC.js.map +1 -1
  195. package/build/esm/cc/BinarySensorCC.d.ts +91 -26
  196. package/build/esm/cc/BinarySensorCC.d.ts.map +1 -1
  197. package/build/esm/cc/BinarySensorCC.js +0 -3
  198. package/build/esm/cc/BinarySensorCC.js.map +1 -1
  199. package/build/esm/cc/BinarySwitchCC.d.ts +190 -38
  200. package/build/esm/cc/BinarySwitchCC.d.ts.map +1 -1
  201. package/build/esm/cc/BinarySwitchCC.js +0 -2
  202. package/build/esm/cc/BinarySwitchCC.js.map +1 -1
  203. package/build/esm/cc/CRC16CC.d.ts +4 -8
  204. package/build/esm/cc/CRC16CC.d.ts.map +1 -1
  205. package/build/esm/cc/CRC16CC.js +4 -34
  206. package/build/esm/cc/CRC16CC.js.map +1 -1
  207. package/build/esm/cc/CentralSceneCC.d.ts +272 -53
  208. package/build/esm/cc/CentralSceneCC.d.ts.map +1 -1
  209. package/build/esm/cc/CentralSceneCC.js +0 -1
  210. package/build/esm/cc/CentralSceneCC.js.map +1 -1
  211. package/build/esm/cc/ClimateControlScheduleCC.d.ts +150 -37
  212. package/build/esm/cc/ClimateControlScheduleCC.d.ts.map +1 -1
  213. package/build/esm/cc/ClimateControlScheduleCC.js +0 -3
  214. package/build/esm/cc/ClimateControlScheduleCC.js.map +1 -1
  215. package/build/esm/cc/ClockCC.d.ts +3 -3
  216. package/build/esm/cc/ClockCC.d.ts.map +1 -1
  217. package/build/esm/cc/ClockCC.js +0 -1
  218. package/build/esm/cc/ClockCC.js.map +1 -1
  219. package/build/esm/cc/ColorSwitchCC.d.ts +423 -96
  220. package/build/esm/cc/ColorSwitchCC.d.ts.map +1 -1
  221. package/build/esm/cc/ColorSwitchCC.js +0 -6
  222. package/build/esm/cc/ColorSwitchCC.js.map +1 -1
  223. package/build/esm/cc/ConfigurationCC._validateArgs.js +1 -1
  224. package/build/esm/cc/ConfigurationCC._validateArgs.js.map +1 -1
  225. package/build/esm/cc/ConfigurationCC.d.ts +101 -37
  226. package/build/esm/cc/ConfigurationCC.d.ts.map +1 -1
  227. package/build/esm/cc/ConfigurationCC.js +0 -25
  228. package/build/esm/cc/ConfigurationCC.js.map +1 -1
  229. package/build/esm/cc/DeviceResetLocallyCC.d.ts +1 -1
  230. package/build/esm/cc/DeviceResetLocallyCC.d.ts.map +1 -1
  231. package/build/esm/cc/DeviceResetLocallyCC.js.map +1 -1
  232. package/build/esm/cc/DoorLockCC._validateArgs.js +1 -1
  233. package/build/esm/cc/DoorLockCC._validateArgs.js.map +1 -1
  234. package/build/esm/cc/DoorLockCC.d.ts +1731 -419
  235. package/build/esm/cc/DoorLockCC.d.ts.map +1 -1
  236. package/build/esm/cc/DoorLockCC.js +0 -2
  237. package/build/esm/cc/DoorLockCC.js.map +1 -1
  238. package/build/esm/cc/DoorLockLoggingCC.d.ts +64 -12
  239. package/build/esm/cc/DoorLockLoggingCC.d.ts.map +1 -1
  240. package/build/esm/cc/DoorLockLoggingCC.js +0 -1
  241. package/build/esm/cc/DoorLockLoggingCC.js.map +1 -1
  242. package/build/esm/cc/EnergyProductionCC.d.ts +29 -14
  243. package/build/esm/cc/EnergyProductionCC.d.ts.map +1 -1
  244. package/build/esm/cc/EnergyProductionCC.js +0 -2
  245. package/build/esm/cc/EnergyProductionCC.js.map +1 -1
  246. package/build/esm/cc/EntryControlCC.d.ts +308 -57
  247. package/build/esm/cc/EntryControlCC.d.ts.map +1 -1
  248. package/build/esm/cc/EntryControlCC.js +0 -1
  249. package/build/esm/cc/EntryControlCC.js.map +1 -1
  250. package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts +2 -0
  251. package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.d.ts.map +1 -1
  252. package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.js +20 -0
  253. package/build/esm/cc/FirmwareUpdateMetaDataCC._validateArgs.js.map +1 -1
  254. package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts +389 -64
  255. package/build/esm/cc/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
  256. package/build/esm/cc/FirmwareUpdateMetaDataCC.js +158 -30
  257. package/build/esm/cc/FirmwareUpdateMetaDataCC.js.map +1 -1
  258. package/build/esm/cc/HumidityControlModeCC.d.ts +125 -27
  259. package/build/esm/cc/HumidityControlModeCC.d.ts.map +1 -1
  260. package/build/esm/cc/HumidityControlModeCC.js +0 -1
  261. package/build/esm/cc/HumidityControlModeCC.js.map +1 -1
  262. package/build/esm/cc/HumidityControlOperatingStateCC.d.ts +64 -18
  263. package/build/esm/cc/HumidityControlOperatingStateCC.d.ts.map +1 -1
  264. package/build/esm/cc/HumidityControlOperatingStateCC.js.map +1 -1
  265. package/build/esm/cc/HumidityControlSetpointCC.d.ts +116 -39
  266. package/build/esm/cc/HumidityControlSetpointCC.d.ts.map +1 -1
  267. package/build/esm/cc/HumidityControlSetpointCC.js +0 -4
  268. package/build/esm/cc/HumidityControlSetpointCC.js.map +1 -1
  269. package/build/esm/cc/InclusionControllerCC.d.ts +4 -4
  270. package/build/esm/cc/InclusionControllerCC.d.ts.map +1 -1
  271. package/build/esm/cc/InclusionControllerCC.js +0 -2
  272. package/build/esm/cc/InclusionControllerCC.js.map +1 -1
  273. package/build/esm/cc/IndicatorCC.d.ts +325 -83
  274. package/build/esm/cc/IndicatorCC.d.ts.map +1 -1
  275. package/build/esm/cc/IndicatorCC.js +0 -7
  276. package/build/esm/cc/IndicatorCC.js.map +1 -1
  277. package/build/esm/cc/IrrigationCC.d.ts +2170 -683
  278. package/build/esm/cc/IrrigationCC.d.ts.map +1 -1
  279. package/build/esm/cc/IrrigationCC.js +0 -9
  280. package/build/esm/cc/IrrigationCC.js.map +1 -1
  281. package/build/esm/cc/LanguageCC.d.ts +128 -26
  282. package/build/esm/cc/LanguageCC.d.ts.map +1 -1
  283. package/build/esm/cc/LanguageCC.js +0 -1
  284. package/build/esm/cc/LanguageCC.js.map +1 -1
  285. package/build/esm/cc/LockCC.d.ts +64 -14
  286. package/build/esm/cc/LockCC.d.ts.map +1 -1
  287. package/build/esm/cc/LockCC.js +0 -1
  288. package/build/esm/cc/LockCC.js.map +1 -1
  289. package/build/esm/cc/ManufacturerProprietaryCC.d.ts +2 -2
  290. package/build/esm/cc/ManufacturerProprietaryCC.d.ts.map +1 -1
  291. package/build/esm/cc/ManufacturerProprietaryCC.js +0 -1
  292. package/build/esm/cc/ManufacturerProprietaryCC.js.map +1 -1
  293. package/build/esm/cc/ManufacturerSpecificCC.d.ts +219 -57
  294. package/build/esm/cc/ManufacturerSpecificCC.d.ts.map +1 -1
  295. package/build/esm/cc/ManufacturerSpecificCC.js +0 -2
  296. package/build/esm/cc/ManufacturerSpecificCC.js.map +1 -1
  297. package/build/esm/cc/MeterCC.d.ts +364 -89
  298. package/build/esm/cc/MeterCC.d.ts.map +1 -1
  299. package/build/esm/cc/MeterCC.js +0 -4
  300. package/build/esm/cc/MeterCC.js.map +1 -1
  301. package/build/esm/cc/MultiChannelAssociationCC.d.ts +138 -40
  302. package/build/esm/cc/MultiChannelAssociationCC.d.ts.map +1 -1
  303. package/build/esm/cc/MultiChannelAssociationCC.js +0 -16
  304. package/build/esm/cc/MultiChannelAssociationCC.js.map +1 -1
  305. package/build/esm/cc/MultiChannelCC.d.ts +469 -99
  306. package/build/esm/cc/MultiChannelCC.d.ts.map +1 -1
  307. package/build/esm/cc/MultiChannelCC.js +8 -101
  308. package/build/esm/cc/MultiChannelCC.js.map +1 -1
  309. package/build/esm/cc/MultiCommandCC.d.ts +4 -8
  310. package/build/esm/cc/MultiCommandCC.d.ts.map +1 -1
  311. package/build/esm/cc/MultiCommandCC.js +4 -38
  312. package/build/esm/cc/MultiCommandCC.js.map +1 -1
  313. package/build/esm/cc/MultilevelSensorCC.d.ts +118 -33
  314. package/build/esm/cc/MultilevelSensorCC.d.ts.map +1 -1
  315. package/build/esm/cc/MultilevelSensorCC.js +0 -5
  316. package/build/esm/cc/MultilevelSensorCC.js.map +1 -1
  317. package/build/esm/cc/MultilevelSwitchCC.d.ts +490 -125
  318. package/build/esm/cc/MultilevelSwitchCC.d.ts.map +1 -1
  319. package/build/esm/cc/MultilevelSwitchCC.js +0 -4
  320. package/build/esm/cc/MultilevelSwitchCC.js.map +1 -1
  321. package/build/esm/cc/NodeNamingCC.d.ts +128 -26
  322. package/build/esm/cc/NodeNamingCC.d.ts.map +1 -1
  323. package/build/esm/cc/NodeNamingCC.js +0 -2
  324. package/build/esm/cc/NodeNamingCC.js.map +1 -1
  325. package/build/esm/cc/NotificationCC.d.ts +603 -161
  326. package/build/esm/cc/NotificationCC.d.ts.map +1 -1
  327. package/build/esm/cc/NotificationCC.js +18 -12
  328. package/build/esm/cc/NotificationCC.js.map +1 -1
  329. package/build/esm/cc/PowerlevelCC.d.ts +6 -6
  330. package/build/esm/cc/PowerlevelCC.d.ts.map +1 -1
  331. package/build/esm/cc/PowerlevelCC.js +0 -4
  332. package/build/esm/cc/PowerlevelCC.js.map +1 -1
  333. package/build/esm/cc/ProtectionCC.d.ts +496 -94
  334. package/build/esm/cc/ProtectionCC.d.ts.map +1 -1
  335. package/build/esm/cc/ProtectionCC.js +0 -3
  336. package/build/esm/cc/ProtectionCC.js.map +1 -1
  337. package/build/esm/cc/SceneActivationCC.d.ts +127 -28
  338. package/build/esm/cc/SceneActivationCC.d.ts.map +1 -1
  339. package/build/esm/cc/SceneActivationCC.js +0 -1
  340. package/build/esm/cc/SceneActivationCC.js.map +1 -1
  341. package/build/esm/cc/SceneActuatorConfigurationCC.d.ts +52 -25
  342. package/build/esm/cc/SceneActuatorConfigurationCC.d.ts.map +1 -1
  343. package/build/esm/cc/SceneActuatorConfigurationCC.js +0 -2
  344. package/build/esm/cc/SceneActuatorConfigurationCC.js.map +1 -1
  345. package/build/esm/cc/SceneControllerConfigurationCC.d.ts +53 -25
  346. package/build/esm/cc/SceneControllerConfigurationCC.d.ts.map +1 -1
  347. package/build/esm/cc/SceneControllerConfigurationCC.js +0 -2
  348. package/build/esm/cc/SceneControllerConfigurationCC.js.map +1 -1
  349. package/build/esm/cc/ScheduleEntryLockCC.d.ts +268 -64
  350. package/build/esm/cc/ScheduleEntryLockCC.d.ts.map +1 -1
  351. package/build/esm/cc/ScheduleEntryLockCC.js +0 -14
  352. package/build/esm/cc/ScheduleEntryLockCC.js.map +1 -1
  353. package/build/esm/cc/Security2CC.d.ts +15 -21
  354. package/build/esm/cc/Security2CC.d.ts.map +1 -1
  355. package/build/esm/cc/Security2CC.js +27 -475
  356. package/build/esm/cc/Security2CC.js.map +1 -1
  357. package/build/esm/cc/SecurityCC.d.ts +12 -19
  358. package/build/esm/cc/SecurityCC.d.ts.map +1 -1
  359. package/build/esm/cc/SecurityCC.js +13 -138
  360. package/build/esm/cc/SecurityCC.js.map +1 -1
  361. package/build/esm/cc/SoundSwitchCC.d.ts +253 -64
  362. package/build/esm/cc/SoundSwitchCC.d.ts.map +1 -1
  363. package/build/esm/cc/SoundSwitchCC.js +0 -7
  364. package/build/esm/cc/SoundSwitchCC.js.map +1 -1
  365. package/build/esm/cc/SupervisionCC.d.ts +28 -16
  366. package/build/esm/cc/SupervisionCC.d.ts.map +1 -1
  367. package/build/esm/cc/SupervisionCC.js +4 -34
  368. package/build/esm/cc/SupervisionCC.js.map +1 -1
  369. package/build/esm/cc/ThermostatFanModeCC.d.ts +187 -38
  370. package/build/esm/cc/ThermostatFanModeCC.d.ts.map +1 -1
  371. package/build/esm/cc/ThermostatFanModeCC.js +0 -1
  372. package/build/esm/cc/ThermostatFanModeCC.js.map +1 -1
  373. package/build/esm/cc/ThermostatFanStateCC.d.ts +64 -18
  374. package/build/esm/cc/ThermostatFanStateCC.d.ts.map +1 -1
  375. package/build/esm/cc/ThermostatFanStateCC.js.map +1 -1
  376. package/build/esm/cc/ThermostatModeCC.d.ts +189 -40
  377. package/build/esm/cc/ThermostatModeCC.d.ts.map +1 -1
  378. package/build/esm/cc/ThermostatModeCC.js +0 -3
  379. package/build/esm/cc/ThermostatModeCC.js.map +1 -1
  380. package/build/esm/cc/ThermostatOperatingStateCC.d.ts +65 -19
  381. package/build/esm/cc/ThermostatOperatingStateCC.d.ts.map +1 -1
  382. package/build/esm/cc/ThermostatOperatingStateCC.js.map +1 -1
  383. package/build/esm/cc/ThermostatSetbackCC.d.ts +4 -4
  384. package/build/esm/cc/ThermostatSetbackCC.d.ts.map +1 -1
  385. package/build/esm/cc/ThermostatSetbackCC.js +0 -2
  386. package/build/esm/cc/ThermostatSetbackCC.js.map +1 -1
  387. package/build/esm/cc/ThermostatSetpointCC.d.ts +116 -36
  388. package/build/esm/cc/ThermostatSetpointCC.d.ts.map +1 -1
  389. package/build/esm/cc/ThermostatSetpointCC.js +0 -6
  390. package/build/esm/cc/ThermostatSetpointCC.js.map +1 -1
  391. package/build/esm/cc/TimeCC.d.ts +6 -6
  392. package/build/esm/cc/TimeCC.d.ts.map +1 -1
  393. package/build/esm/cc/TimeCC.js +0 -4
  394. package/build/esm/cc/TimeCC.js.map +1 -1
  395. package/build/esm/cc/TimeParametersCC.d.ts +63 -12
  396. package/build/esm/cc/TimeParametersCC.d.ts.map +1 -1
  397. package/build/esm/cc/TimeParametersCC.js +0 -1
  398. package/build/esm/cc/TimeParametersCC.js.map +1 -1
  399. package/build/esm/cc/TransportServiceCC.d.ts +7 -12
  400. package/build/esm/cc/TransportServiceCC.d.ts.map +1 -1
  401. package/build/esm/cc/TransportServiceCC.js +5 -38
  402. package/build/esm/cc/TransportServiceCC.js.map +1 -1
  403. package/build/esm/cc/UserCodeCC._validateArgs.js +1 -1
  404. package/build/esm/cc/UserCodeCC._validateArgs.js.map +1 -1
  405. package/build/esm/cc/UserCodeCC.d.ts +931 -176
  406. package/build/esm/cc/UserCodeCC.d.ts.map +1 -1
  407. package/build/esm/cc/UserCodeCC.js +0 -12
  408. package/build/esm/cc/UserCodeCC.js.map +1 -1
  409. package/build/esm/cc/VersionCC.d.ts +897 -185
  410. package/build/esm/cc/VersionCC.d.ts.map +1 -1
  411. package/build/esm/cc/VersionCC.js +0 -4
  412. package/build/esm/cc/VersionCC.js.map +1 -1
  413. package/build/esm/cc/WakeUpCC.d.ts +190 -38
  414. package/build/esm/cc/WakeUpCC.d.ts.map +1 -1
  415. package/build/esm/cc/WakeUpCC.js +0 -1
  416. package/build/esm/cc/WakeUpCC.js.map +1 -1
  417. package/build/esm/cc/WindowCoveringCC.d.ts +193 -103
  418. package/build/esm/cc/WindowCoveringCC.d.ts.map +1 -1
  419. package/build/esm/cc/WindowCoveringCC.js +0 -5
  420. package/build/esm/cc/WindowCoveringCC.js.map +1 -1
  421. package/build/esm/cc/ZWavePlusCC.d.ts +311 -51
  422. package/build/esm/cc/ZWavePlusCC.d.ts.map +1 -1
  423. package/build/esm/cc/ZWavePlusCC.js +0 -1
  424. package/build/esm/cc/ZWavePlusCC.js.map +1 -1
  425. package/build/esm/cc/ZWaveProtocolCC.d.ts +28 -28
  426. package/build/esm/cc/ZWaveProtocolCC.d.ts.map +1 -1
  427. package/build/esm/cc/ZWaveProtocolCC.js +0 -27
  428. package/build/esm/cc/ZWaveProtocolCC.js.map +1 -1
  429. package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts +4 -4
  430. package/build/esm/cc/manufacturerProprietary/FibaroCC.d.ts.map +1 -1
  431. package/build/esm/cc/manufacturerProprietary/FibaroCC.js +0 -3
  432. package/build/esm/cc/manufacturerProprietary/FibaroCC.js.map +1 -1
  433. package/build/esm/index.d.ts +1 -0
  434. package/build/esm/index.d.ts.map +1 -1
  435. package/build/esm/index_browser.d.ts +9 -0
  436. package/build/esm/index_browser.d.ts.map +1 -1
  437. package/build/esm/index_browser.js +8 -1
  438. package/build/esm/index_browser.js.map +1 -1
  439. package/build/esm/lib/API.d.ts +7 -5
  440. package/build/esm/lib/API.d.ts.map +1 -1
  441. package/build/esm/lib/API.js +1 -1
  442. package/build/esm/lib/API.js.map +1 -1
  443. package/build/esm/lib/CommandClass.d.ts +10 -21
  444. package/build/esm/lib/CommandClass.d.ts.map +1 -1
  445. package/build/esm/lib/CommandClass.js +8 -101
  446. package/build/esm/lib/CommandClass.js.map +1 -1
  447. package/build/esm/lib/CommandClassDecorators.d.ts +1 -1
  448. package/build/esm/lib/CommandClassDecorators.d.ts.map +1 -1
  449. package/build/esm/lib/CommandClassDecorators.js +1 -1
  450. package/build/esm/lib/CommandClassDecorators.js.map +1 -1
  451. package/build/esm/lib/Values.d.ts +2 -2
  452. package/build/esm/lib/Values.d.ts.map +1 -1
  453. package/build/esm/lib/Values.js.map +1 -1
  454. package/build/esm/lib/traits.d.ts +94 -0
  455. package/build/esm/lib/traits.d.ts.map +1 -0
  456. package/build/esm/lib/traits.js +2 -0
  457. package/build/esm/lib/traits.js.map +1 -0
  458. package/build/esm/lib/utils.d.ts +2 -2
  459. package/build/esm/lib/utils.d.ts.map +1 -1
  460. package/build/esm/lib/utils.js.map +1 -1
  461. package/package.json +13 -13
@@ -1,29 +1,37 @@
1
- import { CommandClasses, Duration, type MaybeNotKnown, type MaybeUnknown, type MessageOrCCLogEntry, type SupervisionResult, type WithAddress } from "@zwave-js/core/safe";
2
- import type { CCEncodingContext, CCParsingContext, GetValueDB } from "@zwave-js/host/safe";
1
+ import { type CCEncodingContext, type CCParsingContext } from "@zwave-js/cc";
2
+ import { CommandClasses, Duration, type GetValueDB, type MaybeNotKnown, type MaybeUnknown, type MessageOrCCLogEntry, type SupervisionResult, ValueMetadata, type WithAddress } from "@zwave-js/core/safe";
3
3
  import { Bytes } from "@zwave-js/shared/safe";
4
4
  import { CCAPI, POLL_VALUE, type PollValueImplementation, SET_VALUE, SET_VALUE_HOOKS, type SetValueImplementation, type SetValueImplementationHooksFactory } from "../lib/API.js";
5
5
  import { type CCRaw, CommandClass, type InterviewContext, type PersistValuesContext, type RefreshValuesContext } from "../lib/CommandClass.js";
6
6
  import { LevelChangeDirection, MultilevelSwitchCommand, SwitchType } from "../lib/_Types.js";
7
7
  export declare const MultilevelSwitchCCValues: Readonly<{
8
8
  levelChangeDown: ((switchType: SwitchType) => {
9
- readonly meta: {
10
- readonly label: `Perform a level change (${string})`;
11
- readonly valueChangeOptions: readonly ["transitionDuration"];
12
- readonly states: {
13
- readonly true: "Start";
14
- readonly false: "Stop";
15
- };
16
- readonly ccSpecific: {
17
- readonly switchType: SwitchType;
18
- };
19
- readonly readable: false;
20
- readonly type: "boolean";
9
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
10
+ readonly type: "any";
11
+ readonly readable: true;
21
12
  readonly writeable: true;
22
- };
23
- readonly id: {
24
- commandClass: (typeof CommandClasses)["Multilevel Switch"];
25
- property: string;
26
- };
13
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
14
+ readonly type: "any";
15
+ readonly readable: true;
16
+ readonly writeable: true;
17
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
18
+ readonly type: "any";
19
+ readonly readable: true;
20
+ readonly writeable: true;
21
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
22
+ readonly type: "any";
23
+ readonly readable: true;
24
+ readonly writeable: true;
25
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
26
+ readonly type: "any";
27
+ readonly readable: true;
28
+ readonly writeable: true;
29
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
30
+ readonly type: "any";
31
+ readonly readable: true;
32
+ readonly writeable: true;
33
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
34
+ readonly id: ValueIDBase;
27
35
  readonly endpoint: (endpoint?: number | undefined) => {
28
36
  readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
29
37
  readonly endpoint: number;
@@ -41,24 +49,32 @@ export declare const MultilevelSwitchCCValues: Readonly<{
41
49
  };
42
50
  };
43
51
  levelChangeUp: ((switchType: SwitchType) => {
44
- readonly meta: {
45
- readonly label: `Perform a level change (${string})`;
46
- readonly valueChangeOptions: readonly ["transitionDuration"];
47
- readonly states: {
48
- readonly true: "Start";
49
- readonly false: "Stop";
50
- };
51
- readonly ccSpecific: {
52
- readonly switchType: SwitchType;
53
- };
54
- readonly readable: false;
55
- readonly type: "boolean";
52
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
53
+ readonly type: "any";
54
+ readonly readable: true;
56
55
  readonly writeable: true;
57
- };
58
- readonly id: {
59
- commandClass: (typeof CommandClasses)["Multilevel Switch"];
60
- property: string;
61
- };
56
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
57
+ readonly type: "any";
58
+ readonly readable: true;
59
+ readonly writeable: true;
60
+ }>, ("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<{
61
+ readonly type: "any";
62
+ readonly readable: true;
63
+ readonly writeable: true;
64
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
65
+ readonly type: "any";
66
+ readonly readable: true;
67
+ readonly writeable: true;
68
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
69
+ readonly type: "any";
70
+ readonly readable: true;
71
+ readonly writeable: true;
72
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
73
+ readonly type: "any";
74
+ readonly readable: true;
75
+ readonly writeable: true;
76
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
77
+ readonly id: ValueIDBase;
62
78
  readonly endpoint: (endpoint?: number | undefined) => {
63
79
  readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
64
80
  readonly endpoint: number;
@@ -76,194 +92,543 @@ export declare const MultilevelSwitchCCValues: Readonly<{
76
92
  };
77
93
  };
78
94
  superviseStartStopLevelChange: {
79
- readonly id: {
80
- commandClass: (typeof CommandClasses)["Multilevel Switch"];
81
- property: "superviseStartStopLevelChange";
82
- };
95
+ readonly id: ValueIDBase;
83
96
  readonly endpoint: (endpoint?: number | undefined) => {
84
97
  readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
85
98
  readonly endpoint: number;
86
99
  readonly property: "superviseStartStopLevelChange";
87
100
  };
88
101
  readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
89
- readonly meta: {
102
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
90
103
  readonly type: "any";
91
104
  readonly readable: true;
92
105
  readonly writeable: true;
93
- };
94
- readonly options: {
106
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
107
+ readonly type: "any";
108
+ readonly readable: true;
109
+ readonly writeable: true;
110
+ }>, ("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<{
111
+ readonly type: "any";
112
+ readonly readable: true;
113
+ readonly writeable: true;
114
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
115
+ readonly type: "any";
116
+ readonly readable: true;
117
+ readonly writeable: true;
118
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
119
+ readonly type: "any";
120
+ readonly readable: true;
121
+ readonly writeable: true;
122
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
123
+ readonly type: "any";
124
+ readonly readable: true;
125
+ readonly writeable: true;
126
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
127
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
128
+ readonly internal: false;
129
+ readonly minVersion: 1;
130
+ readonly secret: false;
95
131
  readonly stateful: true;
132
+ readonly supportsEndpoints: true;
133
+ readonly autoCreate: true;
134
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
135
+ readonly internal: false;
136
+ readonly minVersion: 1;
96
137
  readonly secret: false;
138
+ readonly stateful: true;
139
+ readonly supportsEndpoints: true;
140
+ readonly autoCreate: true;
141
+ }, ("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"]> ? {
142
+ readonly internal: false;
97
143
  readonly minVersion: 1;
144
+ readonly secret: false;
145
+ readonly stateful: true;
146
+ readonly supportsEndpoints: true;
98
147
  readonly autoCreate: true;
99
- readonly internal: true;
100
- readonly supportsEndpoints: false;
101
- };
148
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
149
+ readonly internal: false;
150
+ readonly minVersion: 1;
151
+ readonly secret: false;
152
+ readonly stateful: true;
153
+ readonly supportsEndpoints: true;
154
+ readonly autoCreate: true;
155
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
156
+ readonly internal: false;
157
+ readonly minVersion: 1;
158
+ readonly secret: false;
159
+ readonly stateful: true;
160
+ readonly supportsEndpoints: true;
161
+ readonly autoCreate: true;
162
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
163
+ readonly internal: false;
164
+ readonly minVersion: 1;
165
+ readonly secret: false;
166
+ readonly stateful: true;
167
+ readonly supportsEndpoints: true;
168
+ readonly autoCreate: true;
169
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
102
170
  };
103
171
  switchType: {
104
- readonly id: {
105
- commandClass: (typeof CommandClasses)["Multilevel Switch"];
106
- property: "switchType";
107
- };
172
+ readonly id: ValueIDBase;
108
173
  readonly endpoint: (endpoint?: number | undefined) => {
109
174
  readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
110
175
  readonly endpoint: number;
111
176
  readonly property: "switchType";
112
177
  };
113
178
  readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
114
- readonly meta: {
179
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
115
180
  readonly type: "any";
116
181
  readonly readable: true;
117
182
  readonly writeable: true;
118
- };
119
- readonly options: {
183
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
184
+ readonly type: "any";
185
+ readonly readable: true;
186
+ readonly writeable: true;
187
+ }>, ("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<{
188
+ readonly type: "any";
189
+ readonly readable: true;
190
+ readonly writeable: true;
191
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
192
+ readonly type: "any";
193
+ readonly readable: true;
194
+ readonly writeable: true;
195
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
196
+ readonly type: "any";
197
+ readonly readable: true;
198
+ readonly writeable: true;
199
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
200
+ readonly type: "any";
201
+ readonly readable: true;
202
+ readonly writeable: true;
203
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
204
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
205
+ readonly internal: false;
206
+ readonly minVersion: 1;
207
+ readonly secret: false;
120
208
  readonly stateful: true;
209
+ readonly supportsEndpoints: true;
210
+ readonly autoCreate: true;
211
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
212
+ readonly internal: false;
213
+ readonly minVersion: 1;
121
214
  readonly secret: false;
215
+ readonly stateful: true;
216
+ readonly supportsEndpoints: true;
217
+ readonly autoCreate: true;
218
+ }, ("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"]> ? {
219
+ readonly internal: false;
122
220
  readonly minVersion: 1;
221
+ readonly secret: false;
222
+ readonly stateful: true;
123
223
  readonly supportsEndpoints: true;
124
224
  readonly autoCreate: true;
125
- readonly internal: true;
126
- };
225
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
226
+ readonly internal: false;
227
+ readonly minVersion: 1;
228
+ readonly secret: false;
229
+ readonly stateful: true;
230
+ readonly supportsEndpoints: true;
231
+ readonly autoCreate: true;
232
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
233
+ readonly internal: false;
234
+ readonly minVersion: 1;
235
+ readonly secret: false;
236
+ readonly stateful: true;
237
+ readonly supportsEndpoints: true;
238
+ readonly autoCreate: true;
239
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
240
+ readonly internal: false;
241
+ readonly minVersion: 1;
242
+ readonly secret: false;
243
+ readonly stateful: true;
244
+ readonly supportsEndpoints: true;
245
+ readonly autoCreate: true;
246
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
127
247
  };
128
248
  compatEvent: {
129
- readonly id: {
130
- commandClass: (typeof CommandClasses)["Multilevel Switch"];
131
- property: "event";
132
- };
249
+ readonly id: ValueIDBase;
133
250
  readonly endpoint: (endpoint?: number | undefined) => {
134
251
  readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
135
252
  readonly endpoint: number;
136
253
  readonly property: "event";
137
254
  };
138
255
  readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
139
- readonly meta: {
140
- readonly label: "Event value";
141
- readonly writeable: false;
142
- readonly min: 0;
143
- readonly max: 255;
144
- readonly type: "number";
256
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
257
+ readonly type: "any";
145
258
  readonly readable: true;
146
- };
147
- readonly options: {
259
+ readonly writeable: true;
260
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
261
+ readonly type: "any";
262
+ readonly readable: true;
263
+ readonly writeable: true;
264
+ }>, ("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<{
265
+ readonly type: "any";
266
+ readonly readable: true;
267
+ readonly writeable: true;
268
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
269
+ readonly type: "any";
270
+ readonly readable: true;
271
+ readonly writeable: true;
272
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
273
+ readonly type: "any";
274
+ readonly readable: true;
275
+ readonly writeable: true;
276
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
277
+ readonly type: "any";
278
+ readonly readable: true;
279
+ readonly writeable: true;
280
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
281
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
282
+ readonly internal: false;
283
+ readonly minVersion: 1;
148
284
  readonly secret: false;
285
+ readonly stateful: true;
286
+ readonly supportsEndpoints: true;
287
+ readonly autoCreate: true;
288
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
149
289
  readonly internal: false;
150
290
  readonly minVersion: 1;
291
+ readonly secret: false;
292
+ readonly stateful: true;
151
293
  readonly supportsEndpoints: true;
152
- readonly stateful: false;
153
- readonly autoCreate: (applHost: GetValueDB & import("@zwave-js/host/safe").GetDeviceConfig, endpoint: import("@zwave-js/core/safe").EndpointId) => boolean;
154
- };
294
+ readonly autoCreate: true;
295
+ }, ("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"]> ? {
296
+ readonly internal: false;
297
+ readonly minVersion: 1;
298
+ readonly secret: false;
299
+ readonly stateful: true;
300
+ readonly supportsEndpoints: true;
301
+ readonly autoCreate: true;
302
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
303
+ readonly internal: false;
304
+ readonly minVersion: 1;
305
+ readonly secret: false;
306
+ readonly stateful: true;
307
+ readonly supportsEndpoints: true;
308
+ readonly autoCreate: true;
309
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
310
+ readonly internal: false;
311
+ readonly minVersion: 1;
312
+ readonly secret: false;
313
+ readonly stateful: true;
314
+ readonly supportsEndpoints: true;
315
+ readonly autoCreate: true;
316
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
317
+ readonly internal: false;
318
+ readonly minVersion: 1;
319
+ readonly secret: false;
320
+ readonly stateful: true;
321
+ readonly supportsEndpoints: true;
322
+ readonly autoCreate: true;
323
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
155
324
  };
156
325
  restorePrevious: {
157
- readonly id: {
158
- commandClass: (typeof CommandClasses)["Multilevel Switch"];
159
- property: "restorePrevious";
160
- };
326
+ readonly id: ValueIDBase;
161
327
  readonly endpoint: (endpoint?: number | undefined) => {
162
328
  readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
163
329
  readonly endpoint: number;
164
330
  readonly property: "restorePrevious";
165
331
  };
166
332
  readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
167
- readonly meta: {
168
- readonly label: "Restore previous value";
169
- readonly states: {
170
- readonly true: "Restore";
171
- };
172
- readonly readable: false;
173
- readonly type: "boolean";
333
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
334
+ readonly type: "any";
335
+ readonly readable: true;
174
336
  readonly writeable: true;
175
- };
176
- readonly options: {
337
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
338
+ readonly type: "any";
339
+ readonly readable: true;
340
+ readonly writeable: true;
341
+ }>, ("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<{
342
+ readonly type: "any";
343
+ readonly readable: true;
344
+ readonly writeable: true;
345
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
346
+ readonly type: "any";
347
+ readonly readable: true;
348
+ readonly writeable: true;
349
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
350
+ readonly type: "any";
351
+ readonly readable: true;
352
+ readonly writeable: true;
353
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
354
+ readonly type: "any";
355
+ readonly readable: true;
356
+ readonly writeable: true;
357
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
358
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
177
359
  readonly internal: false;
178
360
  readonly minVersion: 1;
179
361
  readonly secret: false;
180
362
  readonly stateful: true;
181
363
  readonly supportsEndpoints: true;
182
364
  readonly autoCreate: true;
183
- };
365
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
366
+ readonly internal: false;
367
+ readonly minVersion: 1;
368
+ readonly secret: false;
369
+ readonly stateful: true;
370
+ readonly supportsEndpoints: true;
371
+ readonly autoCreate: true;
372
+ }, ("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"]> ? {
373
+ readonly internal: false;
374
+ readonly minVersion: 1;
375
+ readonly secret: false;
376
+ readonly stateful: true;
377
+ readonly supportsEndpoints: true;
378
+ readonly autoCreate: true;
379
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
380
+ readonly internal: false;
381
+ readonly minVersion: 1;
382
+ readonly secret: false;
383
+ readonly stateful: true;
384
+ readonly supportsEndpoints: true;
385
+ readonly autoCreate: true;
386
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
387
+ readonly internal: false;
388
+ readonly minVersion: 1;
389
+ readonly secret: false;
390
+ readonly stateful: true;
391
+ readonly supportsEndpoints: true;
392
+ readonly autoCreate: true;
393
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
394
+ readonly internal: false;
395
+ readonly minVersion: 1;
396
+ readonly secret: false;
397
+ readonly stateful: true;
398
+ readonly supportsEndpoints: true;
399
+ readonly autoCreate: true;
400
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
184
401
  };
185
402
  duration: {
186
- readonly id: {
187
- commandClass: (typeof CommandClasses)["Multilevel Switch"];
188
- property: "duration";
189
- };
403
+ readonly id: ValueIDBase;
190
404
  readonly endpoint: (endpoint?: number | undefined) => {
191
405
  readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
192
406
  readonly endpoint: number;
193
407
  readonly property: "duration";
194
408
  };
195
409
  readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
196
- readonly meta: {
197
- readonly label: "Remaining duration";
198
- readonly writeable: false;
199
- readonly type: "duration";
410
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
411
+ readonly type: "any";
200
412
  readonly readable: true;
201
- };
202
- readonly options: {
413
+ readonly writeable: true;
414
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
415
+ readonly type: "any";
416
+ readonly readable: true;
417
+ readonly writeable: true;
418
+ }>, ("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<{
419
+ readonly type: "any";
420
+ readonly readable: true;
421
+ readonly writeable: true;
422
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
423
+ readonly type: "any";
424
+ readonly readable: true;
425
+ readonly writeable: true;
426
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
427
+ readonly type: "any";
428
+ readonly readable: true;
429
+ readonly writeable: true;
430
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
431
+ readonly type: "any";
432
+ readonly readable: true;
433
+ readonly writeable: true;
434
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
435
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
203
436
  readonly internal: false;
204
437
  readonly minVersion: 1;
205
438
  readonly secret: false;
206
439
  readonly stateful: true;
207
440
  readonly supportsEndpoints: true;
208
441
  readonly autoCreate: true;
209
- };
442
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
443
+ readonly internal: false;
444
+ readonly minVersion: 1;
445
+ readonly secret: false;
446
+ readonly stateful: true;
447
+ readonly supportsEndpoints: true;
448
+ readonly autoCreate: true;
449
+ }, ("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"]> ? {
450
+ readonly internal: false;
451
+ readonly minVersion: 1;
452
+ readonly secret: false;
453
+ readonly stateful: true;
454
+ readonly supportsEndpoints: true;
455
+ readonly autoCreate: true;
456
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
457
+ readonly internal: false;
458
+ readonly minVersion: 1;
459
+ readonly secret: false;
460
+ readonly stateful: true;
461
+ readonly supportsEndpoints: true;
462
+ readonly autoCreate: true;
463
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
464
+ readonly internal: false;
465
+ readonly minVersion: 1;
466
+ readonly secret: false;
467
+ readonly stateful: true;
468
+ readonly supportsEndpoints: true;
469
+ readonly autoCreate: true;
470
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
471
+ readonly internal: false;
472
+ readonly minVersion: 1;
473
+ readonly secret: false;
474
+ readonly stateful: true;
475
+ readonly supportsEndpoints: true;
476
+ readonly autoCreate: true;
477
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
210
478
  };
211
479
  targetValue: {
212
- readonly id: {
213
- commandClass: (typeof CommandClasses)["Multilevel Switch"];
214
- property: "targetValue";
215
- };
480
+ readonly id: ValueIDBase;
216
481
  readonly endpoint: (endpoint?: number | undefined) => {
217
482
  readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
218
483
  readonly endpoint: number;
219
484
  readonly property: "targetValue";
220
485
  };
221
486
  readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
222
- readonly meta: {
223
- readonly label: "Target value";
224
- readonly valueChangeOptions: readonly ["transitionDuration"];
225
- readonly max: 99;
226
- readonly min: 0;
227
- readonly type: "number";
487
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
488
+ readonly type: "any";
228
489
  readonly readable: true;
229
490
  readonly writeable: true;
230
- };
231
- readonly options: {
491
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
492
+ readonly type: "any";
493
+ readonly readable: true;
494
+ readonly writeable: true;
495
+ }>, ("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<{
496
+ readonly type: "any";
497
+ readonly readable: true;
498
+ readonly writeable: true;
499
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
500
+ readonly type: "any";
501
+ readonly readable: true;
502
+ readonly writeable: true;
503
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
504
+ readonly type: "any";
505
+ readonly readable: true;
506
+ readonly writeable: true;
507
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
508
+ readonly type: "any";
509
+ readonly readable: true;
510
+ readonly writeable: true;
511
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
512
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
232
513
  readonly internal: false;
233
514
  readonly minVersion: 1;
234
515
  readonly secret: false;
235
516
  readonly stateful: true;
236
517
  readonly supportsEndpoints: true;
237
518
  readonly autoCreate: true;
238
- };
519
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
520
+ readonly internal: false;
521
+ readonly minVersion: 1;
522
+ readonly secret: false;
523
+ readonly stateful: true;
524
+ readonly supportsEndpoints: true;
525
+ readonly autoCreate: true;
526
+ }, ("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"]> ? {
527
+ readonly internal: false;
528
+ readonly minVersion: 1;
529
+ readonly secret: false;
530
+ readonly stateful: true;
531
+ readonly supportsEndpoints: true;
532
+ readonly autoCreate: true;
533
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
534
+ readonly internal: false;
535
+ readonly minVersion: 1;
536
+ readonly secret: false;
537
+ readonly stateful: true;
538
+ readonly supportsEndpoints: true;
539
+ readonly autoCreate: true;
540
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
541
+ readonly internal: false;
542
+ readonly minVersion: 1;
543
+ readonly secret: false;
544
+ readonly stateful: true;
545
+ readonly supportsEndpoints: true;
546
+ readonly autoCreate: true;
547
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
548
+ readonly internal: false;
549
+ readonly minVersion: 1;
550
+ readonly secret: false;
551
+ readonly stateful: true;
552
+ readonly supportsEndpoints: true;
553
+ readonly autoCreate: true;
554
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
239
555
  };
240
556
  currentValue: {
241
- readonly id: {
242
- commandClass: (typeof CommandClasses)["Multilevel Switch"];
243
- property: "currentValue";
244
- };
557
+ readonly id: ValueIDBase;
245
558
  readonly endpoint: (endpoint?: number | undefined) => {
246
559
  readonly commandClass: (typeof CommandClasses)["Multilevel Switch"];
247
560
  readonly endpoint: number;
248
561
  readonly property: "currentValue";
249
562
  };
250
563
  readonly is: (valueId: import("@zwave-js/core/safe").ValueID) => boolean;
251
- readonly meta: {
252
- readonly label: "Current value";
253
- readonly writeable: false;
254
- readonly max: 99;
255
- readonly min: 0;
256
- readonly type: "number";
564
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
565
+ readonly type: "any";
257
566
  readonly readable: true;
258
- };
259
- readonly options: {
567
+ readonly writeable: true;
568
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
569
+ readonly type: "any";
570
+ readonly readable: true;
571
+ readonly writeable: true;
572
+ }>, ("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<{
573
+ readonly type: "any";
574
+ readonly readable: true;
575
+ readonly writeable: true;
576
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
577
+ readonly type: "any";
578
+ readonly readable: true;
579
+ readonly writeable: true;
580
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
581
+ readonly type: "any";
582
+ readonly readable: true;
583
+ readonly writeable: true;
584
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
585
+ readonly type: "any";
586
+ readonly readable: true;
587
+ readonly writeable: true;
588
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
589
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
260
590
  readonly internal: false;
261
591
  readonly minVersion: 1;
262
592
  readonly secret: false;
263
593
  readonly stateful: true;
264
594
  readonly supportsEndpoints: true;
265
595
  readonly autoCreate: true;
266
- };
596
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
597
+ readonly internal: false;
598
+ readonly minVersion: 1;
599
+ readonly secret: false;
600
+ readonly stateful: true;
601
+ readonly supportsEndpoints: true;
602
+ readonly autoCreate: true;
603
+ }, ("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"]> ? {
604
+ readonly internal: false;
605
+ readonly minVersion: 1;
606
+ readonly secret: false;
607
+ readonly stateful: true;
608
+ readonly supportsEndpoints: true;
609
+ readonly autoCreate: true;
610
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
611
+ readonly internal: false;
612
+ readonly minVersion: 1;
613
+ readonly secret: false;
614
+ readonly stateful: true;
615
+ readonly supportsEndpoints: true;
616
+ readonly autoCreate: true;
617
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
618
+ readonly internal: false;
619
+ readonly minVersion: 1;
620
+ readonly secret: false;
621
+ readonly stateful: true;
622
+ readonly supportsEndpoints: true;
623
+ readonly autoCreate: true;
624
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
625
+ readonly internal: false;
626
+ readonly minVersion: 1;
627
+ readonly secret: false;
628
+ readonly stateful: true;
629
+ readonly supportsEndpoints: true;
630
+ readonly autoCreate: true;
631
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
267
632
  };
268
633
  }>;
269
634
  export declare class MultilevelSwitchCCAPI extends CCAPI {
@@ -299,7 +664,7 @@ export declare class MultilevelSwitchCCSet extends MultilevelSwitchCC {
299
664
  static from(raw: CCRaw, ctx: CCParsingContext): MultilevelSwitchCCSet;
300
665
  targetValue: number;
301
666
  duration: Duration | undefined;
302
- serialize(ctx: CCEncodingContext): Bytes;
667
+ serialize(ctx: CCEncodingContext): Promise<Bytes>;
303
668
  toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
304
669
  }
305
670
  export interface MultilevelSwitchCCReportOptions {
@@ -313,7 +678,7 @@ export declare class MultilevelSwitchCCReport extends MultilevelSwitchCC {
313
678
  targetValue: MaybeUnknown<number> | undefined;
314
679
  duration: Duration | undefined;
315
680
  currentValue: MaybeUnknown<number> | undefined;
316
- serialize(ctx: CCEncodingContext): Bytes;
681
+ serialize(ctx: CCEncodingContext): Promise<Bytes>;
317
682
  toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
318
683
  }
319
684
  export declare class MultilevelSwitchCCGet extends MultilevelSwitchCC {
@@ -336,7 +701,7 @@ export declare class MultilevelSwitchCCStartLevelChange extends MultilevelSwitch
336
701
  startLevel: number;
337
702
  ignoreStartLevel: boolean;
338
703
  direction: keyof typeof LevelChangeDirection;
339
- serialize(ctx: CCEncodingContext): Bytes;
704
+ serialize(ctx: CCEncodingContext): Promise<Bytes>;
340
705
  toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
341
706
  }
342
707
  export declare class MultilevelSwitchCCStopLevelChange extends MultilevelSwitchCC {
@@ -349,7 +714,7 @@ export declare class MultilevelSwitchCCSupportedReport extends MultilevelSwitchC
349
714
  static from(raw: CCRaw, ctx: CCParsingContext): MultilevelSwitchCCSupportedReport;
350
715
  readonly switchType: SwitchType;
351
716
  persistValues(ctx: PersistValuesContext): boolean;
352
- serialize(ctx: CCEncodingContext): Bytes;
717
+ serialize(ctx: CCEncodingContext): Promise<Bytes>;
353
718
  toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
354
719
  }
355
720
  export declare class MultilevelSwitchCCSupportedGet extends MultilevelSwitchCC {