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

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