@matter/types 0.13.0-alpha.0-20250304-d4a7592a4 → 0.13.0-alpha.0-20250307-ebf84a05a

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 (807) hide show
  1. package/dist/cjs/clusters/access-control.d.ts +3972 -522
  2. package/dist/cjs/clusters/access-control.d.ts.map +1 -1
  3. package/dist/cjs/clusters/access-control.js +640 -116
  4. package/dist/cjs/clusters/access-control.js.map +2 -2
  5. package/dist/cjs/clusters/actions.d.ts +10 -9
  6. package/dist/cjs/clusters/actions.d.ts.map +1 -1
  7. package/dist/cjs/clusters/actions.js +4 -4
  8. package/dist/cjs/clusters/actions.js.map +1 -1
  9. package/dist/cjs/clusters/administrator-commissioning.d.ts +156 -129
  10. package/dist/cjs/clusters/administrator-commissioning.d.ts.map +1 -1
  11. package/dist/cjs/clusters/administrator-commissioning.js +40 -35
  12. package/dist/cjs/clusters/administrator-commissioning.js.map +1 -1
  13. package/dist/cjs/clusters/alarm-base.d.ts +9 -12
  14. package/dist/cjs/clusters/alarm-base.d.ts.map +1 -1
  15. package/dist/cjs/clusters/alarm-base.js +3 -4
  16. package/dist/cjs/clusters/alarm-base.js.map +1 -1
  17. package/dist/cjs/clusters/application-launcher.d.ts +27 -15
  18. package/dist/cjs/clusters/application-launcher.d.ts.map +1 -1
  19. package/dist/cjs/clusters/application-launcher.js +7 -4
  20. package/dist/cjs/clusters/application-launcher.js.map +1 -1
  21. package/dist/cjs/clusters/ballast-configuration.d.ts +7 -7
  22. package/dist/cjs/clusters/ballast-configuration.js +7 -7
  23. package/dist/cjs/clusters/basic-information.d.ts +29 -21
  24. package/dist/cjs/clusters/basic-information.d.ts.map +1 -1
  25. package/dist/cjs/clusters/basic-information.js +29 -21
  26. package/dist/cjs/clusters/basic-information.js.map +1 -1
  27. package/dist/cjs/clusters/bridged-device-basic-information.d.ts +816 -34
  28. package/dist/cjs/clusters/bridged-device-basic-information.d.ts.map +1 -1
  29. package/dist/cjs/clusters/bridged-device-basic-information.js +182 -29
  30. package/dist/cjs/clusters/bridged-device-basic-information.js.map +2 -2
  31. package/dist/cjs/clusters/channel.d.ts +115 -124
  32. package/dist/cjs/clusters/channel.d.ts.map +1 -1
  33. package/dist/cjs/clusters/channel.js +15 -16
  34. package/dist/cjs/clusters/channel.js.map +1 -1
  35. package/dist/cjs/clusters/color-control.d.ts +3076 -1366
  36. package/dist/cjs/clusters/color-control.d.ts.map +1 -1
  37. package/dist/cjs/clusters/color-control.js +423 -357
  38. package/dist/cjs/clusters/color-control.js.map +2 -2
  39. package/dist/cjs/clusters/commissioner-control.d.ts +268 -0
  40. package/dist/cjs/clusters/commissioner-control.d.ts.map +1 -0
  41. package/dist/cjs/clusters/commissioner-control.js +194 -0
  42. package/dist/cjs/clusters/commissioner-control.js.map +6 -0
  43. package/dist/cjs/clusters/content-control.d.ts +497 -221
  44. package/dist/cjs/clusters/content-control.d.ts.map +1 -1
  45. package/dist/cjs/clusters/content-control.js +59 -41
  46. package/dist/cjs/clusters/content-control.js.map +2 -2
  47. package/dist/cjs/clusters/content-launcher.d.ts +248 -215
  48. package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
  49. package/dist/cjs/clusters/content-launcher.js +16 -15
  50. package/dist/cjs/clusters/content-launcher.js.map +1 -1
  51. package/dist/cjs/clusters/device-energy-management-mode.d.ts +76 -333
  52. package/dist/cjs/clusters/device-energy-management-mode.d.ts.map +1 -1
  53. package/dist/cjs/clusters/device-energy-management-mode.js +26 -73
  54. package/dist/cjs/clusters/device-energy-management-mode.js.map +1 -1
  55. package/dist/cjs/clusters/device-energy-management.d.ts +1299 -930
  56. package/dist/cjs/clusters/device-energy-management.d.ts.map +1 -1
  57. package/dist/cjs/clusters/device-energy-management.js +189 -160
  58. package/dist/cjs/clusters/device-energy-management.js.map +2 -2
  59. package/dist/cjs/clusters/dishwasher-alarm.d.ts +14 -17
  60. package/dist/cjs/clusters/dishwasher-alarm.d.ts.map +1 -1
  61. package/dist/cjs/clusters/dishwasher-alarm.js +3 -4
  62. package/dist/cjs/clusters/dishwasher-alarm.js.map +1 -1
  63. package/dist/cjs/clusters/dishwasher-mode.d.ts +65 -105
  64. package/dist/cjs/clusters/dishwasher-mode.d.ts.map +1 -1
  65. package/dist/cjs/clusters/dishwasher-mode.js +12 -24
  66. package/dist/cjs/clusters/dishwasher-mode.js.map +1 -1
  67. package/dist/cjs/clusters/door-lock.d.ts +2751 -5427
  68. package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
  69. package/dist/cjs/clusters/door-lock.js +480 -802
  70. package/dist/cjs/clusters/door-lock.js.map +2 -2
  71. package/dist/cjs/clusters/ecosystem-information.d.ts +186 -0
  72. package/dist/cjs/clusters/ecosystem-information.d.ts.map +1 -0
  73. package/dist/cjs/clusters/ecosystem-information.js +154 -0
  74. package/dist/cjs/clusters/ecosystem-information.js.map +6 -0
  75. package/dist/cjs/clusters/electrical-energy-measurement.d.ts +363 -368
  76. package/dist/cjs/clusters/electrical-energy-measurement.d.ts.map +1 -1
  77. package/dist/cjs/clusters/electrical-energy-measurement.js +15 -16
  78. package/dist/cjs/clusters/electrical-energy-measurement.js.map +1 -1
  79. package/dist/cjs/clusters/energy-evse-mode.d.ts +92 -330
  80. package/dist/cjs/clusters/energy-evse-mode.d.ts.map +1 -1
  81. package/dist/cjs/clusters/energy-evse-mode.js +25 -72
  82. package/dist/cjs/clusters/energy-evse-mode.js.map +1 -1
  83. package/dist/cjs/clusters/energy-evse.d.ts +557 -273
  84. package/dist/cjs/clusters/energy-evse.d.ts.map +1 -1
  85. package/dist/cjs/clusters/energy-evse.js +107 -55
  86. package/dist/cjs/clusters/energy-evse.js.map +1 -1
  87. package/dist/cjs/clusters/energy-preference.d.ts +76 -76
  88. package/dist/cjs/clusters/energy-preference.d.ts.map +1 -1
  89. package/dist/cjs/clusters/energy-preference.js +15 -18
  90. package/dist/cjs/clusters/energy-preference.js.map +1 -1
  91. package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +3 -9
  92. package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts.map +1 -1
  93. package/dist/cjs/clusters/ethernet-network-diagnostics.js +1 -3
  94. package/dist/cjs/clusters/ethernet-network-diagnostics.js.map +1 -1
  95. package/dist/cjs/clusters/fan-control.d.ts +12 -12
  96. package/dist/cjs/clusters/fan-control.js +4 -4
  97. package/dist/cjs/clusters/fixed-label.d.ts +7 -2
  98. package/dist/cjs/clusters/fixed-label.d.ts.map +1 -1
  99. package/dist/cjs/clusters/fixed-label.js.map +1 -1
  100. package/dist/cjs/clusters/flow-measurement.d.ts +4 -4
  101. package/dist/cjs/clusters/flow-measurement.d.ts.map +1 -1
  102. package/dist/cjs/clusters/flow-measurement.js +6 -6
  103. package/dist/cjs/clusters/flow-measurement.js.map +1 -1
  104. package/dist/cjs/clusters/general-commissioning.d.ts +1416 -111
  105. package/dist/cjs/clusters/general-commissioning.d.ts.map +1 -1
  106. package/dist/cjs/clusters/general-commissioning.js +272 -54
  107. package/dist/cjs/clusters/general-commissioning.js.map +2 -2
  108. package/dist/cjs/clusters/general-diagnostics.d.ts +115 -122
  109. package/dist/cjs/clusters/general-diagnostics.d.ts.map +1 -1
  110. package/dist/cjs/clusters/general-diagnostics.js +31 -33
  111. package/dist/cjs/clusters/general-diagnostics.js.map +1 -1
  112. package/dist/cjs/clusters/group-key-management.d.ts +72 -82
  113. package/dist/cjs/clusters/group-key-management.d.ts.map +1 -1
  114. package/dist/cjs/clusters/group-key-management.js +19 -22
  115. package/dist/cjs/clusters/group-key-management.js.map +1 -1
  116. package/dist/cjs/clusters/groups.d.ts +9 -6
  117. package/dist/cjs/clusters/groups.d.ts.map +1 -1
  118. package/dist/cjs/clusters/groups.js +3 -2
  119. package/dist/cjs/clusters/groups.js.map +1 -1
  120. package/dist/cjs/clusters/icd-management.d.ts +223 -66
  121. package/dist/cjs/clusters/icd-management.d.ts.map +1 -1
  122. package/dist/cjs/clusters/icd-management.js +61 -23
  123. package/dist/cjs/clusters/icd-management.js.map +2 -2
  124. package/dist/cjs/clusters/identify.d.ts +12 -13
  125. package/dist/cjs/clusters/identify.d.ts.map +1 -1
  126. package/dist/cjs/clusters/identify.js +9 -10
  127. package/dist/cjs/clusters/identify.js.map +1 -1
  128. package/dist/cjs/clusters/illuminance-measurement.d.ts +7 -8
  129. package/dist/cjs/clusters/illuminance-measurement.d.ts.map +1 -1
  130. package/dist/cjs/clusters/illuminance-measurement.js +9 -10
  131. package/dist/cjs/clusters/illuminance-measurement.js.map +1 -1
  132. package/dist/cjs/clusters/index.d.ts +11 -1
  133. package/dist/cjs/clusters/index.d.ts.map +1 -1
  134. package/dist/cjs/clusters/index.js +33 -3
  135. package/dist/cjs/clusters/index.js.map +1 -1
  136. package/dist/cjs/clusters/joint-fabric-datastore-cluster.d.ts +1239 -0
  137. package/dist/cjs/clusters/joint-fabric-datastore-cluster.d.ts.map +1 -0
  138. package/dist/cjs/clusters/joint-fabric-datastore-cluster.js +490 -0
  139. package/dist/cjs/clusters/joint-fabric-datastore-cluster.js.map +6 -0
  140. package/dist/cjs/clusters/joint-fabric-pki.d.ts +174 -0
  141. package/dist/cjs/clusters/joint-fabric-pki.d.ts.map +1 -0
  142. package/dist/cjs/clusters/joint-fabric-pki.js +120 -0
  143. package/dist/cjs/clusters/joint-fabric-pki.js.map +6 -0
  144. package/dist/cjs/clusters/keypad-input.d.ts +2 -2
  145. package/dist/cjs/clusters/laundry-dryer-controls.d.ts +6 -7
  146. package/dist/cjs/clusters/laundry-dryer-controls.d.ts.map +1 -1
  147. package/dist/cjs/clusters/laundry-dryer-controls.js +5 -9
  148. package/dist/cjs/clusters/laundry-dryer-controls.js.map +1 -1
  149. package/dist/cjs/clusters/laundry-washer-controls.d.ts +74 -62
  150. package/dist/cjs/clusters/laundry-washer-controls.d.ts.map +1 -1
  151. package/dist/cjs/clusters/laundry-washer-controls.js +26 -25
  152. package/dist/cjs/clusters/laundry-washer-controls.js.map +1 -1
  153. package/dist/cjs/clusters/laundry-washer-mode.d.ts +69 -109
  154. package/dist/cjs/clusters/laundry-washer-mode.d.ts.map +1 -1
  155. package/dist/cjs/clusters/laundry-washer-mode.js +13 -25
  156. package/dist/cjs/clusters/laundry-washer-mode.js.map +1 -1
  157. package/dist/cjs/clusters/level-control.d.ts +209 -70
  158. package/dist/cjs/clusters/level-control.d.ts.map +1 -1
  159. package/dist/cjs/clusters/level-control.js +45 -12
  160. package/dist/cjs/clusters/level-control.js.map +1 -1
  161. package/dist/cjs/clusters/localization-configuration.d.ts +5 -6
  162. package/dist/cjs/clusters/localization-configuration.d.ts.map +1 -1
  163. package/dist/cjs/clusters/localization-configuration.js +5 -6
  164. package/dist/cjs/clusters/localization-configuration.js.map +1 -1
  165. package/dist/cjs/clusters/media-input.d.ts +9 -6
  166. package/dist/cjs/clusters/media-input.d.ts.map +1 -1
  167. package/dist/cjs/clusters/media-input.js +3 -2
  168. package/dist/cjs/clusters/media-input.js.map +1 -1
  169. package/dist/cjs/clusters/media-playback.d.ts +29 -24
  170. package/dist/cjs/clusters/media-playback.d.ts.map +1 -1
  171. package/dist/cjs/clusters/media-playback.js +5 -4
  172. package/dist/cjs/clusters/media-playback.js.map +1 -1
  173. package/dist/cjs/clusters/microwave-oven-control.d.ts +54 -48
  174. package/dist/cjs/clusters/microwave-oven-control.d.ts.map +1 -1
  175. package/dist/cjs/clusters/microwave-oven-control.js +19 -17
  176. package/dist/cjs/clusters/microwave-oven-control.js.map +1 -1
  177. package/dist/cjs/clusters/microwave-oven-mode.d.ts +63 -69
  178. package/dist/cjs/clusters/microwave-oven-mode.d.ts.map +1 -1
  179. package/dist/cjs/clusters/microwave-oven-mode.js +14 -11
  180. package/dist/cjs/clusters/microwave-oven-mode.js.map +1 -1
  181. package/dist/cjs/clusters/mode-base.d.ts +27 -46
  182. package/dist/cjs/clusters/mode-base.d.ts.map +1 -1
  183. package/dist/cjs/clusters/mode-base.js +9 -10
  184. package/dist/cjs/clusters/mode-base.js.map +1 -1
  185. package/dist/cjs/clusters/mode-select.d.ts +33 -27
  186. package/dist/cjs/clusters/mode-select.d.ts.map +1 -1
  187. package/dist/cjs/clusters/mode-select.js +14 -13
  188. package/dist/cjs/clusters/mode-select.js.map +1 -1
  189. package/dist/cjs/clusters/network-commissioning.d.ts +263 -240
  190. package/dist/cjs/clusters/network-commissioning.d.ts.map +1 -1
  191. package/dist/cjs/clusters/network-commissioning.js +46 -39
  192. package/dist/cjs/clusters/network-commissioning.js.map +1 -1
  193. package/dist/cjs/clusters/occupancy-sensing.d.ts +1002 -63
  194. package/dist/cjs/clusters/occupancy-sensing.d.ts.map +1 -1
  195. package/dist/cjs/clusters/occupancy-sensing.js +278 -63
  196. package/dist/cjs/clusters/occupancy-sensing.js.map +2 -2
  197. package/dist/cjs/clusters/on-off.d.ts +18 -24
  198. package/dist/cjs/clusters/on-off.d.ts.map +1 -1
  199. package/dist/cjs/clusters/on-off.js +3 -4
  200. package/dist/cjs/clusters/on-off.js.map +1 -1
  201. package/dist/cjs/clusters/operational-credentials.d.ts +98 -85
  202. package/dist/cjs/clusters/operational-credentials.d.ts.map +1 -1
  203. package/dist/cjs/clusters/operational-credentials.js +56 -49
  204. package/dist/cjs/clusters/operational-credentials.js.map +1 -1
  205. package/dist/cjs/clusters/operational-state.d.ts +136 -57
  206. package/dist/cjs/clusters/operational-state.d.ts.map +1 -1
  207. package/dist/cjs/clusters/operational-state.js +62 -36
  208. package/dist/cjs/clusters/operational-state.js.map +2 -2
  209. package/dist/cjs/clusters/ota-software-update-provider.d.ts +43 -42
  210. package/dist/cjs/clusters/ota-software-update-provider.d.ts.map +1 -1
  211. package/dist/cjs/clusters/ota-software-update-provider.js +20 -19
  212. package/dist/cjs/clusters/ota-software-update-provider.js.map +1 -1
  213. package/dist/cjs/clusters/ota-software-update-requestor.d.ts +6 -10
  214. package/dist/cjs/clusters/ota-software-update-requestor.d.ts.map +1 -1
  215. package/dist/cjs/clusters/ota-software-update-requestor.js +4 -6
  216. package/dist/cjs/clusters/ota-software-update-requestor.js.map +1 -1
  217. package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +44 -154
  218. package/dist/cjs/clusters/oven-cavity-operational-state.d.ts.map +1 -1
  219. package/dist/cjs/clusters/oven-cavity-operational-state.js +39 -156
  220. package/dist/cjs/clusters/oven-cavity-operational-state.js.map +1 -1
  221. package/dist/cjs/clusters/oven-mode.d.ts +79 -349
  222. package/dist/cjs/clusters/oven-mode.d.ts.map +1 -1
  223. package/dist/cjs/clusters/oven-mode.js +26 -82
  224. package/dist/cjs/clusters/oven-mode.js.map +1 -1
  225. package/dist/cjs/clusters/power-source.d.ts +169 -44
  226. package/dist/cjs/clusters/power-source.d.ts.map +1 -1
  227. package/dist/cjs/clusters/power-source.js +40 -16
  228. package/dist/cjs/clusters/power-source.js.map +1 -1
  229. package/dist/cjs/clusters/pressure-measurement.js +2 -2
  230. package/dist/cjs/clusters/pressure-measurement.js.map +1 -1
  231. package/dist/cjs/clusters/pump-configuration-and-control.d.ts +73 -63
  232. package/dist/cjs/clusters/pump-configuration-and-control.d.ts.map +1 -1
  233. package/dist/cjs/clusters/pump-configuration-and-control.js +19 -20
  234. package/dist/cjs/clusters/pump-configuration-and-control.js.map +1 -1
  235. package/dist/cjs/clusters/refrigerator-alarm.d.ts +2 -1
  236. package/dist/cjs/clusters/refrigerator-alarm.d.ts.map +1 -1
  237. package/dist/cjs/clusters/refrigerator-alarm.js.map +1 -1
  238. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +59 -91
  239. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
  240. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +11 -19
  241. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
  242. package/dist/cjs/clusters/relative-humidity-measurement.js +1 -1
  243. package/dist/cjs/clusters/relative-humidity-measurement.js.map +1 -1
  244. package/dist/cjs/clusters/rvc-clean-mode.d.ts +59 -103
  245. package/dist/cjs/clusters/rvc-clean-mode.d.ts.map +1 -1
  246. package/dist/cjs/clusters/rvc-clean-mode.js +11 -15
  247. package/dist/cjs/clusters/rvc-clean-mode.js.map +1 -1
  248. package/dist/cjs/clusters/rvc-operational-state.d.ts +81 -25
  249. package/dist/cjs/clusters/rvc-operational-state.d.ts.map +1 -1
  250. package/dist/cjs/clusters/rvc-operational-state.js +49 -20
  251. package/dist/cjs/clusters/rvc-operational-state.js.map +1 -1
  252. package/dist/cjs/clusters/rvc-run-mode.d.ts +85 -129
  253. package/dist/cjs/clusters/rvc-run-mode.d.ts.map +1 -1
  254. package/dist/cjs/clusters/rvc-run-mode.js +16 -15
  255. package/dist/cjs/clusters/rvc-run-mode.js.map +1 -1
  256. package/dist/cjs/clusters/scenes-management.d.ts +328 -181
  257. package/dist/cjs/clusters/scenes-management.d.ts.map +1 -1
  258. package/dist/cjs/clusters/scenes-management.js +37 -22
  259. package/dist/cjs/clusters/scenes-management.js.map +1 -1
  260. package/dist/cjs/clusters/service-area.d.ts +2052 -0
  261. package/dist/cjs/clusters/service-area.d.ts.map +1 -0
  262. package/dist/cjs/clusters/service-area.js +582 -0
  263. package/dist/cjs/clusters/service-area.js.map +6 -0
  264. package/dist/cjs/clusters/smoke-co-alarm.d.ts +10 -18
  265. package/dist/cjs/clusters/smoke-co-alarm.d.ts.map +1 -1
  266. package/dist/cjs/clusters/smoke-co-alarm.js +2 -3
  267. package/dist/cjs/clusters/smoke-co-alarm.js.map +1 -1
  268. package/dist/cjs/clusters/switch.d.ts +478 -191
  269. package/dist/cjs/clusters/switch.d.ts.map +1 -1
  270. package/dist/cjs/clusters/switch.js +145 -57
  271. package/dist/cjs/clusters/switch.js.map +1 -1
  272. package/dist/cjs/clusters/target-navigator.d.ts +1 -1
  273. package/dist/cjs/clusters/target-navigator.js +1 -1
  274. package/dist/cjs/clusters/thermostat.d.ts +3877 -830
  275. package/dist/cjs/clusters/thermostat.d.ts.map +1 -1
  276. package/dist/cjs/clusters/thermostat.js +841 -159
  277. package/dist/cjs/clusters/thermostat.js.map +2 -2
  278. package/dist/cjs/clusters/thread-border-router-management.d.ts +711 -0
  279. package/dist/cjs/clusters/thread-border-router-management.d.ts.map +1 -0
  280. package/dist/cjs/clusters/thread-border-router-management.js +265 -0
  281. package/dist/cjs/clusters/thread-border-router-management.js.map +6 -0
  282. package/dist/cjs/clusters/thread-network-diagnostics.d.ts +81 -55
  283. package/dist/cjs/clusters/thread-network-diagnostics.d.ts.map +1 -1
  284. package/dist/cjs/clusters/thread-network-diagnostics.js +32 -21
  285. package/dist/cjs/clusters/thread-network-diagnostics.js.map +1 -1
  286. package/dist/cjs/clusters/thread-network-directory.d.ts +250 -0
  287. package/dist/cjs/clusters/thread-network-directory.d.ts.map +1 -0
  288. package/dist/cjs/clusters/thread-network-directory.js +187 -0
  289. package/dist/cjs/clusters/thread-network-directory.js.map +6 -0
  290. package/dist/cjs/clusters/time-synchronization.d.ts +101 -76
  291. package/dist/cjs/clusters/time-synchronization.d.ts.map +1 -1
  292. package/dist/cjs/clusters/time-synchronization.js +30 -23
  293. package/dist/cjs/clusters/time-synchronization.js.map +1 -1
  294. package/dist/cjs/clusters/unit-localization.d.ts +3 -4
  295. package/dist/cjs/clusters/unit-localization.d.ts.map +1 -1
  296. package/dist/cjs/clusters/unit-localization.js.map +1 -1
  297. package/dist/cjs/clusters/user-label.d.ts +2 -1
  298. package/dist/cjs/clusters/user-label.d.ts.map +1 -1
  299. package/dist/cjs/clusters/user-label.js.map +1 -1
  300. package/dist/cjs/clusters/water-heater-management.d.ts +1371 -0
  301. package/dist/cjs/clusters/water-heater-management.d.ts.map +1 -0
  302. package/dist/cjs/clusters/water-heater-management.js +336 -0
  303. package/dist/cjs/clusters/water-heater-management.js.map +6 -0
  304. package/dist/cjs/clusters/water-heater-mode.d.ts +491 -0
  305. package/dist/cjs/clusters/water-heater-mode.d.ts.map +1 -0
  306. package/dist/cjs/clusters/water-heater-mode.js +195 -0
  307. package/dist/cjs/clusters/water-heater-mode.js.map +6 -0
  308. package/dist/cjs/clusters/water-tank-level-monitoring.d.ts +162 -0
  309. package/dist/cjs/clusters/water-tank-level-monitoring.d.ts.map +1 -0
  310. package/dist/cjs/clusters/water-tank-level-monitoring.js +47 -0
  311. package/dist/cjs/clusters/water-tank-level-monitoring.js.map +6 -0
  312. package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +20 -27
  313. package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts.map +1 -1
  314. package/dist/cjs/clusters/wi-fi-network-diagnostics.js +6 -8
  315. package/dist/cjs/clusters/wi-fi-network-diagnostics.js.map +1 -1
  316. package/dist/cjs/clusters/wi-fi-network-management.d.ts +91 -0
  317. package/dist/cjs/clusters/wi-fi-network-management.d.ts.map +1 -0
  318. package/dist/cjs/clusters/wi-fi-network-management.js +122 -0
  319. package/dist/cjs/clusters/wi-fi-network-management.js.map +6 -0
  320. package/dist/cjs/clusters/window-covering.d.ts +66 -78
  321. package/dist/cjs/clusters/window-covering.d.ts.map +1 -1
  322. package/dist/cjs/clusters/window-covering.js +26 -37
  323. package/dist/cjs/clusters/window-covering.js.map +1 -1
  324. package/dist/cjs/globals/AtomicAttributeStatus.d.ts +34 -0
  325. package/dist/cjs/globals/AtomicAttributeStatus.d.ts.map +1 -0
  326. package/dist/cjs/globals/AtomicAttributeStatus.js +46 -0
  327. package/dist/cjs/globals/AtomicAttributeStatus.js.map +6 -0
  328. package/dist/cjs/globals/AtomicRequestType.d.ts +24 -0
  329. package/dist/cjs/globals/AtomicRequestType.d.ts.map +1 -0
  330. package/dist/cjs/globals/AtomicRequestType.js +35 -0
  331. package/dist/cjs/globals/AtomicRequestType.js.map +6 -0
  332. package/dist/cjs/globals/Locationdesc.d.ts +79 -0
  333. package/dist/cjs/globals/Locationdesc.d.ts.map +1 -0
  334. package/dist/cjs/globals/Locationdesc.js +89 -0
  335. package/dist/cjs/globals/Locationdesc.js.map +6 -0
  336. package/dist/cjs/globals/Priority.d.ts +1 -1
  337. package/dist/cjs/globals/Semtag.d.ts +6 -6
  338. package/dist/cjs/globals/Semtag.js +4 -4
  339. package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
  340. package/dist/cjs/globals/Status.d.ts +18 -3
  341. package/dist/cjs/globals/Status.d.ts.map +1 -1
  342. package/dist/cjs/globals/Status.js +3 -1
  343. package/dist/cjs/globals/Status.js.map +1 -1
  344. package/dist/cjs/globals/Tod.d.ts +2 -2
  345. package/dist/cjs/globals/index.d.ts +3 -0
  346. package/dist/cjs/globals/index.d.ts.map +1 -1
  347. package/dist/cjs/globals/index.js +3 -0
  348. package/dist/cjs/globals/index.js.map +1 -1
  349. package/dist/cjs/schema/QrCodeSchema.d.ts.map +1 -1
  350. package/dist/cjs/schema/QrCodeSchema.js +4 -1
  351. package/dist/cjs/schema/QrCodeSchema.js.map +1 -1
  352. package/dist/esm/clusters/access-control.d.ts +3972 -522
  353. package/dist/esm/clusters/access-control.d.ts.map +1 -1
  354. package/dist/esm/clusters/access-control.js +645 -120
  355. package/dist/esm/clusters/access-control.js.map +2 -2
  356. package/dist/esm/clusters/actions.d.ts +10 -9
  357. package/dist/esm/clusters/actions.d.ts.map +1 -1
  358. package/dist/esm/clusters/actions.js +4 -4
  359. package/dist/esm/clusters/actions.js.map +1 -1
  360. package/dist/esm/clusters/administrator-commissioning.d.ts +156 -129
  361. package/dist/esm/clusters/administrator-commissioning.d.ts.map +1 -1
  362. package/dist/esm/clusters/administrator-commissioning.js +40 -35
  363. package/dist/esm/clusters/administrator-commissioning.js.map +1 -1
  364. package/dist/esm/clusters/alarm-base.d.ts +9 -12
  365. package/dist/esm/clusters/alarm-base.d.ts.map +1 -1
  366. package/dist/esm/clusters/alarm-base.js +3 -4
  367. package/dist/esm/clusters/alarm-base.js.map +1 -1
  368. package/dist/esm/clusters/application-launcher.d.ts +27 -15
  369. package/dist/esm/clusters/application-launcher.d.ts.map +1 -1
  370. package/dist/esm/clusters/application-launcher.js +7 -4
  371. package/dist/esm/clusters/application-launcher.js.map +1 -1
  372. package/dist/esm/clusters/ballast-configuration.d.ts +7 -7
  373. package/dist/esm/clusters/ballast-configuration.js +7 -7
  374. package/dist/esm/clusters/basic-information.d.ts +29 -21
  375. package/dist/esm/clusters/basic-information.d.ts.map +1 -1
  376. package/dist/esm/clusters/basic-information.js +29 -21
  377. package/dist/esm/clusters/basic-information.js.map +1 -1
  378. package/dist/esm/clusters/bridged-device-basic-information.d.ts +816 -34
  379. package/dist/esm/clusters/bridged-device-basic-information.d.ts.map +1 -1
  380. package/dist/esm/clusters/bridged-device-basic-information.js +188 -32
  381. package/dist/esm/clusters/bridged-device-basic-information.js.map +2 -2
  382. package/dist/esm/clusters/channel.d.ts +115 -124
  383. package/dist/esm/clusters/channel.d.ts.map +1 -1
  384. package/dist/esm/clusters/channel.js +15 -16
  385. package/dist/esm/clusters/channel.js.map +1 -1
  386. package/dist/esm/clusters/color-control.d.ts +3076 -1366
  387. package/dist/esm/clusters/color-control.d.ts.map +1 -1
  388. package/dist/esm/clusters/color-control.js +424 -358
  389. package/dist/esm/clusters/color-control.js.map +2 -2
  390. package/dist/esm/clusters/commissioner-control.d.ts +268 -0
  391. package/dist/esm/clusters/commissioner-control.d.ts.map +1 -0
  392. package/dist/esm/clusters/commissioner-control.js +174 -0
  393. package/dist/esm/clusters/commissioner-control.js.map +6 -0
  394. package/dist/esm/clusters/content-control.d.ts +497 -221
  395. package/dist/esm/clusters/content-control.d.ts.map +1 -1
  396. package/dist/esm/clusters/content-control.js +60 -42
  397. package/dist/esm/clusters/content-control.js.map +2 -2
  398. package/dist/esm/clusters/content-launcher.d.ts +248 -215
  399. package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
  400. package/dist/esm/clusters/content-launcher.js +16 -15
  401. package/dist/esm/clusters/content-launcher.js.map +1 -1
  402. package/dist/esm/clusters/device-energy-management-mode.d.ts +76 -333
  403. package/dist/esm/clusters/device-energy-management-mode.d.ts.map +1 -1
  404. package/dist/esm/clusters/device-energy-management-mode.js +26 -80
  405. package/dist/esm/clusters/device-energy-management-mode.js.map +1 -1
  406. package/dist/esm/clusters/device-energy-management.d.ts +1299 -930
  407. package/dist/esm/clusters/device-energy-management.d.ts.map +1 -1
  408. package/dist/esm/clusters/device-energy-management.js +189 -160
  409. package/dist/esm/clusters/device-energy-management.js.map +2 -2
  410. package/dist/esm/clusters/dishwasher-alarm.d.ts +14 -17
  411. package/dist/esm/clusters/dishwasher-alarm.d.ts.map +1 -1
  412. package/dist/esm/clusters/dishwasher-alarm.js +3 -4
  413. package/dist/esm/clusters/dishwasher-alarm.js.map +1 -1
  414. package/dist/esm/clusters/dishwasher-mode.d.ts +65 -105
  415. package/dist/esm/clusters/dishwasher-mode.d.ts.map +1 -1
  416. package/dist/esm/clusters/dishwasher-mode.js +13 -25
  417. package/dist/esm/clusters/dishwasher-mode.js.map +1 -1
  418. package/dist/esm/clusters/door-lock.d.ts +2751 -5427
  419. package/dist/esm/clusters/door-lock.d.ts.map +1 -1
  420. package/dist/esm/clusters/door-lock.js +482 -804
  421. package/dist/esm/clusters/door-lock.js.map +2 -2
  422. package/dist/esm/clusters/ecosystem-information.d.ts +186 -0
  423. package/dist/esm/clusters/ecosystem-information.d.ts.map +1 -0
  424. package/dist/esm/clusters/ecosystem-information.js +134 -0
  425. package/dist/esm/clusters/ecosystem-information.js.map +6 -0
  426. package/dist/esm/clusters/electrical-energy-measurement.d.ts +363 -368
  427. package/dist/esm/clusters/electrical-energy-measurement.d.ts.map +1 -1
  428. package/dist/esm/clusters/electrical-energy-measurement.js +15 -16
  429. package/dist/esm/clusters/electrical-energy-measurement.js.map +1 -1
  430. package/dist/esm/clusters/energy-evse-mode.d.ts +92 -330
  431. package/dist/esm/clusters/energy-evse-mode.d.ts.map +1 -1
  432. package/dist/esm/clusters/energy-evse-mode.js +25 -79
  433. package/dist/esm/clusters/energy-evse-mode.js.map +1 -1
  434. package/dist/esm/clusters/energy-evse.d.ts +557 -273
  435. package/dist/esm/clusters/energy-evse.d.ts.map +1 -1
  436. package/dist/esm/clusters/energy-evse.js +107 -55
  437. package/dist/esm/clusters/energy-evse.js.map +1 -1
  438. package/dist/esm/clusters/energy-preference.d.ts +76 -76
  439. package/dist/esm/clusters/energy-preference.d.ts.map +1 -1
  440. package/dist/esm/clusters/energy-preference.js +15 -18
  441. package/dist/esm/clusters/energy-preference.js.map +1 -1
  442. package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +3 -9
  443. package/dist/esm/clusters/ethernet-network-diagnostics.d.ts.map +1 -1
  444. package/dist/esm/clusters/ethernet-network-diagnostics.js +1 -3
  445. package/dist/esm/clusters/ethernet-network-diagnostics.js.map +1 -1
  446. package/dist/esm/clusters/fan-control.d.ts +12 -12
  447. package/dist/esm/clusters/fan-control.js +4 -4
  448. package/dist/esm/clusters/fixed-label.d.ts +7 -2
  449. package/dist/esm/clusters/fixed-label.d.ts.map +1 -1
  450. package/dist/esm/clusters/fixed-label.js.map +1 -1
  451. package/dist/esm/clusters/flow-measurement.d.ts +4 -4
  452. package/dist/esm/clusters/flow-measurement.d.ts.map +1 -1
  453. package/dist/esm/clusters/flow-measurement.js +6 -6
  454. package/dist/esm/clusters/flow-measurement.js.map +1 -1
  455. package/dist/esm/clusters/general-commissioning.d.ts +1416 -111
  456. package/dist/esm/clusters/general-commissioning.d.ts.map +1 -1
  457. package/dist/esm/clusters/general-commissioning.js +274 -56
  458. package/dist/esm/clusters/general-commissioning.js.map +2 -2
  459. package/dist/esm/clusters/general-diagnostics.d.ts +115 -122
  460. package/dist/esm/clusters/general-diagnostics.d.ts.map +1 -1
  461. package/dist/esm/clusters/general-diagnostics.js +31 -33
  462. package/dist/esm/clusters/general-diagnostics.js.map +1 -1
  463. package/dist/esm/clusters/group-key-management.d.ts +72 -82
  464. package/dist/esm/clusters/group-key-management.d.ts.map +1 -1
  465. package/dist/esm/clusters/group-key-management.js +19 -22
  466. package/dist/esm/clusters/group-key-management.js.map +1 -1
  467. package/dist/esm/clusters/groups.d.ts +9 -6
  468. package/dist/esm/clusters/groups.d.ts.map +1 -1
  469. package/dist/esm/clusters/groups.js +3 -2
  470. package/dist/esm/clusters/groups.js.map +1 -1
  471. package/dist/esm/clusters/icd-management.d.ts +223 -66
  472. package/dist/esm/clusters/icd-management.d.ts.map +1 -1
  473. package/dist/esm/clusters/icd-management.js +61 -23
  474. package/dist/esm/clusters/icd-management.js.map +2 -2
  475. package/dist/esm/clusters/identify.d.ts +12 -13
  476. package/dist/esm/clusters/identify.d.ts.map +1 -1
  477. package/dist/esm/clusters/identify.js +9 -10
  478. package/dist/esm/clusters/identify.js.map +1 -1
  479. package/dist/esm/clusters/illuminance-measurement.d.ts +7 -8
  480. package/dist/esm/clusters/illuminance-measurement.d.ts.map +1 -1
  481. package/dist/esm/clusters/illuminance-measurement.js +9 -10
  482. package/dist/esm/clusters/illuminance-measurement.js.map +1 -1
  483. package/dist/esm/clusters/index.d.ts +11 -1
  484. package/dist/esm/clusters/index.d.ts.map +1 -1
  485. package/dist/esm/clusters/index.js +36 -3
  486. package/dist/esm/clusters/index.js.map +1 -1
  487. package/dist/esm/clusters/joint-fabric-datastore-cluster.d.ts +1239 -0
  488. package/dist/esm/clusters/joint-fabric-datastore-cluster.d.ts.map +1 -0
  489. package/dist/esm/clusters/joint-fabric-datastore-cluster.js +470 -0
  490. package/dist/esm/clusters/joint-fabric-datastore-cluster.js.map +6 -0
  491. package/dist/esm/clusters/joint-fabric-pki.d.ts +174 -0
  492. package/dist/esm/clusters/joint-fabric-pki.d.ts.map +1 -0
  493. package/dist/esm/clusters/joint-fabric-pki.js +100 -0
  494. package/dist/esm/clusters/joint-fabric-pki.js.map +6 -0
  495. package/dist/esm/clusters/keypad-input.d.ts +2 -2
  496. package/dist/esm/clusters/laundry-dryer-controls.d.ts +6 -7
  497. package/dist/esm/clusters/laundry-dryer-controls.d.ts.map +1 -1
  498. package/dist/esm/clusters/laundry-dryer-controls.js +6 -10
  499. package/dist/esm/clusters/laundry-dryer-controls.js.map +1 -1
  500. package/dist/esm/clusters/laundry-washer-controls.d.ts +74 -62
  501. package/dist/esm/clusters/laundry-washer-controls.d.ts.map +1 -1
  502. package/dist/esm/clusters/laundry-washer-controls.js +26 -25
  503. package/dist/esm/clusters/laundry-washer-controls.js.map +1 -1
  504. package/dist/esm/clusters/laundry-washer-mode.d.ts +69 -109
  505. package/dist/esm/clusters/laundry-washer-mode.d.ts.map +1 -1
  506. package/dist/esm/clusters/laundry-washer-mode.js +14 -26
  507. package/dist/esm/clusters/laundry-washer-mode.js.map +1 -1
  508. package/dist/esm/clusters/level-control.d.ts +209 -70
  509. package/dist/esm/clusters/level-control.d.ts.map +1 -1
  510. package/dist/esm/clusters/level-control.js +45 -12
  511. package/dist/esm/clusters/level-control.js.map +1 -1
  512. package/dist/esm/clusters/localization-configuration.d.ts +5 -6
  513. package/dist/esm/clusters/localization-configuration.d.ts.map +1 -1
  514. package/dist/esm/clusters/localization-configuration.js +5 -6
  515. package/dist/esm/clusters/localization-configuration.js.map +1 -1
  516. package/dist/esm/clusters/media-input.d.ts +9 -6
  517. package/dist/esm/clusters/media-input.d.ts.map +1 -1
  518. package/dist/esm/clusters/media-input.js +3 -2
  519. package/dist/esm/clusters/media-input.js.map +1 -1
  520. package/dist/esm/clusters/media-playback.d.ts +29 -24
  521. package/dist/esm/clusters/media-playback.d.ts.map +1 -1
  522. package/dist/esm/clusters/media-playback.js +5 -4
  523. package/dist/esm/clusters/media-playback.js.map +1 -1
  524. package/dist/esm/clusters/microwave-oven-control.d.ts +54 -48
  525. package/dist/esm/clusters/microwave-oven-control.d.ts.map +1 -1
  526. package/dist/esm/clusters/microwave-oven-control.js +19 -17
  527. package/dist/esm/clusters/microwave-oven-control.js.map +1 -1
  528. package/dist/esm/clusters/microwave-oven-mode.d.ts +63 -69
  529. package/dist/esm/clusters/microwave-oven-mode.d.ts.map +1 -1
  530. package/dist/esm/clusters/microwave-oven-mode.js +14 -11
  531. package/dist/esm/clusters/microwave-oven-mode.js.map +1 -1
  532. package/dist/esm/clusters/mode-base.d.ts +27 -46
  533. package/dist/esm/clusters/mode-base.d.ts.map +1 -1
  534. package/dist/esm/clusters/mode-base.js +9 -10
  535. package/dist/esm/clusters/mode-base.js.map +1 -1
  536. package/dist/esm/clusters/mode-select.d.ts +33 -27
  537. package/dist/esm/clusters/mode-select.d.ts.map +1 -1
  538. package/dist/esm/clusters/mode-select.js +14 -13
  539. package/dist/esm/clusters/mode-select.js.map +1 -1
  540. package/dist/esm/clusters/network-commissioning.d.ts +263 -240
  541. package/dist/esm/clusters/network-commissioning.d.ts.map +1 -1
  542. package/dist/esm/clusters/network-commissioning.js +46 -39
  543. package/dist/esm/clusters/network-commissioning.js.map +1 -1
  544. package/dist/esm/clusters/occupancy-sensing.d.ts +1002 -63
  545. package/dist/esm/clusters/occupancy-sensing.d.ts.map +1 -1
  546. package/dist/esm/clusters/occupancy-sensing.js +287 -65
  547. package/dist/esm/clusters/occupancy-sensing.js.map +2 -2
  548. package/dist/esm/clusters/on-off.d.ts +18 -24
  549. package/dist/esm/clusters/on-off.d.ts.map +1 -1
  550. package/dist/esm/clusters/on-off.js +3 -4
  551. package/dist/esm/clusters/on-off.js.map +1 -1
  552. package/dist/esm/clusters/operational-credentials.d.ts +98 -85
  553. package/dist/esm/clusters/operational-credentials.d.ts.map +1 -1
  554. package/dist/esm/clusters/operational-credentials.js +56 -49
  555. package/dist/esm/clusters/operational-credentials.js.map +1 -1
  556. package/dist/esm/clusters/operational-state.d.ts +136 -57
  557. package/dist/esm/clusters/operational-state.d.ts.map +1 -1
  558. package/dist/esm/clusters/operational-state.js +63 -37
  559. package/dist/esm/clusters/operational-state.js.map +2 -2
  560. package/dist/esm/clusters/ota-software-update-provider.d.ts +43 -42
  561. package/dist/esm/clusters/ota-software-update-provider.d.ts.map +1 -1
  562. package/dist/esm/clusters/ota-software-update-provider.js +20 -19
  563. package/dist/esm/clusters/ota-software-update-provider.js.map +1 -1
  564. package/dist/esm/clusters/ota-software-update-requestor.d.ts +6 -10
  565. package/dist/esm/clusters/ota-software-update-requestor.d.ts.map +1 -1
  566. package/dist/esm/clusters/ota-software-update-requestor.js +4 -6
  567. package/dist/esm/clusters/ota-software-update-requestor.js.map +1 -1
  568. package/dist/esm/clusters/oven-cavity-operational-state.d.ts +44 -154
  569. package/dist/esm/clusters/oven-cavity-operational-state.d.ts.map +1 -1
  570. package/dist/esm/clusters/oven-cavity-operational-state.js +41 -166
  571. package/dist/esm/clusters/oven-cavity-operational-state.js.map +1 -1
  572. package/dist/esm/clusters/oven-mode.d.ts +79 -349
  573. package/dist/esm/clusters/oven-mode.d.ts.map +1 -1
  574. package/dist/esm/clusters/oven-mode.js +26 -89
  575. package/dist/esm/clusters/oven-mode.js.map +1 -1
  576. package/dist/esm/clusters/power-source.d.ts +169 -44
  577. package/dist/esm/clusters/power-source.d.ts.map +1 -1
  578. package/dist/esm/clusters/power-source.js +40 -16
  579. package/dist/esm/clusters/power-source.js.map +1 -1
  580. package/dist/esm/clusters/pressure-measurement.js +2 -2
  581. package/dist/esm/clusters/pressure-measurement.js.map +1 -1
  582. package/dist/esm/clusters/pump-configuration-and-control.d.ts +73 -63
  583. package/dist/esm/clusters/pump-configuration-and-control.d.ts.map +1 -1
  584. package/dist/esm/clusters/pump-configuration-and-control.js +19 -20
  585. package/dist/esm/clusters/pump-configuration-and-control.js.map +1 -1
  586. package/dist/esm/clusters/refrigerator-alarm.d.ts +2 -1
  587. package/dist/esm/clusters/refrigerator-alarm.d.ts.map +1 -1
  588. package/dist/esm/clusters/refrigerator-alarm.js.map +1 -1
  589. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +59 -91
  590. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
  591. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +12 -20
  592. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
  593. package/dist/esm/clusters/relative-humidity-measurement.js +1 -1
  594. package/dist/esm/clusters/relative-humidity-measurement.js.map +1 -1
  595. package/dist/esm/clusters/rvc-clean-mode.d.ts +59 -103
  596. package/dist/esm/clusters/rvc-clean-mode.d.ts.map +1 -1
  597. package/dist/esm/clusters/rvc-clean-mode.js +11 -15
  598. package/dist/esm/clusters/rvc-clean-mode.js.map +1 -1
  599. package/dist/esm/clusters/rvc-operational-state.d.ts +81 -25
  600. package/dist/esm/clusters/rvc-operational-state.d.ts.map +1 -1
  601. package/dist/esm/clusters/rvc-operational-state.js +49 -20
  602. package/dist/esm/clusters/rvc-operational-state.js.map +1 -1
  603. package/dist/esm/clusters/rvc-run-mode.d.ts +85 -129
  604. package/dist/esm/clusters/rvc-run-mode.d.ts.map +1 -1
  605. package/dist/esm/clusters/rvc-run-mode.js +16 -15
  606. package/dist/esm/clusters/rvc-run-mode.js.map +1 -1
  607. package/dist/esm/clusters/scenes-management.d.ts +328 -181
  608. package/dist/esm/clusters/scenes-management.d.ts.map +1 -1
  609. package/dist/esm/clusters/scenes-management.js +37 -22
  610. package/dist/esm/clusters/scenes-management.js.map +1 -1
  611. package/dist/esm/clusters/service-area.d.ts +2052 -0
  612. package/dist/esm/clusters/service-area.d.ts.map +1 -0
  613. package/dist/esm/clusters/service-area.js +562 -0
  614. package/dist/esm/clusters/service-area.js.map +6 -0
  615. package/dist/esm/clusters/smoke-co-alarm.d.ts +10 -18
  616. package/dist/esm/clusters/smoke-co-alarm.d.ts.map +1 -1
  617. package/dist/esm/clusters/smoke-co-alarm.js +2 -3
  618. package/dist/esm/clusters/smoke-co-alarm.js.map +1 -1
  619. package/dist/esm/clusters/switch.d.ts +478 -191
  620. package/dist/esm/clusters/switch.d.ts.map +1 -1
  621. package/dist/esm/clusters/switch.js +145 -57
  622. package/dist/esm/clusters/switch.js.map +1 -1
  623. package/dist/esm/clusters/target-navigator.d.ts +1 -1
  624. package/dist/esm/clusters/target-navigator.js +1 -1
  625. package/dist/esm/clusters/thermostat.d.ts +3877 -830
  626. package/dist/esm/clusters/thermostat.d.ts.map +1 -1
  627. package/dist/esm/clusters/thermostat.js +842 -160
  628. package/dist/esm/clusters/thermostat.js.map +2 -2
  629. package/dist/esm/clusters/thread-border-router-management.d.ts +711 -0
  630. package/dist/esm/clusters/thread-border-router-management.d.ts.map +1 -0
  631. package/dist/esm/clusters/thread-border-router-management.js +245 -0
  632. package/dist/esm/clusters/thread-border-router-management.js.map +6 -0
  633. package/dist/esm/clusters/thread-network-diagnostics.d.ts +81 -55
  634. package/dist/esm/clusters/thread-network-diagnostics.d.ts.map +1 -1
  635. package/dist/esm/clusters/thread-network-diagnostics.js +32 -21
  636. package/dist/esm/clusters/thread-network-diagnostics.js.map +1 -1
  637. package/dist/esm/clusters/thread-network-directory.d.ts +250 -0
  638. package/dist/esm/clusters/thread-network-directory.d.ts.map +1 -0
  639. package/dist/esm/clusters/thread-network-directory.js +167 -0
  640. package/dist/esm/clusters/thread-network-directory.js.map +6 -0
  641. package/dist/esm/clusters/time-synchronization.d.ts +101 -76
  642. package/dist/esm/clusters/time-synchronization.d.ts.map +1 -1
  643. package/dist/esm/clusters/time-synchronization.js +30 -23
  644. package/dist/esm/clusters/time-synchronization.js.map +1 -1
  645. package/dist/esm/clusters/unit-localization.d.ts +3 -4
  646. package/dist/esm/clusters/unit-localization.d.ts.map +1 -1
  647. package/dist/esm/clusters/unit-localization.js.map +1 -1
  648. package/dist/esm/clusters/user-label.d.ts +2 -1
  649. package/dist/esm/clusters/user-label.d.ts.map +1 -1
  650. package/dist/esm/clusters/user-label.js.map +1 -1
  651. package/dist/esm/clusters/water-heater-management.d.ts +1371 -0
  652. package/dist/esm/clusters/water-heater-management.d.ts.map +1 -0
  653. package/dist/esm/clusters/water-heater-management.js +325 -0
  654. package/dist/esm/clusters/water-heater-management.js.map +6 -0
  655. package/dist/esm/clusters/water-heater-mode.d.ts +491 -0
  656. package/dist/esm/clusters/water-heater-mode.d.ts.map +1 -0
  657. package/dist/esm/clusters/water-heater-mode.js +175 -0
  658. package/dist/esm/clusters/water-heater-mode.js.map +6 -0
  659. package/dist/esm/clusters/water-tank-level-monitoring.d.ts +162 -0
  660. package/dist/esm/clusters/water-tank-level-monitoring.d.ts.map +1 -0
  661. package/dist/esm/clusters/water-tank-level-monitoring.js +27 -0
  662. package/dist/esm/clusters/water-tank-level-monitoring.js.map +6 -0
  663. package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +20 -27
  664. package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts.map +1 -1
  665. package/dist/esm/clusters/wi-fi-network-diagnostics.js +6 -8
  666. package/dist/esm/clusters/wi-fi-network-diagnostics.js.map +1 -1
  667. package/dist/esm/clusters/wi-fi-network-management.d.ts +91 -0
  668. package/dist/esm/clusters/wi-fi-network-management.d.ts.map +1 -0
  669. package/dist/esm/clusters/wi-fi-network-management.js +102 -0
  670. package/dist/esm/clusters/wi-fi-network-management.js.map +6 -0
  671. package/dist/esm/clusters/window-covering.d.ts +66 -78
  672. package/dist/esm/clusters/window-covering.d.ts.map +1 -1
  673. package/dist/esm/clusters/window-covering.js +26 -37
  674. package/dist/esm/clusters/window-covering.js.map +1 -1
  675. package/dist/esm/globals/AtomicAttributeStatus.d.ts +34 -0
  676. package/dist/esm/globals/AtomicAttributeStatus.d.ts.map +1 -0
  677. package/dist/esm/globals/AtomicAttributeStatus.js +26 -0
  678. package/dist/esm/globals/AtomicAttributeStatus.js.map +6 -0
  679. package/dist/esm/globals/AtomicRequestType.d.ts +24 -0
  680. package/dist/esm/globals/AtomicRequestType.d.ts.map +1 -0
  681. package/dist/esm/globals/AtomicRequestType.js +15 -0
  682. package/dist/esm/globals/AtomicRequestType.js.map +6 -0
  683. package/dist/esm/globals/Locationdesc.d.ts +79 -0
  684. package/dist/esm/globals/Locationdesc.d.ts.map +1 -0
  685. package/dist/esm/globals/Locationdesc.js +69 -0
  686. package/dist/esm/globals/Locationdesc.js.map +6 -0
  687. package/dist/esm/globals/Priority.d.ts +1 -1
  688. package/dist/esm/globals/Semtag.d.ts +6 -6
  689. package/dist/esm/globals/Semtag.js +4 -4
  690. package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
  691. package/dist/esm/globals/Status.d.ts +18 -3
  692. package/dist/esm/globals/Status.d.ts.map +1 -1
  693. package/dist/esm/globals/Status.js +3 -1
  694. package/dist/esm/globals/Status.js.map +1 -1
  695. package/dist/esm/globals/Tod.d.ts +2 -2
  696. package/dist/esm/globals/index.d.ts +3 -0
  697. package/dist/esm/globals/index.d.ts.map +1 -1
  698. package/dist/esm/globals/index.js +3 -0
  699. package/dist/esm/globals/index.js.map +1 -1
  700. package/dist/esm/schema/QrCodeSchema.d.ts.map +1 -1
  701. package/dist/esm/schema/QrCodeSchema.js +4 -1
  702. package/dist/esm/schema/QrCodeSchema.js.map +1 -1
  703. package/package.json +5 -5
  704. package/src/clusters/access-control.ts +926 -171
  705. package/src/clusters/actions.ts +12 -11
  706. package/src/clusters/administrator-commissioning.ts +54 -35
  707. package/src/clusters/alarm-base.ts +3 -4
  708. package/src/clusters/application-launcher.ts +22 -7
  709. package/src/clusters/ballast-configuration.ts +7 -7
  710. package/src/clusters/basic-information.ts +29 -21
  711. package/src/clusters/bridged-device-basic-information.ts +264 -41
  712. package/src/clusters/channel.ts +20 -17
  713. package/src/clusters/color-control.ts +589 -426
  714. package/src/clusters/commissioner-control.ts +282 -0
  715. package/src/clusters/content-control.ts +48 -54
  716. package/src/clusters/content-launcher.ts +16 -15
  717. package/src/clusters/device-energy-management-mode.ts +63 -161
  718. package/src/clusters/device-energy-management.ts +246 -193
  719. package/src/clusters/dishwasher-alarm.ts +5 -5
  720. package/src/clusters/dishwasher-mode.ts +46 -87
  721. package/src/clusters/door-lock.ts +786 -1235
  722. package/src/clusters/ecosystem-information.ts +200 -0
  723. package/src/clusters/electrical-energy-measurement.ts +15 -16
  724. package/src/clusters/energy-evse-mode.ts +81 -158
  725. package/src/clusters/energy-evse.ts +138 -72
  726. package/src/clusters/energy-preference.ts +34 -28
  727. package/src/clusters/ethernet-network-diagnostics.ts +1 -3
  728. package/src/clusters/fan-control.ts +5 -5
  729. package/src/clusters/fixed-label.ts +7 -2
  730. package/src/clusters/flow-measurement.ts +6 -6
  731. package/src/clusters/general-commissioning.ts +396 -96
  732. package/src/clusters/general-diagnostics.ts +31 -33
  733. package/src/clusters/group-key-management.ts +22 -24
  734. package/src/clusters/groups.ts +3 -2
  735. package/src/clusters/icd-management.ts +88 -31
  736. package/src/clusters/identify.ts +9 -10
  737. package/src/clusters/illuminance-measurement.ts +9 -10
  738. package/src/clusters/index.ts +14 -1
  739. package/src/clusters/joint-fabric-datastore-cluster.ts +657 -0
  740. package/src/clusters/joint-fabric-pki.ts +202 -0
  741. package/src/clusters/keypad-input.ts +2 -2
  742. package/src/clusters/laundry-dryer-controls.ts +6 -10
  743. package/src/clusters/laundry-washer-controls.ts +28 -27
  744. package/src/clusters/laundry-washer-mode.ts +49 -90
  745. package/src/clusters/level-control.ts +45 -12
  746. package/src/clusters/localization-configuration.ts +5 -6
  747. package/src/clusters/media-input.ts +3 -2
  748. package/src/clusters/media-playback.ts +9 -7
  749. package/src/clusters/microwave-oven-control.ts +19 -17
  750. package/src/clusters/microwave-oven-mode.ts +42 -61
  751. package/src/clusters/mode-base.ts +16 -33
  752. package/src/clusters/mode-select.ts +17 -14
  753. package/src/clusters/network-commissioning.ts +47 -40
  754. package/src/clusters/occupancy-sensing.ts +433 -72
  755. package/src/clusters/on-off.ts +6 -8
  756. package/src/clusters/operational-credentials.ts +54 -47
  757. package/src/clusters/operational-state.ts +136 -58
  758. package/src/clusters/ota-software-update-provider.ts +23 -23
  759. package/src/clusters/ota-software-update-requestor.ts +4 -6
  760. package/src/clusters/oven-cavity-operational-state.ts +43 -171
  761. package/src/clusters/oven-mode.ts +76 -178
  762. package/src/clusters/power-source.ts +45 -21
  763. package/src/clusters/pressure-measurement.ts +2 -2
  764. package/src/clusters/pump-configuration-and-control.ts +35 -23
  765. package/src/clusters/refrigerator-alarm.ts +2 -1
  766. package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +41 -78
  767. package/src/clusters/relative-humidity-measurement.ts +1 -1
  768. package/src/clusters/rvc-clean-mode.ts +42 -101
  769. package/src/clusters/rvc-operational-state.ts +87 -25
  770. package/src/clusters/rvc-run-mode.ts +62 -126
  771. package/src/clusters/scenes-management.ts +38 -23
  772. package/src/clusters/service-area.ts +904 -0
  773. package/src/clusters/smoke-co-alarm.ts +6 -12
  774. package/src/clusters/switch.ts +177 -78
  775. package/src/clusters/target-navigator.ts +1 -1
  776. package/src/clusters/thermostat.ts +1245 -214
  777. package/src/clusters/thread-border-router-management.ts +355 -0
  778. package/src/clusters/thread-network-diagnostics.ts +34 -21
  779. package/src/clusters/thread-network-directory.ts +256 -0
  780. package/src/clusters/time-synchronization.ts +30 -23
  781. package/src/clusters/unit-localization.ts +3 -4
  782. package/src/clusters/user-label.ts +2 -1
  783. package/src/clusters/water-heater-management.ts +457 -0
  784. package/src/clusters/water-heater-mode.ts +301 -0
  785. package/src/clusters/water-tank-level-monitoring.ts +50 -0
  786. package/src/clusters/wi-fi-network-diagnostics.ts +6 -8
  787. package/src/clusters/wi-fi-network-management.ts +119 -0
  788. package/src/clusters/window-covering.ts +26 -37
  789. package/src/globals/AtomicAttributeStatus.ts +41 -0
  790. package/src/globals/AtomicRequestType.ts +27 -0
  791. package/src/globals/Locationdesc.ts +88 -0
  792. package/src/globals/Priority.ts +1 -1
  793. package/src/globals/Semtag.ts +6 -6
  794. package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
  795. package/src/globals/Status.ts +20 -3
  796. package/src/globals/Tod.ts +2 -2
  797. package/src/globals/index.ts +3 -0
  798. package/src/schema/QrCodeSchema.ts +7 -2
  799. package/dist/cjs/clusters/pulse-width-modulation.d.ts +0 -2023
  800. package/dist/cjs/clusters/pulse-width-modulation.d.ts.map +0 -1
  801. package/dist/cjs/clusters/pulse-width-modulation.js +0 -51
  802. package/dist/cjs/clusters/pulse-width-modulation.js.map +0 -6
  803. package/dist/esm/clusters/pulse-width-modulation.d.ts +0 -2023
  804. package/dist/esm/clusters/pulse-width-modulation.d.ts.map +0 -1
  805. package/dist/esm/clusters/pulse-width-modulation.js +0 -31
  806. package/dist/esm/clusters/pulse-width-modulation.js.map +0 -6
  807. package/src/clusters/pulse-width-modulation.ts +0 -54
