@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,22 +1,39 @@
1
- import { type Notification, type NotificationState, type WithAddress } from "@zwave-js/core";
2
- import { CommandClasses, type ControlsCC, Duration, type EndpointId, type GetEndpoint, type MaybeNotKnown, type MessageOrCCLogEntry, type NodeId, type SinglecastCC, type SupervisionResult, type SupportsCC, type ValueID, type ValueMetadataNumeric } from "@zwave-js/core/safe";
3
- import type { CCEncodingContext, CCParsingContext, GetDeviceConfig, GetNode, GetSupportedCCVersion, GetValueDB } from "@zwave-js/host/safe";
1
+ import { type CCEncodingContext, type CCParsingContext } from "@zwave-js/cc";
2
+ import { type GetDeviceConfig } from "@zwave-js/config";
3
+ import { type GetNode, type GetSupportedCCVersion, type GetValueDB, type Notification, type NotificationState, type WithAddress } from "@zwave-js/core";
4
+ import { CommandClasses, type ControlsCC, Duration, type EndpointId, type GetEndpoint, type MaybeNotKnown, type MessageOrCCLogEntry, type NodeId, type SinglecastCC, type SupervisionResult, type SupportsCC, type ValueID, ValueMetadata, type ValueMetadataNumeric } from "@zwave-js/core/safe";
4
5
  import { Bytes } from "@zwave-js/shared/safe";
5
6
  import { POLL_VALUE, PhysicalCCAPI, type PollValueImplementation } from "../lib/API.js";
6
7
  import { CCRaw, CommandClass, type InterviewContext, type PersistValuesContext, type RefreshValuesContext } from "../lib/CommandClass.js";
7
8
  import { NotificationCommand } from "../lib/_Types.js";