@@ -16,7 +16,7 @@ import {
16
16
  } from "../cluster/Cluster.js";
17
17
  import { TlvUInt8, TlvEnum, TlvUInt16, TlvBitmap, TlvInt16 } from "../tlv/TlvNumber.js";
18
18
  import { TlvField, TlvObject } from "../tlv/TlvObject.js";
19
- import { BitFlag, BitField } from "../schema/BitmapSchema.js";
19
+ import { BitFlag } from "../schema/BitmapSchema.js";
20
20
  import { TlvNullable } from "../tlv/TlvNullable.js";
21
21
  import { AccessLevel } from "#model";
22
22
  import { TlvString } from "../tlv/TlvString.js";
@@ -33,32 +33,38 @@ var ColorControl;
33
33
  })(Feature = ColorControl2.Feature || (ColorControl2.Feature = {}));
34
34
  let Direction;
35
35
  ((Direction2) => {
36
- Direction2[Direction2["ShortestDistance"] = 0] = "ShortestDistance";
37
- Direction2[Direction2["LongestDistance"] = 1] = "LongestDistance";
36
+ Direction2[Direction2["Shortest"] = 0] = "Shortest";
37
+ Direction2[Direction2["Longest"] = 1] = "Longest";
38
38
  Direction2[Direction2["Up"] = 2] = "Up";
39
39
  Direction2[Direction2["Down"] = 3] = "Down";
40
40
  })(Direction = ColorControl2.Direction || (ColorControl2.Direction = {}));
41
- ColorControl2.Options = { executeIfOff: BitFlag(0) };
41
+ ColorControl2.Options = {
42
+ /**
43
+ * Dependency on On/Off cluster
44
+ *
45
+ * This bit shall indicate if this cluster server instance has a dependency with the On/Off cluster.
46
+ *
47
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.6.2.1
48
+ */
49
+ executeIfOff: BitFlag(0)
50
+ };
42
51
  ColorControl2.TlvMoveToHueRequest = TlvObject({
43
52
  /**
44
- * The Hue field specifies the hue to be moved to.
53
+ * This field shall indicate the hue to be moved to.
45
54
  *
46
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.4.1
55
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4.1
47
56
  */
48
57
  hue: TlvField(0, TlvUInt8.bound({ max: 254 })),
49
58
  /**
50
- * The Direction field shall be one of the non-reserved values in Values of the Direction Field.
51
- *
52
- * ### Table 17. Values of the Direction Field
59
+ * This field shall indicate the movement direction.
53
60
  *
54
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.4.2
61
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4.2
55
62
  */
56
63
  direction: TlvField(1, TlvEnum()),
57
64
  /**
58
- * The TransitionTime field specifies, in 1/10ths of a second, the time that shall be taken to move to the new
59
- * hue.
65
+ * This field shall indicate, in 1/10ths of a second, the time that shall be taken to move to the new hue.
60
66
  *
61
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.4.3
67
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4.3
62
68
  */
63
69
  transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
64
70
  optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -72,21 +78,16 @@ var ColorControl;
72
78
  })(MoveMode = ColorControl2.MoveMode || (ColorControl2.MoveMode = {}));