8
9
  export declare const NotificationCCValues: Readonly<{
9
10
  notificationVariable: ((notificationName: string, variableName: string) => {
10
- readonly meta: {
11
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
11
12
  readonly type: "any";
12
13
  readonly readable: true;
13
14
  readonly writeable: true;
14
- };
15
- readonly id: {
16
- commandClass: CommandClasses.Notification;
17
- property: string;
18
- propertyKey: string;
19
- };
15
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
16
+ readonly type: "any";
17
+ readonly readable: true;
18
+ readonly writeable: true;
19
+ }>, ("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<{
20
+ readonly type: "any";
21
+ readonly readable: true;
22
+ readonly writeable: true;
23
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
24
+ readonly type: "any";
25
+ readonly readable: true;
26
+ readonly writeable: true;
27
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
28
+ readonly type: "any";
29
+ readonly readable: true;
30
+ readonly writeable: true;
31
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
32
+ readonly type: "any";
33
+ readonly readable: true;
34
+ readonly writeable: true;
35
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
36
+ readonly id: ValueIDBase;
20
37
  readonly endpoint: (endpoint?: number | undefined) => {
21
38
  readonly commandClass: CommandClasses.Notification;
22
39
  readonly endpoint: number;
@@ -35,22 +52,32 @@ export declare const NotificationCCValues: Readonly<{
35
52
  };
36
53
  };
37
54
  unknownNotificationVariable: ((notificationType: number, notificationName: string) => {
38
- readonly meta: {
39
- readonly label: `${string}: Unknown value`;
40
- readonly ccSpecific: {
41
- readonly notificationType: number;
42
- };
43
- readonly writeable: false;
44
- readonly min: 0;
45
- readonly max: 255;
46
- readonly type: "number";
55
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
56
+ readonly type: "any";
47
57
  readonly readable: true;
48
- };
49
- readonly id: {
50
- commandClass: CommandClasses.Notification;
51
- property: string;
52
- propertyKey: "unknown";
53
- };
58
+ readonly writeable: true;
59
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
60
+ readonly type: "any";
61
+ readonly readable: true;
62
+ readonly writeable: true;
63
+ }>, ("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<{
64
+ readonly type: "any";
65
+ readonly readable: true;
66
+ readonly writeable: true;
67
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
68
+ readonly type: "any";
69
+ readonly readable: true;
70
+ readonly writeable: true;
71
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
72
+ readonly type: "any";
73
+ readonly readable: true;
74
+ readonly writeable: true;
75
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
76
+ readonly type: "any";
77
+ readonly readable: true;
78
+ readonly writeable: true;
79
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
80
+ readonly id: ValueIDBase;
54
81
  readonly endpoint: (endpoint?: number | undefined) => {
55
82
  readonly commandClass: CommandClasses.Notification;
56
83
  readonly endpoint: number;
@@ -69,21 +96,32 @@ export declare const NotificationCCValues: Readonly<{
69
96
  };
70
97
  };
71
98
  unknownNotificationType: ((notificationType: number) => {
72
- readonly meta: {
73
- readonly label: `Unknown notification (${string})`;
74
- readonly ccSpecific: {
75
- readonly notificationType: number;
76
- };
77
- readonly writeable: false;
78
- readonly min: 0;
79
- readonly max: 255;
80
- readonly type: "number";
99
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
100
+ readonly type: "any";
81
101
  readonly readable: true;
82
- };
83
- readonly id: {
84
- commandClass: CommandClasses.Notification;
85
- property: string;
86
- };
102
+ readonly writeable: true;
103
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
104
+ readonly type: "any";
105
+ readonly readable: true;
106
+ readonly writeable: true;
107
+ }>, ("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<{
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"]>)[K]] ? never : K]: (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>;
124
+ readonly id: ValueIDBase;
87
125
  readonly endpoint: (endpoint?: number | undefined) => {
88
126
  readonly commandClass: CommandClasses.Notification;
89
127
  readonly endpoint: number;
@@ -101,16 +139,32 @@ export declare const NotificationCCValues: Readonly<{
101
139
  };
102
140
  };
103
141
  supportedNotificationEvents: ((notificationType: number) => {
104
- readonly meta: {
142
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
105
143
  readonly type: "any";
106
144
  readonly readable: true;
107
145
  readonly writeable: true;
108
- };
109
- readonly id: {
110
- commandClass: CommandClasses.Notification;
111
- property: "supportedNotificationEvents";
112
- propertyKey: number;
113
- };
146
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
147
+ readonly type: "any";
148
+ readonly readable: true;
149
+ readonly writeable: true;
150
+ }>, ("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<{
151
+ readonly type: "any";
152
+ readonly readable: true;
153
+ readonly writeable: true;
154
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
155
+ readonly type: "any";
156
+ readonly readable: true;
157
+ readonly writeable: true;
158
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
159
+ readonly type: "any";
160
+ readonly readable: true;
161
+ readonly writeable: true;
162
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
163
+ readonly type: "any";
164
+ readonly readable: true;
165
+ readonly writeable: true;
166
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
167
+ readonly id: ValueIDBase;
114
168
  readonly endpoint: (endpoint?: number | undefined) => {
115
169
  readonly commandClass: CommandClasses.Notification;
116
170
  readonly endpoint: number;
@@ -129,11 +183,7 @@ export declare const NotificationCCValues: Readonly<{
129
183
  };
130
184
  };
131
185
  doorTiltState: {
132
- readonly id: {
133
- commandClass: CommandClasses.Notification;
134
- property: "Access Control";
135
- propertyKey: "Door tilt state";
136
- };
186
+ readonly id: ValueIDBase;
137
187
  readonly endpoint: (endpoint?: number | undefined) => {
138
188
  readonly commandClass: CommandClasses.Notification;
139
189
  readonly endpoint: number;
@@ -141,36 +191,77 @@ export declare const NotificationCCValues: Readonly<{
141
191
  readonly propertyKey: "Door tilt state";
142
192
  };
143
193
  readonly is: (valueId: ValueID) => boolean;
144
- readonly meta: {
145
- readonly label: "Door tilt state";
146
- readonly states: {
147
- readonly 0: "Window/door is not tilted";
148
- readonly 1: "Window/door is tilted";
149
- };
150
- readonly ccSpecific: {
151
- readonly notificationType: 6;
152
- };
153
- readonly writeable: false;
154
- readonly min: 0;
155
- readonly max: 255;
156
- readonly type: "number";
194
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
195
+ readonly type: "any";
157
196
  readonly readable: true;
158
- };
159
- readonly options: {
197
+ readonly writeable: true;
198
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
199
+ readonly type: "any";
200
+ readonly readable: true;
201
+ readonly writeable: true;
202
+ }>, ("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<{
203
+ readonly type: "any";
204
+ readonly readable: true;
205
+ readonly writeable: true;
206
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
207
+ readonly type: "any";
208
+ readonly readable: true;
209
+ readonly writeable: true;
210
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
211
+ readonly type: "any";
212
+ readonly readable: true;
213
+ readonly writeable: true;
214
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
215
+ readonly type: "any";
216
+ readonly readable: true;
217
+ readonly writeable: true;
218
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
219
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
220
+ readonly internal: false;
221
+ readonly minVersion: 1;
222
+ readonly secret: false;
160
223
  readonly stateful: true;
224
+ readonly supportsEndpoints: true;
225
+ readonly autoCreate: true;
226
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
227
+ readonly internal: false;
228
+ readonly minVersion: 1;
161
229
  readonly secret: false;
230
+ readonly stateful: true;
231
+ readonly supportsEndpoints: true;
232
+ readonly autoCreate: true;
233
+ }, ("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"]> ? {
162
234
  readonly internal: false;
163
235
  readonly minVersion: 1;
236
+ readonly secret: false;
237
+ readonly stateful: true;
164
238
  readonly supportsEndpoints: true;
165
- readonly autoCreate: false;
166
- };
239
+ readonly autoCreate: true;
240
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
241
+ readonly internal: false;
242
+ readonly minVersion: 1;
243
+ readonly secret: false;
244
+ readonly stateful: true;
245
+ readonly supportsEndpoints: true;
246
+ readonly autoCreate: true;
247
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
248
+ readonly internal: false;
249
+ readonly minVersion: 1;
250
+ readonly secret: false;
251
+ readonly stateful: true;
252
+ readonly supportsEndpoints: true;
253
+ readonly autoCreate: true;
254
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
255
+ readonly internal: false;
256
+ readonly minVersion: 1;
257
+ readonly secret: false;
258
+ readonly stateful: true;
259
+ readonly supportsEndpoints: true;
260
+ readonly autoCreate: true;
261
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
167
262
  };
168
263
  doorStateSimple: {
169
- readonly id: {
170
- commandClass: CommandClasses.Notification;
171
- property: "Access Control";
172
- propertyKey: "Door state (simple)";
173
- };
264
+ readonly id: ValueIDBase;
174
265
  readonly endpoint: (endpoint?: number | undefined) => {
175
266
  readonly commandClass: CommandClasses.Notification;
176
267
  readonly endpoint: number;
@@ -178,185 +269,536 @@ export declare const NotificationCCValues: Readonly<{
178
269
  readonly propertyKey: "Door state (simple)";
179
270
  };
180
271
  readonly is: (valueId: ValueID) => boolean;
181
- readonly meta: {
182
- readonly label: "Door state (simple)";
183
- readonly states: {
184
- readonly 22: "Window/door is open";
185
- readonly 23: "Window/door is closed";
186
- };
187
- readonly ccSpecific: {
188
- readonly notificationType: 6;
189
- };
190
- readonly writeable: false;
191
- readonly min: 0;
192
- readonly max: 255;
193
- readonly type: "number";
272
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
273
+ readonly type: "any";
194
274
  readonly readable: true;
195
- };
196
- readonly options: {
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"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
281
+ readonly type: "any";
282
+ readonly readable: true;
283
+ readonly writeable: true;
284
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
285
+ readonly type: "any";
286
+ readonly readable: true;
287
+ readonly writeable: true;
288
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
289
+ readonly type: "any";
290
+ readonly readable: true;
291
+ readonly writeable: true;
292
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
293
+ readonly type: "any";
294
+ readonly readable: true;
295
+ readonly writeable: true;
296
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
297
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
298
+ readonly internal: false;
299
+ readonly minVersion: 1;
300
+ readonly secret: false;
197
301
  readonly stateful: true;
302
+ readonly supportsEndpoints: true;
303
+ readonly autoCreate: true;
304
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
305
+ readonly internal: false;
306
+ readonly minVersion: 1;
198
307
  readonly secret: false;
308
+ readonly stateful: true;
309
+ readonly supportsEndpoints: true;
310
+ readonly autoCreate: true;
311
+ }, ("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"]> ? {
199
312
  readonly internal: false;
200
313
  readonly minVersion: 1;
314
+ readonly secret: false;
315
+ readonly stateful: true;
201
316
  readonly supportsEndpoints: true;
202
- readonly autoCreate: (ctx: GetValueDB, endpoint: EndpointId) => boolean;
203
- };
317
+ readonly autoCreate: true;
318
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
319
+ readonly internal: false;
320
+ readonly minVersion: 1;
321
+ readonly secret: false;
322
+ readonly stateful: true;
323
+ readonly supportsEndpoints: true;
324
+ readonly autoCreate: true;
325
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
326
+ readonly internal: false;
327
+ readonly minVersion: 1;
328
+ readonly secret: false;
329
+ readonly stateful: true;
330
+ readonly supportsEndpoints: true;
331
+ readonly autoCreate: true;
332
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
333
+ readonly internal: false;
334
+ readonly minVersion: 1;
335
+ readonly secret: false;
336
+ readonly stateful: true;
337
+ readonly supportsEndpoints: true;
338
+ readonly autoCreate: true;
339
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
204
340
  };
205
341
  alarmLevel: {
206
- readonly id: {
207
- commandClass: CommandClasses.Notification;
208
- property: "alarmLevel";
209
- };
342
+ readonly id: ValueIDBase;
210
343
  readonly endpoint: (endpoint?: number | undefined) => {
211
344
  readonly commandClass: CommandClasses.Notification;
212
345
  readonly endpoint: number;
213
346
  readonly property: "alarmLevel";
214
347
  };
215
348
  readonly is: (valueId: ValueID) => boolean;
216
- readonly meta: {
217
- readonly label: "Alarm Level";
218
- readonly writeable: false;
219
- readonly min: 0;
220
- readonly max: 255;
221
- readonly type: "number";
349
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
350
+ readonly type: "any";
222
351
  readonly readable: true;
223
- };
224
- readonly options: {
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"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
358
+ readonly type: "any";
359
+ readonly readable: true;
360
+ readonly writeable: true;
361
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
362
+ readonly type: "any";
363
+ readonly readable: true;
364
+ readonly writeable: true;
365
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
366
+ readonly type: "any";
367
+ readonly readable: true;
368
+ readonly writeable: true;
369
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
370
+ readonly type: "any";
371
+ readonly readable: true;
372
+ readonly writeable: true;
373
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
374
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
225
375
  readonly internal: false;
226
376
  readonly minVersion: 1;
227
377
  readonly secret: false;
228
378
  readonly stateful: true;
229
379
  readonly supportsEndpoints: true;
230
380
  readonly autoCreate: true;
231
- };
381
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
382
+ readonly internal: false;
383
+ readonly minVersion: 1;
384
+ readonly secret: false;
385
+ readonly stateful: true;
386
+ readonly supportsEndpoints: true;
387
+ readonly autoCreate: true;
388
+ }, ("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"]> ? {
389
+ readonly internal: false;
390
+ readonly minVersion: 1;
391
+ readonly secret: false;
392
+ readonly stateful: true;
393
+ readonly supportsEndpoints: true;
394
+ readonly autoCreate: true;
395
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
396
+ readonly internal: false;
397
+ readonly minVersion: 1;
398
+ readonly secret: false;
399
+ readonly stateful: true;
400
+ readonly supportsEndpoints: true;
401
+ readonly autoCreate: true;
402
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
403
+ readonly internal: false;
404
+ readonly minVersion: 1;
405
+ readonly secret: false;
406
+ readonly stateful: true;
407
+ readonly supportsEndpoints: true;
408
+ readonly autoCreate: true;
409
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
410
+ readonly internal: false;
411
+ readonly minVersion: 1;
412
+ readonly secret: false;
413
+ readonly stateful: true;
414
+ readonly supportsEndpoints: true;
415
+ readonly autoCreate: true;
416
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
232
417
  };
233
418
  alarmType: {
234
- readonly id: {
235
- commandClass: CommandClasses.Notification;
236
- property: "alarmType";
237
- };
419
+ readonly id: ValueIDBase;
238
420
  readonly endpoint: (endpoint?: number | undefined) => {
239
421
  readonly commandClass: CommandClasses.Notification;
240
422
  readonly endpoint: number;
241
423
  readonly property: "alarmType";
242
424
  };
243
425
  readonly is: (valueId: ValueID) => boolean;
244
- readonly meta: {
245
- readonly label: "Alarm Type";
246
- readonly writeable: false;
247
- readonly min: 0;
248
- readonly max: 255;
249
- readonly type: "number";
426
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
427
+ readonly type: "any";
250
428
  readonly readable: true;
251
- };
252
- readonly options: {
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"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
435
+ readonly type: "any";
436
+ readonly readable: true;
437
+ readonly writeable: true;
438
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
439
+ readonly type: "any";
440
+ readonly readable: true;
441
+ readonly writeable: true;
442
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
443
+ readonly type: "any";
444
+ readonly readable: true;
445
+ readonly writeable: true;
446
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
447
+ readonly type: "any";
448
+ readonly readable: true;
449
+ readonly writeable: true;
450
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
451
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
253
452
  readonly internal: false;
254
453
  readonly minVersion: 1;
255
454
  readonly secret: false;
256
455
  readonly stateful: true;
257
456
  readonly supportsEndpoints: true;
258
457
  readonly autoCreate: true;
259
- };
458
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
459
+ readonly internal: false;
460
+ readonly minVersion: 1;
461
+ readonly secret: false;
462
+ readonly stateful: true;
463
+ readonly supportsEndpoints: true;
464
+ readonly autoCreate: true;
465
+ }, ("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"]> ? {
466
+ readonly internal: false;
467
+ readonly minVersion: 1;
468
+ readonly secret: false;
469
+ readonly stateful: true;
470
+ readonly supportsEndpoints: true;
471
+ readonly autoCreate: true;
472
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
473
+ readonly internal: false;
474
+ readonly minVersion: 1;
475
+ readonly secret: false;
476
+ readonly stateful: true;
477
+ readonly supportsEndpoints: true;
478
+ readonly autoCreate: true;
479
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
480
+ readonly internal: false;
481
+ readonly minVersion: 1;
482
+ readonly secret: false;
483
+ readonly stateful: true;
484
+ readonly supportsEndpoints: true;
485
+ readonly autoCreate: true;
486
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
487
+ readonly internal: false;
488
+ readonly minVersion: 1;
489
+ readonly secret: false;
490
+ readonly stateful: true;
491
+ readonly supportsEndpoints: true;
492
+ readonly autoCreate: true;
493
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
260
494
  };
261
495
  lastRefresh: {
262
- readonly id: {
263
- commandClass: CommandClasses.Notification;
264
- property: "lastRefresh";
265
- };
496
+ readonly id: ValueIDBase;
266
497
  readonly endpoint: (endpoint?: number | undefined) => {
267
498
  readonly commandClass: CommandClasses.Notification;
268
499
  readonly endpoint: number;
269
500
  readonly property: "lastRefresh";
270
501
  };
271
502
  readonly is: (valueId: ValueID) => boolean;
272
- readonly meta: {
503
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
273
504
  readonly type: "any";
274
505
  readonly readable: true;
275
506
  readonly writeable: true;
276
- };
277
- readonly options: {
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"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
512
+ readonly type: "any";
513
+ readonly readable: true;
514
+ readonly writeable: true;
515
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
516
+ readonly type: "any";
517
+ readonly readable: true;
518
+ readonly writeable: true;
519
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
520
+ readonly type: "any";
521
+ readonly readable: true;
522
+ readonly writeable: true;
523
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
524
+ readonly type: "any";
525
+ readonly readable: true;
526
+ readonly writeable: true;
527
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
528
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
529
+ readonly internal: false;
530
+ readonly minVersion: 1;
531
+ readonly secret: false;
532
+ readonly stateful: true;
533
+ readonly supportsEndpoints: true;
534
+ readonly autoCreate: true;
535
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
536
+ readonly internal: false;
537
+ readonly minVersion: 1;
538
+ readonly secret: false;
278
539
  readonly stateful: true;
540
+ readonly supportsEndpoints: true;
541
+ readonly autoCreate: true;
542
+ }, ("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"]> ? {
543
+ readonly internal: false;
544
+ readonly minVersion: 1;
279
545
  readonly secret: false;
546
+ readonly stateful: true;
547
+ readonly supportsEndpoints: true;
548
+ readonly autoCreate: true;
549
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
550
+ readonly internal: false;
280
551
  readonly minVersion: 1;
552
+ readonly secret: false;
553
+ readonly stateful: true;
281
554
  readonly supportsEndpoints: true;
282
555
  readonly autoCreate: true;
283
- readonly internal: true;
284
- };
556
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
557
+ readonly internal: false;
558
+ readonly minVersion: 1;
559
+ readonly secret: false;
560
+ readonly stateful: true;
561
+ readonly supportsEndpoints: true;
562
+ readonly autoCreate: true;
563
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
564
+ readonly internal: false;
565
+ readonly minVersion: 1;
566
+ readonly secret: false;
567
+ readonly stateful: true;
568
+ readonly supportsEndpoints: true;
569
+ readonly autoCreate: true;
570
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
285
571
  };
286
572
  notificationMode: {
287
- readonly id: {
288
- commandClass: CommandClasses.Notification;
289
- property: "notificationMode";
290
- };
573
+ readonly id: ValueIDBase;
291
574
  readonly endpoint: (endpoint?: number | undefined) => {
292
575
  readonly commandClass: CommandClasses.Notification;
293
576
  readonly endpoint: number;
294
577
  readonly property: "notificationMode";
295
578
  };
296
579
  readonly is: (valueId: ValueID) => boolean;
297
- readonly meta: {
580
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
298
581
  readonly type: "any";
299
582
  readonly readable: true;
300
583
  readonly writeable: true;
301
- };
302
- readonly options: {
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"]>) extends infer T ? { [K in keyof T as [undefined] extends [(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
589
+ readonly type: "any";
590
+ readonly readable: true;
591
+ readonly writeable: true;
592
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
593
+ readonly type: "any";
594
+ readonly readable: true;
595
+ readonly writeable: true;
596
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
597
+ readonly type: "any";
598
+ readonly readable: true;
599
+ readonly writeable: true;
600
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
601
+ readonly type: "any";
602
+ readonly readable: true;
603
+ readonly writeable: true;
604
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
605
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
606
+ readonly internal: false;
607
+ readonly minVersion: 1;
608
+ readonly secret: false;
303
609
  readonly stateful: true;
610
+ readonly supportsEndpoints: true;
611
+ readonly autoCreate: true;
612
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
613
+ readonly internal: false;
614
+ readonly minVersion: 1;
304
615
  readonly secret: false;
616
+ readonly stateful: true;
617
+ readonly supportsEndpoints: true;
618
+ readonly autoCreate: true;
619
+ }, ("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"]> ? {
620
+ readonly internal: false;
305
621
  readonly minVersion: 1;
622
+ readonly secret: false;
623
+ readonly stateful: true;
624
+ readonly supportsEndpoints: true;
306
625
  readonly autoCreate: true;
307
- readonly internal: true;
308
- readonly supportsEndpoints: false;
309
- };
626
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
627
+ readonly internal: false;
628
+ readonly minVersion: 1;
629
+ readonly secret: false;
630
+ readonly stateful: true;
631
+ readonly supportsEndpoints: true;
632
+ readonly autoCreate: true;
633
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
634
+ readonly internal: false;
635
+ readonly minVersion: 1;
636
+ readonly secret: false;
637
+ readonly stateful: true;
638
+ readonly supportsEndpoints: true;
639
+ readonly autoCreate: true;
640
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
641
+ readonly internal: false;
642
+ readonly minVersion: 1;
643
+ readonly secret: false;
644
+ readonly stateful: true;
645
+ readonly supportsEndpoints: true;
646
+ readonly autoCreate: true;
647
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
310
648
  };
311
649
  supportedNotificationTypes: {
312
- readonly id: {
313
- commandClass: CommandClasses.Notification;
314
- property: "supportedNotificationTypes";
315
- };
650
+ readonly id: ValueIDBase;
316
651
  readonly endpoint: (endpoint?: number | undefined) => {
317
652
  readonly commandClass: CommandClasses.Notification;
318
653
  readonly endpoint: number;
319
654
  readonly property: "supportedNotificationTypes";
320
655
  };
321
656
  readonly is: (valueId: ValueID) => boolean;
322
- readonly meta: {
657
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
323
658
  readonly type: "any";
324
659
  readonly readable: true;
325
660
  readonly writeable: true;
326
- };
327
- readonly options: {
661
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
662
+ readonly type: "any";
663
+ readonly readable: true;
664
+ readonly writeable: true;
665
+ }>, ("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<{
666
+ readonly type: "any";
667
+ readonly readable: true;
668
+ readonly writeable: true;
669
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
670
+ readonly type: "any";
671
+ readonly readable: true;
672
+ readonly writeable: true;
673
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
674
+ readonly type: "any";
675
+ readonly readable: true;
676
+ readonly writeable: true;
677
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
678
+ readonly type: "any";
679
+ readonly readable: true;
680
+ readonly writeable: true;
681
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
682
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
683
+ readonly internal: false;
684
+ readonly minVersion: 1;
685
+ readonly secret: false;
328
686
  readonly stateful: true;
687
+ readonly supportsEndpoints: true;
688
+ readonly autoCreate: true;
689
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
690
+ readonly internal: false;
691
+ readonly minVersion: 1;
692
+ readonly secret: false;
693
+ readonly stateful: true;
694
+ readonly supportsEndpoints: true;
695
+ readonly autoCreate: true;
696
+ }, ("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"]> ? {
697
+ readonly internal: false;
698
+ readonly minVersion: 1;
329
699
  readonly secret: false;
700
+ readonly stateful: true;
701
+ readonly supportsEndpoints: true;
702
+ readonly autoCreate: true;
703
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
704
+ readonly internal: false;
330
705
  readonly minVersion: 1;
706
+ readonly secret: false;
707
+ readonly stateful: true;
708
+ readonly supportsEndpoints: true;
331
709
  readonly autoCreate: true;
332
- readonly internal: true;
333
- readonly supportsEndpoints: false;
334
- };
710
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
711
+ readonly internal: false;
712
+ readonly minVersion: 1;
713
+ readonly secret: false;
714
+ readonly stateful: true;
715
+ readonly supportsEndpoints: true;
716
+ readonly autoCreate: true;
717
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
718
+ readonly internal: false;
719
+ readonly minVersion: 1;
720
+ readonly secret: false;
721
+ readonly stateful: true;
722
+ readonly supportsEndpoints: true;
723
+ readonly autoCreate: true;
724
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
335
725
  };
336
726
  supportsV1Alarm: {
337
- readonly id: {
338
- commandClass: CommandClasses.Notification;
339
- property: "supportsV1Alarm";
340
- };
727
+ readonly id: ValueIDBase;
341
728
  readonly endpoint: (endpoint?: number | undefined) => {
342
729
  readonly commandClass: CommandClasses.Notification;
343
730
  readonly endpoint: number;
344
731
  readonly property: "supportsV1Alarm";
345
732
  };
346
733
  readonly is: (valueId: ValueID) => boolean;
347
- readonly meta: {
734
+ readonly meta: Readonly<(ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
348
735
  readonly type: "any";
349
736
  readonly readable: true;
350
737
  readonly writeable: true;
351
- };
352
- readonly options: {
738
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
739
+ readonly type: "any";
740
+ readonly readable: true;
741
+ readonly writeable: true;
742
+ }>, ("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<{
743
+ readonly type: "any";
744
+ readonly readable: true;
745
+ readonly writeable: true;
746
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
747
+ readonly type: "any";
748
+ readonly readable: true;
749
+ readonly writeable: true;
750
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]] ? never : K]: (ValueMetadata extends NonNullable<TBlueprint["meta"]> ? Readonly<{
751
+ readonly type: "any";
752
+ readonly readable: true;
753
+ readonly writeable: true;
754
+ }> : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<Readonly<{
755
+ readonly type: "any";
756
+ readonly readable: true;
757
+ readonly writeable: true;
758
+ }>, ("type" | "readable" | "writeable") & keyof NonNullable<TBlueprint["meta"]>> & TBlueprint["meta"]>)[K]; } : never>;
759
+ readonly options: Readonly<(import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
760
+ readonly internal: false;
761
+ readonly minVersion: 1;
762
+ readonly secret: false;
353
763
  readonly stateful: true;
764
+ readonly supportsEndpoints: true;
765
+ readonly autoCreate: true;
766
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
767
+ readonly internal: false;
768
+ readonly minVersion: 1;
354
769
  readonly secret: false;
770
+ readonly stateful: true;
771
+ readonly supportsEndpoints: true;
772
+ readonly autoCreate: true;
773
+ }, ("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"]> ? {
774
+ readonly internal: false;
355
775
  readonly minVersion: 1;
776
+ readonly secret: false;
777
+ readonly stateful: true;
778
+ readonly supportsEndpoints: true;
356
779
  readonly autoCreate: true;
357
- readonly internal: true;
358
- readonly supportsEndpoints: false;
359
- };
780
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
781
+ readonly internal: false;
782
+ readonly minVersion: 1;
783
+ readonly secret: false;
784
+ readonly stateful: true;
785
+ readonly supportsEndpoints: true;
786
+ readonly autoCreate: true;
787
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]] ? never : K]: (import("@zwave-js/cc").CCValueOptions extends NonNullable<TBlueprint["options"]> ? {
788
+ readonly internal: false;
789
+ readonly minVersion: 1;
790
+ readonly secret: false;
791
+ readonly stateful: true;
792
+ readonly supportsEndpoints: true;
793
+ readonly autoCreate: true;
794
+ } : import("alcalzone-shared/types").Simplify<import("alcalzone-shared/types").Omit<{
795
+ readonly internal: false;
796
+ readonly minVersion: 1;
797
+ readonly secret: false;
798
+ readonly stateful: true;
799
+ readonly supportsEndpoints: true;
800
+ readonly autoCreate: true;
801
+ }, ("stateful" | "secret" | "internal" | "minVersion" | "supportsEndpoints" | "autoCreate") & keyof NonNullable<TBlueprint["options"]>> & TBlueprint["options"]>)[K]; } : never>;
360
802
  };
361
803
  }>;
362
804
  export declare class NotificationCCAPI extends PhysicalCCAPI {
@@ -395,7 +837,7 @@ export declare class NotificationCCSet extends NotificationCC {
395
837
  static from(raw: CCRaw, ctx: CCParsingContext): NotificationCCSet;
396
838
  notificationType: number;
397
839
  notificationStatus: boolean;
398
- serialize(ctx: CCEncodingContext): Bytes;
840
+ serialize(ctx: CCEncodingContext): Promise<Bytes>;
399
841
  toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
400
842
  }
401
843
  export type NotificationCCReportOptions = {
@@ -420,7 +862,7 @@ export declare class NotificationCCReport extends NotificationCC {
420
862
  sequenceNumber: number | undefined;
421
863
  toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
422
864
  private parseEventParameters;
423
- serialize(ctx: CCEncodingContext): Bytes;
865
+ serialize(ctx: CCEncodingContext): Promise<Bytes>;
424
866
  }
425
867
  export type NotificationCCGetOptions = {
426
868
  alarmType: number;
@@ -436,7 +878,7 @@ export declare class NotificationCCGet extends NotificationCC {
436
878
  /** Regulated V3+ notification type */
437
879
  notificationType: number | undefined;
438
880
  notificationEvent: number | undefined;
439
- serialize(ctx: CCEncodingContext): Bytes;
881
+ serialize(ctx: CCEncodingContext): Promise<Bytes>;
440
882
  toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
441
883
  }
442
884
  export interface NotificationCCSupportedReportOptions {
@@ -448,7 +890,7 @@ export declare class NotificationCCSupportedReport extends NotificationCC {
448
890
  static from(raw: CCRaw, ctx: CCParsingContext): NotificationCCSupportedReport;
449
891
  supportsV1Alarm: boolean;
450
892
  supportedNotificationTypes: number[];
451
- serialize(ctx: CCEncodingContext): Bytes;
893
+ serialize(ctx: CCEncodingContext): Promise<Bytes>;
452
894
  toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
453
895
  }
454
896
  export declare class NotificationCCSupportedGet extends NotificationCC {
@@ -463,7 +905,7 @@ export declare class NotificationCCEventSupportedReport extends NotificationCC {
463
905
  persistValues(ctx: PersistValuesContext): boolean;
464
906
  notificationType: number;
465
907
  supportedEvents: number[];
466
- serialize(ctx: CCEncodingContext): Bytes;
908
+ serialize(ctx: CCEncodingContext): Promise<Bytes>;
467
909
  toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
468
910
  }
469
911
  export interface NotificationCCEventSupportedGetOptions {
@@ -473,7 +915,7 @@ export declare class NotificationCCEventSupportedGet extends NotificationCC {
473
915
  constructor(options: WithAddress<NotificationCCEventSupportedGetOptions>);
474
916
  static from(raw: CCRaw, ctx: CCParsingContext): NotificationCCEventSupportedGet;
475
917
  notificationType: number;
476
- serialize(ctx: CCEncodingContext): Bytes;
918
+ serialize(ctx: CCEncodingContext): Promise<Bytes>;
477
919
  toLogEntry(ctx?: GetValueDB): MessageOrCCLogEntry;
478
920
  }
479
921
  //# sourceMappingURL=NotificationCC.d.ts.map