73
79
  ColorControl2.TlvMoveHueRequest = TlvObject({
74
80
  /**
75
- * The MoveMode field shall be one of the non-reserved values in Values of the MoveMode Field. If the MoveMode
76
- * field is equal to 0 (Stop), the Rate field shall be ignored.
81
+ * This field shall indicate the mode of movement.
77
82
  *
78
- * ### Table 18. Values of the MoveMode Field
79
- *
80
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.5.1
83
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5.1
81
84
  */
82
85
  moveMode: TlvField(0, TlvEnum()),
83
86
  /**
84
- * The Rate field specifies the rate of movement in steps per second. A step is a change in the device’s hue of
85
- * one unit. If the MoveMode field is set to 1 (up) or 3 (down) and the Rate field has a value of zero, the
86
- * command has no effect and a response command shall be sent in response, with the status code set to
87
- * INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
87
+ * This field shall indicate the rate of movement in steps per second. A step is a change in the device’s hue
88
+ * of one unit.
88
89
  *
89
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.5.2
90
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5.2
90
91
  */
91
92
  rate: TlvField(1, TlvUInt8),
92
93
  optionsMask: TlvField(2, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -99,29 +100,29 @@ var ColorControl;
99
100
  })(StepMode = ColorControl2.StepMode || (ColorControl2.StepMode = {}));
100
101
  ColorControl2.TlvStepHueRequest = TlvObject({
101
102
  /**
102
- * The StepMode field shall be one of the non-reserved values in Values of the StepMode Field.
103
- *
104
- * ### Table 20. Values of the StepMode Field
103
+ * This field shall indicate the mode of the step to be performed.
105
104
  *
106
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.6.1
105
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6.1
107
106
  */
108
107
  stepMode: TlvField(0, TlvEnum()),
109
108
  /**
110
- * The change to be added to (or subtracted from) the current value of the device’s hue.
109
+ * This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
110
+ * hue.
111
111
  *
112
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.6.2
112
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6.2
113
113
  */
114
114
  stepSize: TlvField(1, TlvUInt8),
115
115
  /**
116
- * The TransitionTime field specifies, in 1/10ths of a second, the time that shall be taken to perform the
117
- * step. A step is a change in the device’s hue of ‘Step size’ units.
116
+ * This field shall indicate, in 1/10ths of a second, the time that shall be taken to perform the step.
117
+ *
118
+ * A step is a change in the device’s hue of Step size units.
118
119
  *
119
120
  * NOTE
120
121
  *
121
122
  * Here the TransitionTime data field is of data type uint8, where uint16 is more common for TransitionTime
122
123
  * data fields in other clusters / commands.
123
124
  *
124
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.6.3
125
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6.3
125
126
  */
126
127
  transitionTime: TlvField(2, TlvUInt8),
127
128
  optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -135,21 +136,16 @@ var ColorControl;
135
136
  });
136
137
  ColorControl2.TlvMoveSaturationRequest = TlvObject({
137
138
  /**
138
- * The MoveMode field shall be one of the non-reserved values in Values of the MoveMode Field. If the MoveMode
139
- * field is equal to 0 (Stop), the Rate field shall be ignored.
139
+ * This field shall indicate the mode of movement, as described in the MoveHue command.
140
140
  *
141
- * ### Table 22. Values of the MoveMode Field
142
- *
143
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.8.1
141
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8.1
144
142
  */
145
143
  moveMode: TlvField(0, TlvEnum()),
146
144
  /**
147
- * The Rate field specifies the rate of movement in steps per second. A step is a change in the device’s
148
- * saturation of one unit. If the MoveMode field is set to 1 (up) or 3 (down) and the Rate field has a value of
149
- * zero, the command has no effect and a response command shall be sent in response, with the status code set
150
- * to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
145
+ * This field shall indicate the rate of movement in steps per second. A step is a change in the device’s
146
+ * saturation of one unit.
151
147
  *
152
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.8.2
148
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8.2
153
149
  */
154
150
  rate: TlvField(1, TlvUInt8),
155
151
  optionsMask: TlvField(2, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -157,29 +153,28 @@ var ColorControl;
157
153
  });
158
154
  ColorControl2.TlvStepSaturationRequest = TlvObject({
159
155
  /**
160
- * The StepMode field shall be one of the non-reserved values in Values of the StepMode Field.
161
- *
162
- * ### Table 24. Values of the StepMode Field
156
+ * This field shall indicate the mode of the step to be performed, as described in the StepHue command.
163
157
  *
164
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.9.1
158
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9.1
165
159
  */
166
160
  stepMode: TlvField(0, TlvEnum()),
167
161
  /**
168
- * The change to be added to (or subtracted from) the current value of the device’s saturation.
162
+ * This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
163
+ * saturation.
169
164
  *
170
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.9.2
165
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9.2
171
166
  */
172
167
  stepSize: TlvField(1, TlvUInt8),
173
168
  /**
174
- * The TransitionTime field specifies, in 1/10ths of a second, the time that shall be taken to perform the
175
- * step. A step is a change in the device’s saturation of Step size units.
169
+ * This field shall indicate, in 1/10ths of a second, the time that shall be taken to perform the step. A step
170
+ * is a change in the device’s saturation of Step size units.
176
171
  *
177
172
  * NOTE
178
173
  *
179
174
  * Here the TransitionTime data field is of data type uint8, where uint16 is more common for TransitionTime
180
175
  * data fields in other clusters / commands.
181
176
  *
182
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.9.3
177
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9.3
183
178
  */
184
179
  transitionTime: TlvField(2, TlvUInt8),
185
180
  optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -201,17 +196,17 @@ var ColorControl;
201
196
  });
202
197
  ColorControl2.TlvMoveColorRequest = TlvObject({
203
198
  /**
204
- * The RateX field specifies the rate of movement in steps per second. A step is a change in the device’s
199
+ * This field shall indicate the rate of movement in steps per second. A step is a change in the device’s
205
200
  * CurrentX attribute of one unit.
206
201
  *
207
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.12.1
202
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12.1
208
203
  */
209
204
  rateX: TlvField(0, TlvInt16),
210
205
  /**
211
- * The RateY field specifies the rate of movement in steps per second. A step is a change in the device’s
206
+ * This field shall indicate the rate of movement in steps per second. A step is a change in the device’s
212
207
  * CurrentY attribute of one unit.
213
208
  *
214
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.12.2
209
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12.2
215
210
  */
216
211
  rateY: TlvField(1, TlvInt16),
217
212
  optionsMask: TlvField(2, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -221,10 +216,9 @@ var ColorControl;
221
216
  stepX: TlvField(0, TlvInt16),
222
217
  stepY: TlvField(1, TlvInt16),
223
218
  /**
224
- * The TransitionTime field specifies, in 1/10ths of a second, the time that shall be taken to perform the
225
- * color change.
219
+ * The field shall indicate, in 1/10ths of a second, the time that shall be taken to perform the color change.
226
220
  *
227
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.13.2
221
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.13.2
228
222
  */
229
223
  transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
230
224
  optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -238,24 +232,21 @@ var ColorControl;
238
232
  });
239
233
  ColorControl2.TlvMoveColorTemperatureRequest = TlvObject({
240
234
  /**
241
- * This field is identical to the MoveMode field of the MoveHue command of the Color Control cluster (see
242
- * sub-clause MoveHue Command). If the MoveMode field is equal to 0 (Stop), the Rate field shall be ignored.
235
+ * This field shall indicate the mode of movement, as described in the MoveHue command.
243
236
  *
244
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.21.1
237
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.1
245
238
  */
246
239
  moveMode: TlvField(0, TlvEnum()),
247
240
  /**
248
- * The Rate field specifies the rate of movement in steps per second. A step is a change in the color
249
- * temperature of a device by one unit. If the MoveMode field is set to 1 (up) or 3 (down) and the Rate field
250
- * has a value of zero, the command has no effect and a response command shall be sent in response, with the
251
- * status code set to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
241
+ * This field shall indicate the rate of movement in steps per second. A step is a change in the color
242
+ * temperature of a device by one unit.
252
243
  *
253
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.21.2
244
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.2
254
245
  */
255
246
  rate: TlvField(1, TlvUInt16),
256
247
  /**
257
- * The ColorTemperatureMinimumMireds field specifies a lower bound on the ColorTemperatureMireds attribute (≡
258
- * an upper bound on the color temperature in kelvins) for the current move operation
248
+ * This field shall indicate a lower bound on the ColorTemperatureMireds attribute (≡ an upper bound on the
249
+ * color temperature in kelvins) for the current move operation
259
250
  *
260
251
  * ColorTempPhysicalMinMireds <= ColorTemperatureMinimumMireds field <= ColorTemperatureMireds
261
252
  *
@@ -264,12 +255,12 @@ var ColorControl;
264
255
  * ColorTemperatureMinimumMireds field is set to 0, ColorTempPhysicalMinMireds shall be used as the lower bound
265
256
  * for the ColorTemperatureMireds attribute.
266
257
  *
267
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.21.3
258
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.3
268
259
  */
269
260
  colorTemperatureMinimumMireds: TlvField(2, TlvUInt16.bound({ max: 65279 })),
270
261
  /**
271
- * The ColorTemperatureMaximumMireds field specifies an upper bound on the ColorTemperatureMireds attribute (≡
272
- * a lower bound on the color temperature in kelvins) for the current move operation
262
+ * This field shall indicate an upper bound on the ColorTemperatureMireds attribute (≡ a lower bound on the
263
+ * color temperature in kelvins) for the current move operation
273
264
  *
274
265
  * ColorTemperatureMireds <= ColorTemperatureMaximumMireds field <= ColorTempPhysicalMaxMireds
275
266
  *
@@ -278,7 +269,7 @@ var ColorControl;
278
269
  * ColorTemperatureMaximumMireds field is set to 0, ColorTempPhysicalMaxMireds shall be used as the upper bound
279
270
  * for the ColorTemperatureMireds attribute.
280
271
  *
281
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.21.4
272
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21.4
282
273
  */
283
274
  colorTemperatureMaximumMireds: TlvField(3, TlvUInt16.bound({ max: 65279 })),
284
275
  optionsMask: TlvField(4, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -286,53 +277,52 @@ var ColorControl;
286
277
  });
287
278
  ColorControl2.TlvStepColorTemperatureRequest = TlvObject({
288
279
  /**
289
- * This field is identical to the StepMode field of the StepHue command of the Color Control cluster (see
290
- * sub-clause StepHue Command).
280
+ * This field shall indicate the mode of the step to be performed, as described in the StepHue command.
291
281
  *
292
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.22.1
282
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.1
293
283
  */
294
284
  stepMode: TlvField(0, TlvEnum()),
295
285
  /**
296
- * The StepSize field specifies the change to be added to (or subtracted from) the current value of the
297
- * device’s color temperature.
286
+ * This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
287
+ * color temperature.
298
288
  *
299
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.22.2
289
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.2
300
290
  */
301
291
  stepSize: TlvField(1, TlvUInt16),
302
292
  /**
303
- * The TransitionTime field specifies, in units of 1/10ths of a second, the time that shall be taken to perform
304
- * the step. A step is a change to the device’s color temperature of a magnitude corresponding to the StepSize
293
+ * This field shall indicate, in units of 1/10ths of a second, the time that shall be taken to perform the
294
+ * step. A step is a change to the device’s color temperature of a magnitude corresponding to the StepSize
305
295
  * field.
306
296
  *
307
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.22.3
297
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.3
308
298
  */
309
299
  transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
310
300
  /**
311
- * The ColorTemperatureMinimumMireds field specifies a lower bound on the ColorTemperatureMireds attribute (≡
312
- * an upper bound on the color temperature in kelvins) for the current step operation
301
+ * This field shall indicate a lower bound on the ColorTemperatureMireds attribute (≡ an upper bound on the
302
+ * color temperature in kelvins) for the current step operation
313
303
  *
314
304
  * ColorTempPhysicalMinMireds <= ColorTemperatureMinimumMireds field <= ColorTemperatureMireds
315
305
  *
316
- * As such if the step operation takes the ColorTemperatureMireds attribute towards the value of the Color
317
- * Temperature Minimum Mireds field it shall be clipped so that the above invariant is satisfied. If the
306
+ * As such if the step operation takes the ColorTemperatureMireds attribute towards the value of the
307
+ * ColorTemperatureMinimumMireds field it shall be clipped so that the above invariant is satisfied. If the
318
308
  * ColorTemperatureMinimumMireds field is set to 0, ColorTempPhysicalMinMireds shall be used as the lower bound
319
309
  * for the ColorTemperatureMireds attribute.
320
310
  *
321
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.22.4
311
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.4
322
312
  */
323
313
  colorTemperatureMinimumMireds: TlvField(3, TlvUInt16.bound({ max: 65279 })),
324
314
  /**
325
- * The ColorTemperatureMaximumMireds field specifies an upper bound on the ColorTemperatureMireds attribute (≡
326
- * a lower bound on the color temperature in kelvins) for the current step operation
315
+ * This field shall indicate an upper bound on the ColorTemperatureMireds attribute (≡ a lower bound on the
316
+ * color temperature in kelvins) for the current step operation
327
317
  *
328
318
  * ColorTemperatureMireds ≤ ColorTemperatureMaximumMireds field ≤ ColorTempPhysicalMaxMireds
329
319
  *
330
320
  * As such if the step operation takes the ColorTemperatureMireds attribute towards the value of the
331
321
  * ColorTemperatureMaximumMireds field it shall be clipped so that the above invariant is satisfied. If the
332
- * ColorTemperatureMaximum Mireds field is set to 0, ColorTempPhysicalMaxMireds shall be used as the upper
333
- * bound for the ColorTemperatureMireds attribute.
322
+ * ColorTemperatureMaximumMireds field is set to 0, ColorTempPhysicalMaxMireds shall be used as the upper bound
323
+ * for the ColorTemperatureMireds attribute.
334
324
  *
335
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.22.5
325
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22.5
336
326
  */
337
327
  colorTemperatureMaximumMireds: TlvField(4, TlvUInt16.bound({ max: 65279 })),
338
328
  optionsMask: TlvField(5, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -340,23 +330,21 @@ var ColorControl;
340
330
  });
341
331
  ColorControl2.TlvEnhancedMoveToHueRequest = TlvObject({
342
332
  /**
343
- * The EnhancedHue field specifies the target extended hue for the lamp.
333
+ * This field shall indicate the target extended hue for the light.
344
334
  *
345
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.15.1
335
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15.1
346
336
  */
347
337
  enhancedHue: TlvField(0, TlvUInt16),
348
338
  /**
349
- * This field is identical to the Direction field of the MoveToHue command of the Color Control cluster (see
350
- * sub-clause Use of the OptionsMask and OptionsOverride fields).
339
+ * This field shall indicate the movement direction.
351
340
  *
352
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.15.2
341
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15.2
353
342
  */
354
343
  direction: TlvField(1, TlvEnum()),
355
344
  /**
356
- * This field is identical to the TransitionTime field of the MoveToHue command of the Color Control cluster
357
- * (see sub-clause Use of the OptionsMask and OptionsOverride fields).
345
+ * This field shall indicate the transition time, as described in the MoveToHue command.
358
346
  *
359
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.15.3
347
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15.3
360
348
  */
361
349
  transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
362
350
  optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -364,19 +352,16 @@ var ColorControl;
364
352
  });
365
353
  ColorControl2.TlvEnhancedMoveHueRequest = TlvObject({
366
354
  /**
367
- * This field is identical to the MoveMode field of the MoveHue command of the Color Control cluster (see
368
- * sub-clause MoveHue Command). If the MoveMode field is equal to 0 (Stop), the Rate field shall be ignored.
355
+ * This field shall indicate the mode of movement, as described in the MoveHue command.
369
356
  *
370
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.16.1
357
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16.1
371
358
  */
372
359
  moveMode: TlvField(0, TlvEnum()),
373
360
  /**
374
- * The Rate field specifies the rate of movement in steps per second. A step is a change in the extended hue of
375
- * a device by one unit. If the MoveMode field is set to 1 (up) or 3 (down) and the Rate field has a value of
376
- * zero, the command has no effect and a response command shall be sent in response, with the status code set
377
- * to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.
361
+ * This field shall indicate the rate of movement in steps per second. A step is a change in the extended hue
362
+ * of a device by one unit.
378
363
  *
379
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.16.2
364
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16.2
380
365
  */
381
366
  rate: TlvField(1, TlvUInt16),
382
367
  optionsMask: TlvField(2, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -384,29 +369,28 @@ var ColorControl;
384
369
  });
385
370
  ColorControl2.TlvEnhancedStepHueRequest = TlvObject({
386
371
  /**
387
- * This field is identical to the StepMode field of the StepHue command of the Color Control cluster (see
388
- * sub-clause StepHue Command).
372
+ * This field shall indicate the mode of the step to be performed, as described in the StepHue command.
389
373
  *
390
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.17.1
374
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17.1
391
375
  */
392
376
  stepMode: TlvField(0, TlvEnum()),
393
377
  /**
394
- * The StepSize field specifies the change to be added to (or subtracted from) the current value of the
395
- * device’s enhanced hue.
378
+ * This field shall indicate the change to be added to (or subtracted from) the current value of the device’s
379
+ * enhanced hue.
396
380
  *
397
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.17.2
381
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17.2
398
382
  */
399
383
  stepSize: TlvField(1, TlvUInt16),
400
384
  /**
401
- * The TransitionTime field specifies, in units of 1/10ths of a second, the time that shall be taken to perform
402
- * the step. A step is a change to the device’s enhanced hue of a magnitude corresponding to the StepSize field.
385
+ * The field shall indicate, in units of 1/10ths of a second, the time that shall be taken to perform the step.
386
+ * A step is a change to the device’s enhanced hue of a magnitude corresponding to the StepSize field.
403
387
  *
404
388
  * NOTE
405
389
  *
406
390
  * Here TransitionTime data field is of data type uint16, while the TransitionTime data field of the StepHue
407
391
  * command is of data type uint8.
408
392
  *
409
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.17.3
393
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17.3
410
394
  */
411
395
  transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
412
396
  optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -414,23 +398,21 @@ var ColorControl;
414
398
  });
415
399
  ColorControl2.TlvEnhancedMoveToHueAndSaturationRequest = TlvObject({
416
400
  /**
417
- * The EnhancedHue field specifies the target extended hue for the lamp.
401
+ * This field shall indicate the target extended hue for the light.
418
402
  *
419
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.18.1
403
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18.1
420
404
  */
421
405
  enhancedHue: TlvField(0, TlvUInt16),
422
406
  /**
423
- * This field is identical to the Saturation field of the MoveToHueAndSaturation command of the Color Control
424
- * cluster (see sub-clause MoveToHueAndSaturation Command).
407
+ * This field shall indicate the saturation, as described in the MoveToHueAndSaturation command.
425
408
  *
426
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.18.2
409
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18.2
427
410
  */
428
411
  saturation: TlvField(1, TlvUInt8.bound({ max: 254 })),
429
412
  /**
430
- * This field is identical to the TransitionTime field of the MoveToHue command of the Color Control cluster
431
- * (see sub-clause MoveToHueAndSaturation Command).
413
+ * This field shall indicate the transition time, as described in the MoveToHue command.
432
414
  *
433
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.18.3
415
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18.3
434
416
  */
435
417
  transitionTime: TlvField(2, TlvUInt16.bound({ max: 65534 })),
436
418
  optionsMask: TlvField(3, TlvBitmap(TlvUInt8, ColorControl2.Options)),
@@ -447,77 +429,87 @@ var ColorControl;
447
429
  ColorLoopDirection2[ColorLoopDirection2["Increment"] = 1] = "Increment";
448
430
  })(ColorLoopDirection = ColorControl2.ColorLoopDirection || (ColorControl2.ColorLoopDirection = {}));
449
431
  ColorControl2.UpdateFlags = {
432
+ /**
433
+ * Device adheres to the associated action field.
434
+ *
435
+ * This bit shall indicate whether the server adheres to the Action field in order to process the command.
436
+ *
437
+ * • 0 = Device shall ignore the Action field.
438
+ *
439
+ * • 1 = Device shall adhere to the Action field.
440
+ *
441
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.1
442
+ */
450
443
  updateAction: BitFlag(0),
444
+ /**
445
+ * Device updates the associated direction attribute.
446
+ *
447
+ * This bit shall indicate whether the device updates the ColorLoopDirection attribute with the Direction field.
448
+ *
449
+ * • 0 = Device shall ignore the Direction field.
450
+ *
451
+ * • 1 = Device shall update the ColorLoopDirection attribute with the value of the Direction field.
452
+ *
453
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.2
454
+ */
451
455
  updateDirection: BitFlag(1),
452
- updateTime: BitFlag(2),
453
- updateStartHue: BitFlag(3),
454
- reserved: BitField(4, 4)
455
- };
456
- let Action;
457
- ((Action2) => {
458
- Action2[Action2["DeActivateTheColorLoop"] = 0] = "DeActivateTheColorLoop";
459
- Action2[Action2["ActivateTheColorLoopFromTheValueInTheColorLoopStartEnhancedHueField"] = 1] = "ActivateTheColorLoopFromTheValueInTheColorLoopStartEnhancedHueField";
460
- Action2[Action2["ActivateTheColorLoopFromTheValueOfTheEnhancedCurrentHueAttribute"] = 2] = "ActivateTheColorLoopFromTheValueOfTheEnhancedCurrentHueAttribute";
461
- })(Action = ColorControl2.Action || (ColorControl2.Action = {}));
462
- let ColorLoopSetDirection;
463
- ((ColorLoopSetDirection2) => {
464
- ColorLoopSetDirection2[ColorLoopSetDirection2["DecrementTheHueInTheColorLoop"] = 0] = "DecrementTheHueInTheColorLoop";
465
- ColorLoopSetDirection2[ColorLoopSetDirection2["IncrementTheHueInTheColorLoop"] = 1] = "IncrementTheHueInTheColorLoop";
466
- })(ColorLoopSetDirection = ColorControl2.ColorLoopSetDirection || (ColorControl2.ColorLoopSetDirection = {}));
467
- ColorControl2.TlvColorLoopSetRequest = TlvObject({
468
456
  /**
469
- * The UpdateFlags field specifies which color loop attributes to update before the color loop is started. This
470
- * field shall be formatted as illustrated in Format of the UpdateFlags Field of the ColorLoopSet Command.
457
+ * Device updates the associated time attribute.
471
458
  *
472
- * ### Table 28. Format of the UpdateFlags Field of the ColorLoopSet Command
459
+ * This bit shall indicate whether the device updates the ColorLoopTime attribute with the Time field.
473
460
  *
474
- * The UpdateAction sub-field is 1 bit in length and specifies whether the device shall adhere to the action
475
- * field in order to process the command. If this sub-field is set to 1, the device shall adhere to the action
476
- * field. If this sub-field is set to 0, the device shall ignore the Action field.
461
+ * 0 = Device shall ignore the Time field.
477
462
  *
478
- * The UpdateDirection sub-field is 1 bit in length and specifies whether the device shall update the
479
- * ColorLoopDirection attribute with the Direction field. If this sub-field is set to 1, the device shall
480
- * update the value of the ColorLoopDirection attribute with the value of the Direction field. If this
481
- * sub-field is set to 0, the device shall ignore the Direction field.
463
+ * 1 = Device shall update the value of the ColorLoopTime attribute with the value of the Time field.
482
464
  *
483
- * The UpdateTime sub-field is 1 bit in length and specifies whether the device shall update the ColorLoopTime
484
- * attribute with the Time field. If this sub-field is set to 1, the device shall update the value of the
485
- * ColorLoopTime attribute with the value of the Time field. If this sub-field is set to 0, the device shall
486
- * ignore the Time field.
465
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.3
466
+ */
467
+ updateTime: BitFlag(2),
468
+ /**
469
+ * Device updates the associated start hue attribute.
470
+ *
471
+ * This bit shall indicate whether the device updates the ColorLoopStartEnhancedHue attribute with the value of
472
+ * the StartHue field.
473
+ *
474
+ * • 0 = Device shall ignore the StartHue field.
487
475
  *
488
- * The UpdateStartHue sub-field is 1 bit in length and specifies whether the device shall update the
489
- * ColorLoopStartEnhancedHue attribute with the StartHue field. If this sub-field is set to 1, the device shall
490
- * update the value of the ColorLoopStartEnhancedHue attribute with the value of the StartHue field. If this
491
- * sub-field is set to 0, the device shall ignore the StartHue field.
476
+ * 1 = Device shall update the value of the ColorLoopStartEnhancedHue attribute with the value of the
477
+ * StartHue field.
492
478
  *
493
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.19.1
479
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.6.3.4
494
480
  */
495
- updateFlags: TlvField(0, TlvBitmap(TlvUInt8, ColorControl2.UpdateFlags)),
481
+ updateStartHue: BitFlag(3)
482
+ };
483
+ let ColorLoopAction;
484
+ ((ColorLoopAction2) => {
485
+ ColorLoopAction2[ColorLoopAction2["Deactivate"] = 0] = "Deactivate";
486
+ ColorLoopAction2[ColorLoopAction2["ActivateFromColorLoopStartEnhancedHue"] = 1] = "ActivateFromColorLoopStartEnhancedHue";
487
+ ColorLoopAction2[ColorLoopAction2["ActivateFromEnhancedCurrentHue"] = 2] = "ActivateFromEnhancedCurrentHue";
488
+ })(ColorLoopAction = ColorControl2.ColorLoopAction || (ColorControl2.ColorLoopAction = {}));
489
+ ColorControl2.TlvColorLoopSetRequest = TlvObject({
496
490
  /**
497
- * The Action field specifies the action to take for the color loop if the UpdateAction sub-field of the
498
- * UpdateFlags field is set to 1. This field shall be set to one of the non-reserved values listed in Values of
499
- * the Action Field of the ColorLoopSet Command.
491
+ * This field shall indicate which color loop attributes to update (from the values supplied in the other
492
+ * fields, see field descriptions below) before the color loop is started.
500
493
  *
501
- * ### Table 29. Values of the Action Field of the ColorLoopSet Command
494
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.1
495
+ */
496
+ updateFlags: TlvField(0, TlvBitmap(TlvUInt8, ColorControl2.UpdateFlags)),
497
+ /**
498
+ * This field shall indicate the action to take for the color loop.
502
499
  *
503
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.19.2
500
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.2
504
501
  */
505
502
  action: TlvField(1, TlvEnum()),
506
503
  /**
507
- * The Direction field specifies the direction for the color loop if the Update Direction field of the
508
- * UpdateFlags field is set to 1. This field shall be set to one of the non-reserved values listed in Values of
509
- * the Direction Field of the ColorLoopSet Command.
510
- *
511
- * ### Table 30. Values of the Direction Field of the ColorLoopSet Command
504
+ * This field shall indicate the direction for the color loop.
512
505
  *
513
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.19.3
506
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.3
514
507
  */
515
508
  direction: TlvField(2, TlvEnum()),
516
509
  /**
517
- * The Time field specifies the number of seconds over which to perform a full color loop if the UpdateTime
518
- * sub-field of the UpdateFlags field is set to 1.
510
+ * This field shall indicate the number of seconds over which to perform a full color loop.
519
511
  *
520
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.19.4
512
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19.4
521
513
  */
522
514
  time: TlvField(3, TlvUInt16),
523
515
  startHue: TlvField(4, TlvUInt16),
@@ -531,7 +523,7 @@ var ColorControl;
531
523
  let DriftCompensation;
532
524
  ((DriftCompensation2) => {
533
525
  DriftCompensation2[DriftCompensation2["None"] = 0] = "None";
534
- DriftCompensation2[DriftCompensation2["OtherUnknown"] = 1] = "OtherUnknown";
526
+ DriftCompensation2[DriftCompensation2["OtherOrUnknown"] = 1] = "OtherOrUnknown";
535
527
  DriftCompensation2[DriftCompensation2["TemperatureMonitoring"] = 2] = "TemperatureMonitoring";
536
528
  DriftCompensation2[DriftCompensation2["OpticalLuminanceMonitoringAndFeedback"] = 3] = "OpticalLuminanceMonitoringAndFeedback";
537
529
  DriftCompensation2[DriftCompensation2["OpticalColorMonitoringAndFeedback"] = 4] = "OpticalColorMonitoringAndFeedback";
@@ -550,10 +542,25 @@ var ColorControl;
550
542
  EnhancedColorMode2[EnhancedColorMode2["EnhancedCurrentHueAndCurrentSaturation"] = 3] = "EnhancedCurrentHueAndCurrentSaturation";
551
543
  })(EnhancedColorMode = ColorControl2.EnhancedColorMode || (ColorControl2.EnhancedColorMode = {}));
552
544
  ColorControl2.ColorCapabilities = {
545
+ /**
546
+ * Supports color specification via hue/saturation.
547
+ */
553
548
  hueSaturation: BitFlag(0),
549
+ /**
550
+ * Enhanced hue is supported.
551
+ */
554
552
  enhancedHue: BitFlag(1),
553
+ /**
554
+ * Color loop is supported.
555
+ */
555
556
  colorLoop: BitFlag(2),
557
+ /**
558
+ * Supports color specification via XY.
559
+ */
556
560
  xy: BitFlag(3),
561
+ /**
562
+ * Supports color specification via color temperature.
563
+ */
557
564
  colorTemperature: BitFlag(4)
558
565
  };
559
566
  ColorControl2.HueSaturationComponent = MutableCluster.Component({
@@ -562,23 +569,37 @@ var ColorControl;
562
569
  * The CurrentHue attribute contains the current hue value of the light. It is updated as fast as practical
563
570
  * during commands that change the hue.
564
571
  *
565
- * The hue in degrees shall be related to the CurrentHue attribute by the relationship: Hue = CurrentHue x
566
- * 360 / 254 (CurrentHue in the range 0 to 254 inclusive)
572
+ * The hue in degrees shall be related to the CurrentHue attribute by the relationship:
567
573
  *
568
- * If this attribute is implemented then the CurrentSaturation and ColorMode attributes shall also be
569
- * implemented.
574
+ * Hue = "CurrentHue" * 360 / 254
575
+ *
576
+ * where CurrentHue is in the range from 0 to 254 inclusive.
577
+ *
578
+ * Changes to this attribute shall only be marked as reportable in the following cases:
579
+ *
580
+ * • At most once per second or
581
+ *
582
+ * • At the end of the movement/transition.
570
583
  *
571
584
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.2
572
585
  */
573
586
  currentHue: Attribute(0, TlvUInt8.bound({ max: 254 }), { persistent: true, default: 0 }),
574
587
  /**
575
- * The CurrentSaturation attribute holds the current saturation value of the light. It is updated as fast
576
- * as practical during commands that change the saturation.
588
+ * Indicates the current saturation value of the light. It is updated as fast as practical during commands
589
+ * that change the saturation.
590
+ *
591
+ * The saturation (on a scale from 0.0 to 1.0) shall be related to the CurrentSaturation attribute by the
592
+ * relationship:
577
593
  *
578
- * The saturation shall be related to the CurrentSaturation attribute by the relationship: Saturation =
579
- * CurrentSaturation/254 (CurrentSaturation in the range 0 to 254 inclusive)
594
+ * Saturation = "CurrentSaturation" / 254
580
595
  *
581
- * If this attribute is implemented then the CurrentHue and ColorMode attributes shall also be implemented.
596
+ * where CurrentSaturation is in the range from 0 to 254 inclusive.
597
+ *
598
+ * Changes to this attribute shall only be marked as reportable in the following cases:
599
+ *
600
+ * • At most once per second or
601
+ *
602
+ * • At the end of the movement/transition.
582
603
  *
583
604
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.3
584
605
  */
@@ -590,31 +611,31 @@ var ColorControl;
590
611
  },
591
612
  commands: {
592
613
  /**
593
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.4
614
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4
594
615
  */
595
616
  moveToHue: Command(0, ColorControl2.TlvMoveToHueRequest, 0, TlvNoResponse),
596
617
  /**
597
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.5
618
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.5
598
619
  */
599
620
  moveHue: Command(1, ColorControl2.TlvMoveHueRequest, 1, TlvNoResponse),
600
621
  /**
601
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.6
622
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.6
602
623
  */
603
624
  stepHue: Command(2, ColorControl2.TlvStepHueRequest, 2, TlvNoResponse),
604
625
  /**
605
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.7
626
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.7
606
627
  */
607
628
  moveToSaturation: Command(3, ColorControl2.TlvMoveToSaturationRequest, 3, TlvNoResponse),
608
629
  /**
609
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.8
630
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.8
610
631
  */
611
632
  moveSaturation: Command(4, ColorControl2.TlvMoveSaturationRequest, 4, TlvNoResponse),
612
633
  /**
613
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.9
634
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.9
614
635
  */
615
636
  stepSaturation: Command(5, ColorControl2.TlvStepSaturationRequest, 5, TlvNoResponse),
616
637
  /**
617
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.10
638
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.10
618
639
  */
619
640
  moveToHueAndSaturation: Command(6, ColorControl2.TlvMoveToHueAndSaturationRequest, 6, TlvNoResponse)
620
641
  }
@@ -622,11 +643,20 @@ var ColorControl;
622
643
  ColorControl2.XyComponent = MutableCluster.Component({
623
644
  attributes: {
624
645
  /**
625
- * The CurrentX attribute contains the current value of the normalized chromaticity value x, as defined in
626
- * the CIE xyY Color Space. It is updated as fast as practical during commands that change the color.
646
+ * Indicates the current value of the normalized chromaticity value x, as defined in the CIE xyY Color
647
+ * Space. It is updated as fast as practical during commands that change the color.
648
+ *
649
+ * The value of x shall be related to the CurrentX attribute by the relationship
650
+ *
651
+ * x = "CurrentX" / 65536
652
+ *
653
+ * where CurrentX is in the range from 0 to 65279 inclusive.
627
654
  *
628
- * The value of x shall be related to the CurrentX attribute by the relationship x = CurrentX / 65536
629
- * (CurrentX in the range 0 to 65279 inclusive)
655
+ * Changes to this attribute shall only be marked as reportable in the following cases:
656
+ *
657
+ * • At most once per second or
658
+ *
659
+ * • At the end of the movement/transition.
630
660
  *
631
661
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.5
632
662
  */
@@ -636,11 +666,20 @@ var ColorControl;
636
666
  { scene: true, persistent: true, default: 24939 }
637
667
  ),
638
668
  /**
639
- * The CurrentY attribute contains the current value of the normalized chromaticity value y, as defined in
640
- * the CIE xyY Color Space. It is updated as fast as practical during commands that change the color.
669
+ * Indicates the current value of the normalized chromaticity value y, as defined in the CIE xyY Color
670
+ * Space. It is updated as fast as practical during commands that change the color.
671
+ *
672
+ * The value of y shall be related to the CurrentY attribute by the relationship
673
+ *
674
+ * y = "CurrentY" / 65536
675
+ *
676
+ * where CurrentY is in the range from 0 to 65279 inclusive.
677
+ *
678
+ * Changes to this attribute shall only be marked as reportable in the following cases:
679
+ *
680
+ * • At most once per second or
641
681
  *
642
- * The value of y shall be related to the CurrentY attribute by the relationship y = CurrentY / 65536
643
- * (CurrentY in the range 0 to 65279 inclusive)
682
+ * At the end of the movement/transition.
644
683
  *
645
684
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.6
646
685
  */
@@ -652,15 +691,15 @@ var ColorControl;
652
691
  },
653
692
  commands: {
654
693
  /**
655
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.11
694
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.11
656
695
  */
657
696
  moveToColor: Command(7, ColorControl2.TlvMoveToColorRequest, 7, TlvNoResponse),
658
697
  /**
659
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.12
698
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.12
660
699
  */
661
700
  moveColor: Command(8, ColorControl2.TlvMoveColorRequest, 8, TlvNoResponse),
662
701
  /**
663
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.13
702
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.13
664
703
  */
665
704
  stepColor: Command(9, ColorControl2.TlvStepColorRequest, 9, TlvNoResponse)
666
705
  }
@@ -668,16 +707,23 @@ var ColorControl;
668
707
  ColorControl2.ColorTemperatureComponent = MutableCluster.Component({
669
708
  attributes: {
670
709
  /**
671
- * The ColorTemperatureMireds attribute contains a scaled inverse of the current value of the color
672
- * temperature. The unit of ColorTemperatureMireds is the mired (micro reciprocal degree), a.k.a. mirek
673
- * (micro reciprocal kelvin). It is updated as fast as practical during commands that change the color.
710
+ * Indicates a scaled inverse of the current value of the color temperature. The unit of
711
+ * ColorTemperatureMireds is the mired (micro reciprocal degree), a.k.a. mirek (micro reciprocal kelvin).
712
+ * It is updated as fast as practical during commands that change the color.
674
713
  *
675
- * The color temperature value in kelvins shall be related to the ColorTemperatureMireds attribute in
676
- * mireds by the relationship
714
+ * Changes to this attribute shall only be marked as reportable in the following cases:
677
715
  *
678
- * Color temperature in kelvins = 1,000,000 / ColorTemperatureMireds, where ColorTemperatureMireds is in
679
- * the range 1 to 65279 mireds inclusive, giving a color temperature range from 1,000,000 kelvins to 15.32
680
- * kelvins.
716
+ * At most once per second or
717
+ *
718
+ * At the end of the movement/transition.
719
+ *
720
+ * The color temperature value in kelvins shall be related to the ColorTemperatureMireds attribute in mired
721
+ * by the relationship
722
+ *
723
+ * "Color temperature [K]" = "1,000,000" / "ColorTemperatureMireds"
724
+ *
725
+ * where ColorTemperatureMireds is in the range from 1 to 65279 inclusive, giving a color temperature range
726
+ * from 1,000,000 K to 15.32 K.
681
727
  *
682
728
  * If this attribute is implemented then the ColorMode attribute shall also be implemented.
683
729
  *
@@ -685,72 +731,72 @@ var ColorControl;
685
731
  */
686
732
  colorTemperatureMireds: Attribute(7, TlvUInt16, { scene: true, persistent: true, default: 250 }),
687
733
  /**
688
- * The ColorTempPhysicalMinMireds attribute indicates the minimum mired value supported by the hardware.
689
- * ColorTempPhysicalMinMireds corresponds to the maximum color temperature in kelvins supported by the
690
- * hardware. ColorTempPhysicalMinMireds <= ColorTemperatureMireds.
734
+ * Indicates the minimum mired value supported by the hardware. ColorTempPhysicalMinMireds corresponds to
735
+ * the maximum color temperature in kelvins supported by the hardware.
736
+ *
737
+ * ColorTempPhysicalMinMireds <= ColorTemperatureMireds.
691
738
  *
692
739
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.20
693
740
  */
694
- colorTempPhysicalMinMireds: Attribute(16395, TlvUInt16.bound({ max: 65279 }), { default: 0 }),
741
+ colorTempPhysicalMinMireds: Attribute(16395, TlvUInt16.bound({ min: 1, max: 65279 }), { default: 1 }),
695
742
  /**
696
- * The ColorTempPhysicalMaxMireds attribute indicates the maximum mired value supported by the hardware.
697
- * ColorTempPhysicalMaxMireds corresponds to the minimum color temperature in kelvins supported by the
698
- * hardware. ColorTemperatureMireds <= ColorTempPhysicalMaxMireds.
743
+ * Indicates the maximum mired value supported by the hardware. ColorTempPhysicalMaxMireds corresponds to
744
+ * the minimum color temperature in kelvins supported by the hardware.
745
+ *
746
+ * ColorTemperatureMireds <= ColorTempPhysicalMaxMireds.
699
747
  *
700
748
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.21
701
749
  */
702
750
  colorTempPhysicalMaxMireds: Attribute(16396, TlvUInt16.bound({ max: 65279 }), { default: 65279 }),
703
751
  /**
704
- * The CoupleColorTempToLevelMinMireds attribute specifies a lower bound on the value of the
705
- * ColorTemperatureMireds attribute for the purposes of coupling the ColorTemperatureMireds attribute to
706
- * the CurrentLevel attribute when the CoupleColorTempToLevel bit of the Options attribute of the Level
707
- * Control cluster is equal to 1. When coupling the ColorTemperatureMireds attribute to the CurrentLevel
708
- * attribute, this value shall correspond to a CurrentLevel value of 0xFE (100%).
752
+ * Indicates a lower bound on the value of the ColorTemperatureMireds attribute for the purposes of
753
+ * coupling the ColorTemperatureMireds attribute to the CurrentLevel attribute when the
754
+ * CoupleColorTempToLevel bit of the Options attribute of the Level Control cluster is equal to 1. When
755
+ * coupling the ColorTemperatureMireds attribute to the CurrentLevel attribute, this value shall correspond
756
+ * to a CurrentLevel value of 254 (100%).
709
757
  *
710
- * This attribute shall be set such that the following relationship exists: ColorTempPhysicalMinMireds
711
- * CoupleColorTempToLevelMinMireds ColorTemperatureMireds
758
+ * This attribute shall be set such that the following relationship exists: ColorTempPhysicalMinMireds <=
759
+ * CoupleColorTempToLevelMinMireds <= ColorTemperatureMireds
712
760
  *
713
761
  * Note that since this attribute is stored as a micro reciprocal degree (mired) value (i.e. color
714
762
  * temperature in kelvins = 1,000,000 / CoupleColorTempToLevelMinMireds), the
715
763
  * CoupleColorTempToLevelMinMireds attribute corresponds to an upper bound on the value of the color
716
- * temperature in kelvins supported by the device.
764
+ * temperature
765
+ *
766
+ * in kelvins supported by the device.
717
767
  *
718
768
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.22
719
769
  */
720
770
  coupleColorTempToLevelMinMireds: OptionalAttribute(16397, TlvUInt16),
721
771
  /**
722
- * The StartUpColorTemperatureMireds attribute shall define the desired startup color temperature value a
723
- * lamp shall use when it is supplied with power and this value shall be reflected in the
724
- * ColorTemperatureMireds attribute. In addition, the ColorMode and EnhancedColorMode attributes shall be
725
- * set to 0x02 (color temperature). The values of the StartUpColorTemperatureMireds attribute are listed in
726
- * the table below,
727
- *
728
- * Table 12. Values of the StartUpColorTemperatureMireds attribute
772
+ * Indicates the desired startup color temperature value the light shall use when it is supplied with power
773
+ * and this value shall be reflected in the ColorTemperatureMireds attribute. In addition, the ColorMode
774
+ * and EnhancedColorMode attributes shall be set to 2 (ColorTemperatureMireds). The values of the
775
+ * StartUpColorTemperatureMireds attribute are listed in the table below,
729
776
  *
730
777
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.23
731
778
  */
732
779
  startUpColorTemperatureMireds: OptionalWritableAttribute(
733
780
  16400,
734
- TlvNullable(TlvUInt16.bound({ max: 65279 })),
781
+ TlvNullable(TlvUInt16.bound({ min: 1, max: 65279 })),
735
782
  { persistent: true, writeAcl: AccessLevel.Manage }
736
783
  )
737
784
  },
738
785
  commands: {
739
786
  /**
740
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.14
787
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.14
741
788
  */
742
789
  moveToColorTemperature: Command(10, ColorControl2.TlvMoveToColorTemperatureRequest, 10, TlvNoResponse),
743
790
  /**
744
- * The MoveColorTemperature command allows the color temperature of a lamp to be moved at a specified rate.
791
+ * This command allows the color temperature of the light to be moved at a specified rate.
745
792
  *
746
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.21
793
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.21
747
794
  */
748
795
  moveColorTemperature: Command(75, ColorControl2.TlvMoveColorTemperatureRequest, 75, TlvNoResponse),
749
796
  /**
750
- * The StepColorTemperature command allows the color temperature of a lamp to be stepped with a specified
751
- * step size.
797
+ * This command allows the color temperature of the light to be stepped with a specified step size.
752
798
  *
753
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.22
799
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.22
754
800
  */
755
801
  stepColorTemperature: Command(76, ColorControl2.TlvStepColorTemperatureRequest, 76, TlvNoResponse)
756
802
  }
@@ -758,15 +804,20 @@ var ColorControl;
758
804
  ColorControl2.EnhancedHueComponent = MutableCluster.Component({
759
805
  attributes: {
760
806
  /**
761
- * The EnhancedCurrentHue attribute represents non-equidistant steps along the CIE 1931 color triangle, and
762
- * it provides 16-bits precision.
807
+ * Indicates the non-equidistant steps along the CIE 1931 color triangle, and it provides 16-bits precision.
763
808
  *
764
809
  * The upper 8 bits of this attribute shall be used as an index in the implementation specific XY lookup
765
- * table to provide the non-equidistance steps. The lower 8 bits shall be used to interpolate between these
810
+ * table to provide the non-equidistant steps. The lower 8 bits shall be used to interpolate between these
766
811
  * steps in a linear way in order to provide color zoom for the user.
767
812
  *
768
- * To provide compatibility with standard ZCL, the CurrentHue attribute shall contain a hue value in the
769
- * range 0 to 254, calculated from the EnhancedCurrentHue attribute.
813
+ * To provide compatibility with clients not supporting EHUE, the CurrentHue attribute shall contain a hue
814
+ * value in the range 0 to 254, calculated from the EnhancedCurrentHue attribute.
815
+ *
816
+ * Changes to this attribute shall only be marked as reportable in the following cases:
817
+ *
818
+ * • At most once per second or
819
+ *
820
+ * • At the end of the movement/transition.
770
821
  *
771
822
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.12
772
823
  */
@@ -774,31 +825,30 @@ var ColorControl;
774
825
  },
775
826
  commands: {
776
827
  /**
777
- * The EnhancedMoveToHue command allows lamps to be moved in a smooth continuous transition from their
778
- * current hue to a target hue.
828
+ * This command allows the light to be moved in a smooth continuous transition from their current hue to a
829
+ * target hue.
779
830
  *
780
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.15
831
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.15
781
832
  */
782
833
  enhancedMoveToHue: Command(64, ColorControl2.TlvEnhancedMoveToHueRequest, 64, TlvNoResponse),
783
834
  /**
784
- * The EnhancedMoveHue command allows lamps to be moved in a continuous stepped transition from their
785
- * current hue to a target hue.
835
+ * This command allows the light to start a continuous transition starting from their current hue.
786
836
  *
787
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.16
837
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.16
788
838
  */
789
839
  enhancedMoveHue: Command(65, ColorControl2.TlvEnhancedMoveHueRequest, 65, TlvNoResponse),
790
840
  /**
791
- * The EnhancedStepHue command allows lamps to be moved in a stepped transition from their current hue to a
792
- * target hue, resulting in a linear transition through XY space.
841
+ * This command allows the light to be moved in a stepped transition from their current hue, resulting in a
842
+ * linear transition through XY space.
793
843
  *
794
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.17
844
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.17
795
845
  */
796
846
  enhancedStepHue: Command(66, ColorControl2.TlvEnhancedStepHueRequest, 66, TlvNoResponse),
797
847
  /**
798
- * The EnhancedMoveToHueAndSaturation command allows lamps to be moved in a smooth continuous transition
799
- * from their current hue to a target hue and from their current saturation to a target saturation.
848
+ * This command allows the light to be moved in a smooth continuous transition from their current hue to a
849
+ * target hue and from their current saturation to a target saturation.
800
850
  *
801
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.18
851
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.18
802
852
  */
803
853
  enhancedMoveToHueAndSaturation: Command(
804
854
  67,
@@ -811,9 +861,8 @@ var ColorControl;
811
861
  ColorControl2.ColorLoopComponent = MutableCluster.Component({
812
862
  attributes: {
813
863
  /**
814
- * The ColorLoopActive attribute specifies the current active status of the color loop. If this attribute
815
- * has the value 0, the color loop shall not be active. If this attribute has the value 1, the color loop
816
- * shall be active. All other values (2 to 254) are reserved.
864
+ * Indicates the current active status of the color loop. If this attribute has the value 0, the color loop
865
+ * shall NOT be active. If this attribute has the value 1, the color loop shall be active.
817
866
  *
818
867
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.14
819
868
  */
@@ -823,9 +872,9 @@ var ColorControl;
823
872
  { scene: true, persistent: true, default: 0 /* Inactive */ }
824
873
  ),
825
874
  /**
826
- * The ColorLoopDirection attribute specifies the current direction of the color loop. If this attribute
827
- * has the value 0, the EnhancedCurrentHue attribute shall be decremented. If this attribute has the value
828
- * 1, the EnhancedCurrentHue attribute shall be incremented. All other values (2 to 254) are reserved.
875
+ * Indicates the current direction of the color loop. If this attribute has the value 0, the
876
+ * EnhancedCurrentHue attribute shall be decremented. If this attribute has the value 1, the
877
+ * EnhancedCurrentHue attribute shall be incremented.
829
878
  *
830
879
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.15
831
880
  */
@@ -835,23 +884,21 @@ var ColorControl;
835
884
  { scene: true, persistent: true, default: 0 /* Decrement */ }
836
885
  ),
837
886
  /**
838
- * The ColorLoopTime attribute specifies the number of seconds it shall take to perform a full color loop,
839
- * i.e., to cycle all values of the EnhancedCurrentHue attribute (between 0 and 0xFFFE).
887
+ * Indicates the number of seconds it shall take to perform a full color loop, i.e., to cycle all values of
888
+ * the EnhancedCurrentHue attribute (between 0 and 65534).
840
889
  *
841
890
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.16
842
891
  */
843
892
  colorLoopTime: Attribute(16388, TlvUInt16, { scene: true, persistent: true, default: 25 }),
844
893
  /**
845
- * The ColorLoopStartEnhancedHue attribute specifies the value of the EnhancedCurrentHue attribute from
846
- * which the color loop shall be started.
894
+ * Indicates the value of the EnhancedCurrentHue attribute from which the color loop shall be started.
847
895
  *
848
896
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.17
849
897
  */
850
898
  colorLoopStartEnhancedHue: Attribute(16389, TlvUInt16, { default: 8960 }),
851
899
  /**
852
- * The ColorLoopStoredEnhancedHue attribute specifies the value of the EnhancedCurrentHue attribute before
853
- * the color loop was started. Once the color loop is complete, the EnhancedCurrentHue attribute shall be
854
- * restored to this value.
900
+ * Indicates the value of the EnhancedCurrentHue attribute before the color loop was started. Once the
901
+ * color loop is complete, the EnhancedCurrentHue attribute shall be restored to this value.
855
902
  *
856
903
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.18
857
904
  */
@@ -859,10 +906,10 @@ var ColorControl;
859
906
  },
860
907
  commands: {
861
908
  /**
862
- * The Color Loop Set command allows a color loop to be activated such that the color lamp cycles through
863
- * its range of hues.
909
+ * This command allows a color loop to be activated such that the color light cycles through its range of
910
+ * hues.
864
911
  *
865
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.19
912
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.19
866
913
  */
867
914
  colorLoopSet: Command(68, ColorControl2.TlvColorLoopSetRequest, 68, TlvNoResponse)
868
915
  }
@@ -870,12 +917,13 @@ var ColorControl;
870
917
  ColorControl2.HueSaturationOrXyOrColorTemperatureComponent = MutableCluster.Component({
871
918
  commands: {
872
919
  /**
873
- * The StopMoveStep command is provided to allow MoveTo and Step commands to be stopped. (Note this
874
- * automatically provides symmetry to the Level Control cluster.)
920
+ * This command is provided to allow MoveTo and Step commands to be stopped.
921
+ *
922
+ * NOTE This automatically provides symmetry to the Level Control cluster.
875
923
  *
876
- * NOTE the StopMoveStep command has no effect on an active color loop.
924
+ * NOTE The StopMoveStep command has no effect on an active color loop.
877
925
  *
878
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.11.20
926
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.20
879
927
  */
880
928
  stopMoveStep: Command(71, ColorControl2.TlvStopMoveStepRequest, 71, TlvNoResponse)
881
929
  }
@@ -883,7 +931,7 @@ var ColorControl;
883
931
  ColorControl2.Base = MutableCluster.Component({
884
932
  id: 768,
885
933
  name: "ColorControl",
886
- revision: 6,
934
+ revision: 7,
887
935
  features: {
888
936
  /**
889
937
  * HueSaturation
@@ -918,54 +966,60 @@ var ColorControl;
918
966
  },
919
967
  attributes: {
920
968
  /**
921
- * The RemainingTime attribute holds the time remaining, in 1/10ths of a second, until the currently active
969
+ * Indicates the time remaining, in 1/10ths of a second, until transitions due to the currently active
922
970
  * command will be complete.
923
971
  *
972
+ * Changes to this attribute shall only be marked as reportable in the following cases:
973
+ *
974
+ * • When it changes from 0 to any value higher than 10, or
975
+ *
976
+ * • When it changes, with a delta larger than 10, caused by the invoke of a command, or
977
+ *
978
+ * • When it changes to 0.
979
+ *
980
+ * For commands with a transition time or changes to the transition time less than 1 second, changes to
981
+ * this attribute shall NOT be reported.
982
+ *
983
+ * As this attribute is not being reported during a regular countdown, clients SHOULD NOT rely on the
984
+ * reporting of this attribute in order to keep track of the remaining duration.
985
+ *
924
986
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.4
925
987
  */
926
988
  remainingTime: OptionalAttribute(2, TlvUInt16, { default: 0 }),
927
989
  /**
928
- * The DriftCompensation attribute indicates what mechanism, if any, is in use for compensation for
929
- * color/intensity drift over time. It shall be one of the non-reserved values in Values of the
930
- * DriftCompensation Attribute.
931
- *
932
- * ### Table 8. Values of the DriftCompensation Attribute
990
+ * Indicates what mechanism, if any, is in use for compensation for color/intensity drift over time.
933
991
  *
934
992
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.7
935
993
  */
936
994
  driftCompensation: OptionalAttribute(5, TlvEnum()),
937
995
  /**
938
- * The CompensationText attribute holds a textual indication of what mechanism, if any, is in use to
939
- * compensate for color/intensity drift over time.
996
+ * This attribute shall contain a textual indication of what mechanism, if any, is in use to compensate for
997
+ * color/intensity drift over time.
940
998
  *
941
999
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.8
942
1000
  */
943
1001
  compensationText: OptionalAttribute(6, TlvString.bound({ maxLength: 254 })),
944
1002
  /**
945
- * The ColorMode attribute indicates which attributes are currently determining the color of the device.
1003
+ * Indicates which attributes are currently determining the color of the device.
946
1004
  *
947
1005
  * The value of the ColorMode attribute cannot be written directly - it is set upon reception of any
948
1006
  * command in section Commands to the appropriate mode for that command.
949
1007
  *
950
- * Table 9. Values of the ColorMode Attribute
951
- *
952
1008
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.10
953
1009
  */
954
1010
  colorMode: Attribute(8, TlvEnum(), { persistent: true }),
955
1011
  /**
956
- * The Options attribute is meant to be changed only during commissioning. The Options attribute is a
957
- * bitmap that determines the default behavior of some cluster commands. Each command that is dependent on
958
- * the Options attribute shall first construct a temporary Options bitmap that is in effect during the
959
- * command processing. The temporary Options bitmap has the same format and meaning as the Options
960
- * attribute, but includes any bits that may be overridden by command fields.
1012
+ * Indicates a bitmap that determines the default behavior of some cluster commands. Each command that is
1013
+ * dependent on the Options attribute shall first construct a temporary Options bitmap that is in effect
1014
+ * during the command processing. The temporary Options bitmap has the same format and meaning as the
1015
+ * Options attribute, but includes any bits that may be overridden by command fields.
1016
+ *
1017
+ * This attribute is meant to be changed only during commissioning.
961
1018
  *
962
1019
  * Below is the format and description of the Options attribute and temporary Options bitmap and the effect
963
1020
  * on dependent commands.
964
1021
  *
965
- * Table 10. Options Attribute
966
- *
967
- * ExecuteIfOff Options bit: Command execution shall NOT continue beyond the Options processing if all of
968
- * these criteria are true:
1022
+ * Command execution shall NOT continue beyond the Options processing if all of these criteria are true:
969
1023
  *
970
1024
  * • The On/Off cluster exists on the same endpoint as this cluster.
971
1025
  *
@@ -977,115 +1031,120 @@ var ColorControl;
977
1031
  */
978
1032
  options: WritableAttribute(15, TlvBitmap(TlvUInt8, ColorControl2.Options)),
979
1033
  /**
980
- * The NumberOfPrimaries attribute contains the number of color primaries implemented on this device. A
981
- * value of null shall indicate that the number of primaries is unknown.
1034
+ * Indicates the number of color primaries implemented on this device. A value of null shall indicate that
1035
+ * the number of primaries is unknown.
982
1036
  *
983
1037
  * Where this attribute is implemented, the attributes below for indicating the “x” and “y” color values of
984
1038
  * the primaries shall also be implemented for each of the primaries from 1 to NumberOfPrimaries, without
985
1039
  * leaving gaps. Implementation of the Primary1Intensity attribute and subsequent intensity attributes is
986
1040
  * optional.
987
1041
  *
988
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.1
1042
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.24
989
1043
  */
990
1044
  numberOfPrimaries: FixedAttribute(16, TlvNullable(TlvUInt8.bound({ max: 6 }))),
991
1045
  /**
992
- * The Primary1X attribute contains the normalized chromaticity value x for this primary, as defined in the
993
- * CIE xyY Color Space.
1046
+ * Indicates the normalized chromaticity value x for this primary, as defined in the CIE xyY Color Space.
994
1047
  *
995
1048
  * The value of x shall be related to the Primary1X attribute by the relationship x = Primary1X / 65536
996
1049
  * (Primary1X in the range 0 to 65279 inclusive)
997
1050
  *
998
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.2
1051
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.25
999
1052
  */
1000
1053
  primary1X: OptionalFixedAttribute(17, TlvUInt16.bound({ max: 65279 })),
1001
1054
  /**
1002
- * The Primary1Y attribute contains the normalized chromaticity value y for this primary, as defined in the
1003
- * CIE xyY Color Space.
1055
+ * Indicates the normalized chromaticity value y for this primary, as defined in the CIE xyY Color Space.
1004
1056
  *
1005
1057
  * The value of y shall be related to the Primary1Y attribute by the relationship y = Primary1Y / 65536
1006
1058
  * (Primary1Y in the range 0 to 65279 inclusive)
1007
1059
  *
1008
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.3
1060
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.26
1009
1061
  */
1010
1062
  primary1Y: OptionalFixedAttribute(18, TlvUInt16.bound({ max: 65279 })),
1011
1063
  /**
1012
- * The Primary1intensity attribute contains a representation of the maximum intensity of this primary as
1013
- * defined in the Dimming Light Curve in the Ballast Configuration cluster (see Ballast Configuration
1014
- * Cluster), normalized such that the primary with the highest maximum intensity contains the value 0xFE.
1064
+ * Indicates a representation of the maximum intensity of this primary as defined in the Dimming Light
1065
+ * Curve in the Ballast Configuration cluster (see Ballast Configuration Cluster), normalized such that the
1066
+ * primary with the highest maximum intensity contains the value 254.
1015
1067
  *
1016
1068
  * A value of null shall indicate that this primary is not available.
1017
1069
  *
1018
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.8.4
1070
+ * 3.2.7.28. Primary2X, Primary2Y, Primary2Intensity, Primary3X, Primary3Y, Primary3Intensity, Primary4X,
1071
+ * Primary4Y, Primary4Intensity, Primary5X, Primary5Y, Primary5Intensity, Primary6X, Primary6Y and
1072
+ * Primary6Intensity Attributes
1073
+ *
1074
+ * These attributes shall represent the capabilities of the 2nd, 3rd, 4th, 5th and 6th primaries, where
1075
+ * present, in the same way as for the Primary1X, Primary1Y and Primary1Intensity attributes.
1076
+ *
1077
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.27
1019
1078
  */
1020
1079
  primary1Intensity: OptionalFixedAttribute(19, TlvNullable(TlvUInt8)),
1021
1080
  /**
1022
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.8
1081
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1023
1082
  */
1024
1083
  primary2X: OptionalFixedAttribute(21, TlvUInt16.bound({ max: 65279 })),
1025
1084
  /**
1026
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.8
1085
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1027
1086
  */
1028
1087
  primary2Y: OptionalFixedAttribute(22, TlvUInt16.bound({ max: 65279 })),
1029
1088
  /**
1030
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.8
1089
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1031
1090
  */
1032
1091
  primary2Intensity: OptionalFixedAttribute(23, TlvNullable(TlvUInt8)),
1033
1092
  /**
1034
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.8
1093
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1035
1094
  */
1036
1095
  primary3X: OptionalFixedAttribute(25, TlvUInt16.bound({ max: 65279 })),
1037
1096
  /**
1038
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.8
1097
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1039
1098
  */
1040
1099
  primary3Y: OptionalFixedAttribute(26, TlvUInt16.bound({ max: 65279 })),
1041
1100
  /**
1042
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.8
1101
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1043
1102
  */
1044
1103
  primary3Intensity: OptionalFixedAttribute(27, TlvNullable(TlvUInt8)),
1045
1104
  /**
1046
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.9
1105
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1047
1106
  */
1048
1107
  primary4X: OptionalFixedAttribute(32, TlvUInt16.bound({ max: 65279 })),
1049
1108
  /**
1050
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.9
1109
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1051
1110
  */
1052
1111
  primary4Y: OptionalFixedAttribute(33, TlvUInt16.bound({ max: 65279 })),
1053
1112
  /**
1054
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.9
1113
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1055
1114
  */
1056
1115
  primary4Intensity: OptionalFixedAttribute(34, TlvNullable(TlvUInt8)),
1057
1116
  /**
1058
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.9
1117
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1059
1118
  */
1060
1119
  primary5X: OptionalFixedAttribute(36, TlvUInt16.bound({ max: 65279 })),
1061
1120
  /**
1062
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.9
1121
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1063
1122
  */
1064
1123
  primary5Y: OptionalFixedAttribute(37, TlvUInt16.bound({ max: 65279 })),
1065
1124
  /**
1066
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.9
1125
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1067
1126
  */
1068
1127
  primary5Intensity: OptionalFixedAttribute(38, TlvNullable(TlvUInt8)),
1069
1128
  /**
1070
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.9
1129
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1071
1130
  */
1072
1131
  primary6X: OptionalFixedAttribute(40, TlvUInt16.bound({ max: 65279 })),
1073
1132
  /**
1074
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.9
1133
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1075
1134
  */
1076
1135
  primary6Y: OptionalFixedAttribute(41, TlvUInt16.bound({ max: 65279 })),
1077
1136
  /**
1078
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.9
1137
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1079
1138
  */
1080
1139
  primary6Intensity: OptionalFixedAttribute(42, TlvNullable(TlvUInt8)),
1081
1140
  /**
1082
- * The WhitePointX attribute contains the normalized chromaticity value x, as defined in the CIE xyY Color
1083
- * Space, of the current white point of the device.
1141
+ * Indicates the normalized chromaticity value x, as defined in the CIE xyY Color Space, of the current
1142
+ * white point of the device.
1084
1143
  *
1085
1144
  * The value of x shall be related to the WhitePointX attribute by the relationship x = WhitePointX / 65536
1086
1145
  * (WhitePointX in the range 0 to 65279 inclusive)
1087
1146
  *
1088
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10.1
1147
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.29
1089
1148
  */
1090
1149
  whitePointX: OptionalWritableAttribute(
1091
1150
  48,
@@ -1093,14 +1152,13 @@ var ColorControl;
1093
1152
  { writeAcl: AccessLevel.Manage }
1094
1153
  ),
1095
1154
  /**
1096
- * The WhitePointY attribute contains the normalized chromaticity value y, as defined in the CIE xyY
1097
- *
1098
- * Color Space, of the current white point of the device.
1155
+ * Indicates the normalized chromaticity value y, as defined in the CIE xyY Color Space, of the current
1156
+ * white point of the device.
1099
1157
  *
1100
1158
  * The value of y shall be related to the WhitePointY attribute by the relationship y = WhitePointY / 65536
1101
1159
  * (WhitePointY in the range 0 to 65279 inclusive)
1102
1160
  *
1103
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10.2
1161
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.30
1104
1162
  */
1105
1163
  whitePointY: OptionalWritableAttribute(
1106
1164
  49,
@@ -1108,13 +1166,13 @@ var ColorControl;
1108
1166
  { writeAcl: AccessLevel.Manage }
1109
1167
  ),
1110
1168
  /**
1111
- * The ColorPointRX attribute contains the normalized chromaticity value x, as defined in the CIE xyY Color
1112
- * Space, of the red color point of the device.
1169
+ * Indicates the normalized chromaticity value x, as defined in the CIE xyY Color Space, of the red color
1170
+ * point of the device.
1113
1171
  *
1114
1172
  * The value of x shall be related to the ColorPointRX attribute by the relationship x = ColorPointRX /
1115
1173
  * 65536 (ColorPointRX in the range 0 to 65279 inclusive)
1116
1174
  *
1117
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10.3
1175
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.31
1118
1176
  */
1119
1177
  colorPointRx: OptionalWritableAttribute(
1120
1178
  50,
@@ -1122,13 +1180,13 @@ var ColorControl;
1122
1180
  { writeAcl: AccessLevel.Manage }
1123
1181
  ),
1124
1182
  /**
1125
- * The ColorPointRY attribute contains the normalized chromaticity value y, as defined in the CIE xyY Color
1126
- * Space, of the red color point of the device.
1183
+ * Indicates the normalized chromaticity value y, as defined in the CIE xyY Color Space, of the red color
1184
+ * point of the device.
1127
1185
  *
1128
1186
  * The value of y shall be related to the ColorPointRY attribute by the relationship y = ColorPointRY /
1129
1187
  * 65536 (ColorPointRY in the range 0 to 65279 inclusive)
1130
1188
  *
1131
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10.4
1189
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.32
1132
1190
  */
1133
1191
  colorPointRy: OptionalWritableAttribute(
1134
1192
  51,
@@ -1136,14 +1194,22 @@ var ColorControl;
1136
1194
  { writeAcl: AccessLevel.Manage }
1137
1195
  ),
1138
1196
  /**
1139
- * The ColorPointRIntensity attribute contains a representation of the relative intensity of the red color
1140
- * point as defined in the Dimming Light Curve in the Ballast Configuration cluster (see Ballast
1141
- * Configuration Cluster), normalized such that the color point with the highest relative intensity
1142
- * contains the value 0xFE.
1197
+ * Indicates a representation of the relative intensity of the red color point as defined in the Dimming
1198
+ * Light Curve in the Ballast Configuration cluster (see Ballast Configuration Cluster), normalized such
1199
+ * that the color point with the highest relative intensity contains the value 254.
1143
1200
  *
1144
1201
  * A value of null shall indicate an invalid value.
1145
1202
  *
1146
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10.5
1203
+ * 3.2.7.34. ColorPointGX, ColorPointGY, ColorPointGIntensity, ColorPointBX, ColorPointBY and
1204
+ * ColorPointBIntensity Attributes
1205
+ *
1206
+ * These attributes shall represent the chromaticity values and intensities of the green and blue color
1207
+ * points, in the same way as for the ColorPointRX, ColorPointRY and ColorPointRIntensity attributes.
1208
+ *
1209
+ * If any one of these red, green or blue color point attributes is implemented then they shall all be
1210
+ * implemented.
1211
+ *
1212
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.33
1147
1213
  */
1148
1214
  colorPointRIntensity: OptionalWritableAttribute(
1149
1215
  52,
@@ -1151,7 +1217,7 @@ var ColorControl;
1151
1217
  { writeAcl: AccessLevel.Manage }
1152
1218
  ),
1153
1219
  /**
1154
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10
1220
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1155
1221
  */
1156
1222
  colorPointGx: OptionalWritableAttribute(
1157
1223
  54,
@@ -1159,7 +1225,7 @@ var ColorControl;
1159
1225
  { writeAcl: AccessLevel.Manage }
1160
1226
  ),
1161
1227
  /**
1162
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10
1228
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1163
1229
  */
1164
1230
  colorPointGy: OptionalWritableAttribute(
1165
1231
  55,
@@ -1167,7 +1233,7 @@ var ColorControl;
1167
1233
  { writeAcl: AccessLevel.Manage }
1168
1234
  ),
1169
1235
  /**
1170
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10
1236
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1171
1237
  */
1172
1238
  colorPointGIntensity: OptionalWritableAttribute(
1173
1239
  56,
@@ -1175,7 +1241,7 @@ var ColorControl;
1175
1241
  { writeAcl: AccessLevel.Manage }
1176
1242
  ),
1177
1243
  /**
1178
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10
1244
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1179
1245
  */
1180
1246
  colorPointBx: OptionalWritableAttribute(
1181
1247
  58,
@@ -1183,7 +1249,7 @@ var ColorControl;
1183
1249
  { writeAcl: AccessLevel.Manage }
1184
1250
  ),
1185
1251
  /**
1186
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10
1252
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1187
1253
  */
1188
1254
  colorPointBy: OptionalWritableAttribute(
1189
1255
  59,
@@ -1191,7 +1257,7 @@ var ColorControl;
1191
1257
  { writeAcl: AccessLevel.Manage }
1192
1258
  ),
1193
1259
  /**
1194
- * @see {@link MatterSpecification.v13.Cluster} § 3.2.10
1260
+ * @see {@link MatterSpecification.v13.Cluster} § 3.2.7
1195
1261
  */
1196
1262
  colorPointBIntensity: OptionalWritableAttribute(
1197
1263
  60,
@@ -1199,15 +1265,11 @@ var ColorControl;
1199
1265
  { writeAcl: AccessLevel.Manage }
1200
1266
  ),
1201
1267
  /**
1202
- * The EnhancedColorMode attribute specifies which attributes are currently determining the color of the
1203
- * device, as detailed in Values of the EnhancedColorMode Attribute.
1204
- *
1205
- * ### Table 11. Values of the EnhancedColorMode Attribute
1268
+ * Indicates which attributes are currently determining the color of the device.
1206
1269
  *
1207
- * To provide compatibility with standard ZCL, the original ColorMode attribute shall indicate ‘CurrentHue
1208
- * and CurrentSaturation when the light uses the EnhancedCurrentHue attribute. If the ColorMode attribute
1209
- * is changed, e.g., due to one of the standard Color Control cluster commands defined in the ZCL, its new
1210
- * value shall be copied to the EnhancedColorMode attribute.
1270
+ * To provide compatibility with clients not supporting EHUE, the original ColorMode attribute shall
1271
+ * indicate CurrentHue and CurrentSaturation when the light uses the EnhancedCurrentHue attribute. If the
1272
+ * ColorMode attribute is changed, its new value shall be copied to the EnhancedColorMode attribute.
1211
1273
  *
1212
1274
  * @see {@link MatterSpecification.v13.Cluster} § 3.2.7.13
1213
1275
  */
@@ -1217,6 +1279,8 @@ var ColorControl;
1217
1279
  { scene: true, persistent: true, default: 1 /* CurrentXAndCurrentY */ }
1218
1280
  ),
1219
1281
  /**
1282
+ * Indicates the color control capabilities of the device.
1283
+ *
1220
1284
  * Bits 0-4 of the ColorCapabilities attribute shall have the same values as the corresponding bits of the
1221
1285
  * FeatureMap attribute. All other bits in ColorCapabilities shall be 0.
1222
1286
  *
@@ -1236,7 +1300,9 @@ var ColorControl;
1236
1300
  { flags: { colorLoop: true }, component: ColorControl2.ColorLoopComponent },
1237
1301
  { flags: { hueSaturation: true }, component: ColorControl2.HueSaturationOrXyOrColorTemperatureComponent },
1238
1302
  { flags: { xy: true }, component: ColorControl2.HueSaturationOrXyOrColorTemperatureComponent },
1239
- { flags: { colorTemperature: true }, component: ColorControl2.HueSaturationOrXyOrColorTemperatureComponent }
1303
+ { flags: { colorTemperature: true }, component: ColorControl2.HueSaturationOrXyOrColorTemperatureComponent },
1304
+ { flags: { enhancedHue: true, hueSaturation: false }, component: false },
1305
+ { flags: { colorLoop: true, enhancedHue: false }, component: false }
1240
1306
  )
1241
1307
  });
1242
1308
  ColorControl2.ClusterInstance = MutableCluster(ColorControl2.Base);