matterbridge 2.2.4 → 2.2.5-dev.3

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 (288) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/cli.js +2 -37
  3. package/dist/cluster/export.js +0 -2
  4. package/dist/defaultConfigSchema.js +0 -23
  5. package/dist/deviceManager.js +1 -94
  6. package/dist/frontend.js +70 -334
  7. package/dist/index.js +1 -28
  8. package/dist/logger/export.js +0 -1
  9. package/dist/matter/behaviors.js +0 -2
  10. package/dist/matter/clusters.js +0 -2
  11. package/dist/matter/devices.js +0 -2
  12. package/dist/matter/endpoints.js +0 -2
  13. package/dist/matter/export.js +0 -2
  14. package/dist/matter/types.js +0 -2
  15. package/dist/matterbridge.js +46 -743
  16. package/dist/matterbridgeAccessoryPlatform.js +0 -33
  17. package/dist/matterbridgeBehaviors.js +1 -32
  18. package/dist/matterbridgeDeviceTypes.js +11 -112
  19. package/dist/matterbridgeDynamicPlatform.js +0 -33
  20. package/dist/matterbridgeEndpoint.js +6 -690
  21. package/dist/matterbridgeEndpointHelpers.js +9 -118
  22. package/dist/matterbridgePlatform.js +13 -185
  23. package/dist/matterbridgeTypes.js +0 -24
  24. package/dist/pluginManager.js +7 -230
  25. package/dist/shelly.js +6 -121
  26. package/dist/storage/export.js +0 -1
  27. package/dist/update.js +0 -45
  28. package/dist/utils/colorUtils.js +2 -205
  29. package/dist/utils/copyDirectory.js +1 -37
  30. package/dist/utils/createZip.js +2 -42
  31. package/dist/utils/deepCopy.js +0 -40
  32. package/dist/utils/deepEqual.js +1 -65
  33. package/dist/utils/export.js +0 -1
  34. package/dist/utils/isvalid.js +0 -86
  35. package/dist/utils/network.js +5 -77
  36. package/dist/utils/parameter.js +0 -41
  37. package/dist/utils/wait.js +5 -48
  38. package/frontend/build/asset-manifest.json +80 -64
  39. package/frontend/build/index.html +1 -1
  40. package/frontend/build/static/css/main.ea7910e9.css +2 -0
  41. package/frontend/build/static/css/main.ea7910e9.css.map +1 -0
  42. package/frontend/build/static/js/453.d855a71b.chunk.js +2 -0
  43. package/frontend/build/static/js/{453.abd36b29.chunk.js.map → 453.d855a71b.chunk.js.map} +1 -1
  44. package/frontend/build/static/js/main.b42b0a2a.js +115 -0
  45. package/frontend/build/static/js/{main.4a12038d.js.LICENSE.txt → main.b42b0a2a.js.LICENSE.txt} +12 -27
  46. package/frontend/build/static/js/{main.4a12038d.js.map → main.b42b0a2a.js.map} +1 -1
  47. package/frontend/build/static/media/roboto-cyrillic-300-normal.44340549d94d10899346.woff +0 -0
  48. package/frontend/build/static/media/roboto-cyrillic-300-normal.89d0351bce4bc857dba6.woff2 +0 -0
  49. package/frontend/build/static/media/roboto-cyrillic-400-normal.86d5c52f4588f9f221d7.woff2 +0 -0
  50. package/frontend/build/static/media/roboto-cyrillic-400-normal.d67ac585bb6a05dbf71c.woff +0 -0
  51. package/frontend/build/static/media/roboto-cyrillic-500-normal.1fb2c6d685bfb888cfa3.woff2 +0 -0
  52. package/frontend/build/static/media/roboto-cyrillic-500-normal.36f79cc7e73a69da4438.woff +0 -0
  53. package/frontend/build/static/media/roboto-cyrillic-700-normal.e00802373a2c2db6b30d.woff +0 -0
  54. package/frontend/build/static/media/roboto-cyrillic-700-normal.fd3dfdd6cb1a9175b63d.woff2 +0 -0
  55. package/frontend/build/static/media/roboto-cyrillic-ext-300-normal.a80c0d0719b1acb8f731.woff +0 -0
  56. package/frontend/build/static/media/roboto-cyrillic-ext-300-normal.b9d87b04a9119d8d2fdf.woff2 +0 -0
  57. package/frontend/build/static/media/roboto-cyrillic-ext-400-normal.31476620b88eec076438.woff2 +0 -0
  58. package/frontend/build/static/media/roboto-cyrillic-ext-400-normal.5e3f232f89080810567d.woff +0 -0
  59. package/frontend/build/static/media/roboto-cyrillic-ext-500-normal.634ee2238bf30f362d52.woff2 +0 -0
  60. package/frontend/build/static/media/roboto-cyrillic-ext-500-normal.d6c661248da2fde17768.woff +0 -0
  61. package/frontend/build/static/media/roboto-cyrillic-ext-700-normal.361cdfd3a3f9c4bb09ca.woff2 +0 -0
  62. package/frontend/build/static/media/roboto-cyrillic-ext-700-normal.6b08bc756cd72f5af9e8.woff +0 -0
  63. package/frontend/build/static/media/roboto-greek-300-normal.8300b541aa89b8301a6f.woff +0 -0
  64. package/frontend/build/static/media/roboto-greek-300-normal.fdd1f928a606aa116a44.woff2 +0 -0
  65. package/frontend/build/static/media/roboto-greek-400-normal.98a717d5a38e77c0f657.woff2 +0 -0
  66. package/frontend/build/static/media/roboto-greek-400-normal.ecd8572d631f20ff5bd5.woff +0 -0
  67. package/frontend/build/static/media/roboto-greek-500-normal.4fe733bc436afc295c24.woff +0 -0
  68. package/frontend/build/static/media/roboto-greek-500-normal.5c8100481d4e784afbf2.woff2 +0 -0
  69. package/frontend/build/static/media/roboto-greek-700-normal.d23e03cf87ba44e5af6f.woff +0 -0
  70. package/frontend/build/static/media/roboto-greek-700-normal.d7dfd0b02cd8311e2a97.woff2 +0 -0
  71. package/frontend/build/static/media/roboto-greek-ext-300-normal.60729cafbded24073dfb.woff +0 -0
  72. package/frontend/build/static/media/roboto-greek-ext-300-normal.a88b77bb10633a8045e3.woff2 +0 -0
  73. package/frontend/build/static/media/roboto-greek-ext-400-normal.2d5875b032a1cca91eb2.woff2 +0 -0
  74. package/frontend/build/static/media/roboto-greek-ext-400-normal.a0baf7d6726d8f751a27.woff +0 -0
  75. package/frontend/build/static/media/roboto-greek-ext-500-normal.1964239c2800b6bd7e39.woff +0 -0
  76. package/frontend/build/static/media/roboto-greek-ext-500-normal.bef9c15c7164d6435aad.woff2 +0 -0
  77. package/frontend/build/static/media/roboto-greek-ext-700-normal.1aff9f4cd71608489b9a.woff +0 -0
  78. package/frontend/build/static/media/roboto-greek-ext-700-normal.eb28a447335ba6d54fcb.woff2 +0 -0
  79. package/frontend/build/static/media/roboto-latin-300-normal.cb14f8e80cc69ddbac34.woff +0 -0
  80. package/frontend/build/static/media/roboto-latin-300-normal.db56943a88e4852343ae.woff2 +0 -0
  81. package/frontend/build/static/media/roboto-latin-400-normal.50a0a61e29c19a2f05cb.woff +0 -0
  82. package/frontend/build/static/media/roboto-latin-400-normal.df1be0be92f6f19b8115.woff2 +0 -0
  83. package/frontend/build/static/media/roboto-latin-500-normal.599f66a60bdf974e578e.woff2 +0 -0
  84. package/frontend/build/static/media/roboto-latin-500-normal.c320def131b39bceabd8.woff +0 -0
  85. package/frontend/build/static/media/roboto-latin-700-normal.bcfbe8accc968a375a8e.woff +0 -0
  86. package/frontend/build/static/media/roboto-latin-700-normal.c4d6cab43bec89049809.woff2 +0 -0
  87. package/frontend/build/static/media/roboto-latin-ext-300-normal.6ddd1cfdbc5e74bcdab8.woff +0 -0
  88. package/frontend/build/static/media/roboto-latin-ext-300-normal.948c05192b1e64d931b1.woff2 +0 -0
  89. package/frontend/build/static/media/roboto-latin-ext-400-normal.0f86a30ca7e981fcfc99.woff2 +0 -0
  90. package/frontend/build/static/media/roboto-latin-ext-400-normal.2bfbba2d51a85c8702dd.woff +0 -0
  91. package/frontend/build/static/media/roboto-latin-ext-500-normal.8f02573e78730021ef49.woff2 +0 -0
  92. package/frontend/build/static/media/roboto-latin-ext-500-normal.aecaab4c4da2bf91377a.woff +0 -0
  93. package/frontend/build/static/media/roboto-latin-ext-700-normal.2d3c3ba6fe2d9c1026a5.woff +0 -0
  94. package/frontend/build/static/media/roboto-latin-ext-700-normal.8e656eff240311c6050a.woff2 +0 -0
  95. package/frontend/build/static/media/roboto-math-300-normal.90364ecfad5101ceb1a0.woff +0 -0
  96. package/frontend/build/static/media/roboto-math-300-normal.acc9c7c1d1fe3a1c7d44.woff2 +0 -0
  97. package/frontend/build/static/media/roboto-math-400-normal.3d3a272e5233c5fb1969.woff +0 -0
  98. package/frontend/build/static/media/roboto-math-400-normal.b60d9fba1e21da7497e6.woff2 +0 -0
  99. package/frontend/build/static/media/roboto-math-500-normal.41db483cb764343fca71.woff2 +0 -0
  100. package/frontend/build/static/media/roboto-math-500-normal.c3014a611cd9d8fa6252.woff +0 -0
  101. package/frontend/build/static/media/roboto-math-700-normal.a6fde3ddcb1629fd58b7.woff +0 -0
  102. package/frontend/build/static/media/roboto-math-700-normal.f6f4b54add6ab9d60a0f.woff2 +0 -0
  103. package/frontend/build/static/media/roboto-symbols-300-normal.52cdf8344b378f0c4580.woff +0 -0
  104. package/frontend/build/static/media/roboto-symbols-300-normal.616638ec44336b3da884.woff2 +0 -0
  105. package/frontend/build/static/media/roboto-symbols-400-normal.bb5b5d1459beb07bd3d5.woff2 +0 -0
  106. package/frontend/build/static/media/roboto-symbols-400-normal.f4f7e3bd8264f1a640cb.woff +0 -0
  107. package/frontend/build/static/media/roboto-symbols-500-normal.09b674875029289fd9a7.woff +0 -0
  108. package/frontend/build/static/media/roboto-symbols-500-normal.a5457b0ec984fd4cc8da.woff2 +0 -0
  109. package/frontend/build/static/media/roboto-symbols-700-normal.017e476ef02f62144169.woff +0 -0
  110. package/frontend/build/static/media/roboto-symbols-700-normal.634070e045ac99822c21.woff2 +0 -0
  111. package/frontend/build/static/media/roboto-vietnamese-300-normal.53f399e4522b647bafa7.woff +0 -0
  112. package/frontend/build/static/media/roboto-vietnamese-300-normal.6f0bf63e956c09377ef8.woff2 +0 -0
  113. package/frontend/build/static/media/roboto-vietnamese-400-normal.1cffe58e71a9109191a2.woff +0 -0
  114. package/frontend/build/static/media/roboto-vietnamese-400-normal.b1b8baa94fbcaa57d098.woff2 +0 -0
  115. package/frontend/build/static/media/roboto-vietnamese-500-normal.148734d63bd96c6e964f.woff2 +0 -0
  116. package/frontend/build/static/media/roboto-vietnamese-500-normal.72dbf2a25dd55b80b137.woff +0 -0
  117. package/frontend/build/static/media/roboto-vietnamese-700-normal.44a103f706f3ffe6a041.woff2 +0 -0
  118. package/frontend/build/static/media/roboto-vietnamese-700-normal.fa58a041a3336692af1e.woff +0 -0
  119. package/npm-shrinkwrap.json +2 -2
  120. package/package.json +1 -2
  121. package/dist/cli.d.ts +0 -29
  122. package/dist/cli.d.ts.map +0 -1
  123. package/dist/cli.js.map +0 -1
  124. package/dist/cluster/export.d.ts +0 -2
  125. package/dist/cluster/export.d.ts.map +0 -1
  126. package/dist/cluster/export.js.map +0 -1
  127. package/dist/defaultConfigSchema.d.ts +0 -27
  128. package/dist/defaultConfigSchema.d.ts.map +0 -1
  129. package/dist/defaultConfigSchema.js.map +0 -1
  130. package/dist/deviceManager.d.ts +0 -114
  131. package/dist/deviceManager.d.ts.map +0 -1
  132. package/dist/deviceManager.js.map +0 -1
  133. package/dist/frontend.d.ts +0 -221
  134. package/dist/frontend.d.ts.map +0 -1
  135. package/dist/frontend.js.map +0 -1
  136. package/dist/index.d.ts +0 -35
  137. package/dist/index.d.ts.map +0 -1
  138. package/dist/index.js.map +0 -1
  139. package/dist/logger/export.d.ts +0 -2
  140. package/dist/logger/export.d.ts.map +0 -1
  141. package/dist/logger/export.js.map +0 -1
  142. package/dist/matter/behaviors.d.ts +0 -2
  143. package/dist/matter/behaviors.d.ts.map +0 -1
  144. package/dist/matter/behaviors.js.map +0 -1
  145. package/dist/matter/clusters.d.ts +0 -2
  146. package/dist/matter/clusters.d.ts.map +0 -1
  147. package/dist/matter/clusters.js.map +0 -1
  148. package/dist/matter/devices.d.ts +0 -2
  149. package/dist/matter/devices.d.ts.map +0 -1
  150. package/dist/matter/devices.js.map +0 -1
  151. package/dist/matter/endpoints.d.ts +0 -2
  152. package/dist/matter/endpoints.d.ts.map +0 -1
  153. package/dist/matter/endpoints.js.map +0 -1
  154. package/dist/matter/export.d.ts +0 -5
  155. package/dist/matter/export.d.ts.map +0 -1
  156. package/dist/matter/export.js.map +0 -1
  157. package/dist/matter/types.d.ts +0 -3
  158. package/dist/matter/types.d.ts.map +0 -1
  159. package/dist/matter/types.js.map +0 -1
  160. package/dist/matterbridge.d.ts +0 -422
  161. package/dist/matterbridge.d.ts.map +0 -1
  162. package/dist/matterbridge.js.map +0 -1
  163. package/dist/matterbridgeAccessoryPlatform.d.ts +0 -39
  164. package/dist/matterbridgeAccessoryPlatform.d.ts.map +0 -1
  165. package/dist/matterbridgeAccessoryPlatform.js.map +0 -1
  166. package/dist/matterbridgeBehaviors.d.ts +0 -1056
  167. package/dist/matterbridgeBehaviors.d.ts.map +0 -1
  168. package/dist/matterbridgeBehaviors.js.map +0 -1
  169. package/dist/matterbridgeDeviceTypes.d.ts +0 -177
  170. package/dist/matterbridgeDeviceTypes.d.ts.map +0 -1
  171. package/dist/matterbridgeDeviceTypes.js.map +0 -1
  172. package/dist/matterbridgeDynamicPlatform.d.ts +0 -39
  173. package/dist/matterbridgeDynamicPlatform.d.ts.map +0 -1
  174. package/dist/matterbridgeDynamicPlatform.js.map +0 -1
  175. package/dist/matterbridgeEndpoint.d.ts +0 -835
  176. package/dist/matterbridgeEndpoint.d.ts.map +0 -1
  177. package/dist/matterbridgeEndpoint.js.map +0 -1
  178. package/dist/matterbridgeEndpointHelpers.d.ts +0 -2275
  179. package/dist/matterbridgeEndpointHelpers.d.ts.map +0 -1
  180. package/dist/matterbridgeEndpointHelpers.js.map +0 -1
  181. package/dist/matterbridgePlatform.d.ts +0 -251
  182. package/dist/matterbridgePlatform.d.ts.map +0 -1
  183. package/dist/matterbridgePlatform.js.map +0 -1
  184. package/dist/matterbridgeTypes.d.ts +0 -178
  185. package/dist/matterbridgeTypes.d.ts.map +0 -1
  186. package/dist/matterbridgeTypes.js.map +0 -1
  187. package/dist/pluginManager.d.ts +0 -236
  188. package/dist/pluginManager.d.ts.map +0 -1
  189. package/dist/pluginManager.js.map +0 -1
  190. package/dist/shelly.d.ts +0 -77
  191. package/dist/shelly.d.ts.map +0 -1
  192. package/dist/shelly.js.map +0 -1
  193. package/dist/storage/export.d.ts +0 -2
  194. package/dist/storage/export.d.ts.map +0 -1
  195. package/dist/storage/export.js.map +0 -1
  196. package/dist/update.d.ts +0 -32
  197. package/dist/update.d.ts.map +0 -1
  198. package/dist/update.js.map +0 -1
  199. package/dist/utils/colorUtils.d.ts +0 -61
  200. package/dist/utils/colorUtils.d.ts.map +0 -1
  201. package/dist/utils/colorUtils.js.map +0 -1
  202. package/dist/utils/copyDirectory.d.ts +0 -32
  203. package/dist/utils/copyDirectory.d.ts.map +0 -1
  204. package/dist/utils/copyDirectory.js.map +0 -1
  205. package/dist/utils/createZip.d.ts +0 -38
  206. package/dist/utils/createZip.d.ts.map +0 -1
  207. package/dist/utils/createZip.js.map +0 -1
  208. package/dist/utils/deepCopy.d.ts +0 -31
  209. package/dist/utils/deepCopy.d.ts.map +0 -1
  210. package/dist/utils/deepCopy.js.map +0 -1
  211. package/dist/utils/deepEqual.d.ts +0 -53
  212. package/dist/utils/deepEqual.d.ts.map +0 -1
  213. package/dist/utils/deepEqual.js.map +0 -1
  214. package/dist/utils/export.d.ts +0 -10
  215. package/dist/utils/export.d.ts.map +0 -1
  216. package/dist/utils/export.js.map +0 -1
  217. package/dist/utils/isvalid.d.ts +0 -87
  218. package/dist/utils/isvalid.d.ts.map +0 -1
  219. package/dist/utils/isvalid.js.map +0 -1
  220. package/dist/utils/network.d.ts +0 -70
  221. package/dist/utils/network.d.ts.map +0 -1
  222. package/dist/utils/network.js.map +0 -1
  223. package/dist/utils/parameter.d.ts +0 -44
  224. package/dist/utils/parameter.d.ts.map +0 -1
  225. package/dist/utils/parameter.js.map +0 -1
  226. package/dist/utils/wait.d.ts +0 -43
  227. package/dist/utils/wait.d.ts.map +0 -1
  228. package/dist/utils/wait.js.map +0 -1
  229. package/frontend/build/static/css/main.e52977d6.css +0 -2
  230. package/frontend/build/static/css/main.e52977d6.css.map +0 -1
  231. package/frontend/build/static/js/453.abd36b29.chunk.js +0 -2
  232. package/frontend/build/static/js/main.4a12038d.js +0 -115
  233. package/frontend/build/static/media/roboto-cyrillic-300-normal.1b79538ccd585c259996.woff2 +0 -0
  234. package/frontend/build/static/media/roboto-cyrillic-300-normal.5f077fd7b977d1715acf.woff +0 -0
  235. package/frontend/build/static/media/roboto-cyrillic-400-normal.5d2930082227d172f62c.woff +0 -0
  236. package/frontend/build/static/media/roboto-cyrillic-400-normal.a9e19870cf6c4b973427.woff2 +0 -0
  237. package/frontend/build/static/media/roboto-cyrillic-500-normal.0ae2428323939af5e1ad.woff2 +0 -0
  238. package/frontend/build/static/media/roboto-cyrillic-500-normal.dd7bc8a52c6c70c5a3f5.woff +0 -0
  239. package/frontend/build/static/media/roboto-cyrillic-700-normal.3f6e1548bd5175a8c342.woff +0 -0
  240. package/frontend/build/static/media/roboto-cyrillic-700-normal.4fdfc29a10e7d4b7c527.woff2 +0 -0
  241. package/frontend/build/static/media/roboto-cyrillic-ext-300-normal.795dbc8140e3fef82983.woff +0 -0
  242. package/frontend/build/static/media/roboto-cyrillic-ext-300-normal.80947a31d23c70204b47.woff2 +0 -0
  243. package/frontend/build/static/media/roboto-cyrillic-ext-400-normal.135d076fa32aa0b4d105.woff +0 -0
  244. package/frontend/build/static/media/roboto-cyrillic-ext-400-normal.5cec61a21cc20180fbe1.woff2 +0 -0
  245. package/frontend/build/static/media/roboto-cyrillic-ext-500-normal.6de16332fda843a3dc3d.woff2 +0 -0
  246. package/frontend/build/static/media/roboto-cyrillic-ext-500-normal.c0a0638f90b31d6454ba.woff +0 -0
  247. package/frontend/build/static/media/roboto-cyrillic-ext-700-normal.4750292c47fa2bc6ac1a.woff2 +0 -0
  248. package/frontend/build/static/media/roboto-cyrillic-ext-700-normal.ca247189fc12d00de361.woff +0 -0
  249. package/frontend/build/static/media/roboto-greek-300-normal.285f3e6261d8eb20417d.woff2 +0 -0
  250. package/frontend/build/static/media/roboto-greek-300-normal.889beddda1c9bd9f97df.woff +0 -0
  251. package/frontend/build/static/media/roboto-greek-400-normal.160a791a8e4f46bca3cc.woff +0 -0
  252. package/frontend/build/static/media/roboto-greek-400-normal.2c32b1315be61477013a.woff2 +0 -0
  253. package/frontend/build/static/media/roboto-greek-500-normal.60810e07c7b0273013aa.woff +0 -0
  254. package/frontend/build/static/media/roboto-greek-500-normal.f95e757c5483310f9c11.woff2 +0 -0
  255. package/frontend/build/static/media/roboto-greek-700-normal.77dd370f2001e184ba0d.woff2 +0 -0
  256. package/frontend/build/static/media/roboto-greek-700-normal.df87b053fae3d7ad5f7a.woff +0 -0
  257. package/frontend/build/static/media/roboto-greek-ext-300-normal.b590dbe5c639944366d1.woff +0 -0
  258. package/frontend/build/static/media/roboto-greek-ext-300-normal.d6049cb54aa6fbe14c42.woff2 +0 -0
  259. package/frontend/build/static/media/roboto-greek-ext-400-normal.16eb83b4a3b1ea994243.woff +0 -0
  260. package/frontend/build/static/media/roboto-greek-ext-400-normal.1df4abad55796d11a0c8.woff2 +0 -0
  261. package/frontend/build/static/media/roboto-greek-ext-500-normal.4a96ba31abcce0f5d52b.woff2 +0 -0
  262. package/frontend/build/static/media/roboto-greek-ext-500-normal.fd28d9c008bf3af1bed7.woff +0 -0
  263. package/frontend/build/static/media/roboto-greek-ext-700-normal.2dd6febad11502dec6a6.woff2 +0 -0
  264. package/frontend/build/static/media/roboto-greek-ext-700-normal.4abdc9fff4507f17d726.woff +0 -0
  265. package/frontend/build/static/media/roboto-latin-300-normal.b850f1ff581ea232fac9.woff2 +0 -0
  266. package/frontend/build/static/media/roboto-latin-300-normal.c4bc0593c9954d79cb3a.woff +0 -0
  267. package/frontend/build/static/media/roboto-latin-400-normal.047a7839f69b209db815.woff +0 -0
  268. package/frontend/build/static/media/roboto-latin-400-normal.297d48e1b5a10c0831a9.woff2 +0 -0
  269. package/frontend/build/static/media/roboto-latin-500-normal.68d40d6d01c6f85d24ba.woff +0 -0
  270. package/frontend/build/static/media/roboto-latin-500-normal.7077203b1982951ecf76.woff2 +0 -0
  271. package/frontend/build/static/media/roboto-latin-700-normal.4535474e1cf8598695ad.woff2 +0 -0
  272. package/frontend/build/static/media/roboto-latin-700-normal.9f6a16a7770c87b2042b.woff +0 -0
  273. package/frontend/build/static/media/roboto-latin-ext-300-normal.14982a9e4857a93b6dce.woff +0 -0
  274. package/frontend/build/static/media/roboto-latin-ext-300-normal.97cbc447d4a8d41a9543.woff2 +0 -0
  275. package/frontend/build/static/media/roboto-latin-ext-400-normal.27da5b36b6d3a16f53f4.woff +0 -0
  276. package/frontend/build/static/media/roboto-latin-ext-400-normal.2eeae187764baf05867d.woff2 +0 -0
  277. package/frontend/build/static/media/roboto-latin-ext-500-normal.06c30711d588145a4541.woff +0 -0
  278. package/frontend/build/static/media/roboto-latin-ext-500-normal.9a18d7bb9ff7a6af7b32.woff2 +0 -0
  279. package/frontend/build/static/media/roboto-latin-ext-700-normal.18841836e391d39e83a8.woff2 +0 -0
  280. package/frontend/build/static/media/roboto-latin-ext-700-normal.3c5bcdd0e69c4c3ffafe.woff +0 -0
  281. package/frontend/build/static/media/roboto-vietnamese-300-normal.c96b16e5c05c7b7c3e89.woff2 +0 -0
  282. package/frontend/build/static/media/roboto-vietnamese-300-normal.f5e7cea32756dfe7af40.woff +0 -0
  283. package/frontend/build/static/media/roboto-vietnamese-400-normal.0dc97c66f9b542d6fa17.woff +0 -0
  284. package/frontend/build/static/media/roboto-vietnamese-400-normal.d3f8e26d6c27de8102b6.woff2 +0 -0
  285. package/frontend/build/static/media/roboto-vietnamese-500-normal.090fabef926bdc0e9b9f.woff2 +0 -0
  286. package/frontend/build/static/media/roboto-vietnamese-500-normal.23b7b8a2524d2d4b637b.woff +0 -0
  287. package/frontend/build/static/media/roboto-vietnamese-700-normal.0a79a9fabfc32e33f360.woff2 +0 -0
  288. package/frontend/build/static/media/roboto-vietnamese-700-normal.35ed0597568ff6f19c16.woff +0 -0
@@ -1,37 +1,5 @@
1
- /**
2
- * This file contains the class MatterbridgeAccessoryPlatform.
3
- *
4
- * @file matterbridgeAccessoryPlatform.ts
5
- * @author Luca Liguori
6
- * @date 2023-12-29
7
- * @version 1.0.5
8
- *
9
- * Copyright 2023, 2024, 2025 Luca Liguori.
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this file except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License. *
22
- */
23
1
  import { MatterbridgePlatform } from './matterbridgePlatform.js';
24
- /**
25
- * Represents a Matterbridge accessory platform.
26
- *
27
- */
28
2
  export class MatterbridgeAccessoryPlatform extends MatterbridgePlatform {
29
- /**
30
- * Creates an instance of MatterbridgeAccessoryPlatform.
31
- * @param {Matterbridge} matterbridge - The Matterbridge instance.
32
- * @param {AnsiLogger} log - The logger instance.
33
- * @param {PlatformConfig} config - The platform configuration.
34
- */
35
3
  constructor(matterbridge, log, config) {
36
4
  super(matterbridge, log, config);
37
5
  this.type = 'AccessoryPlatform';
@@ -39,4 +7,3 @@ export class MatterbridgeAccessoryPlatform extends MatterbridgePlatform {
39
7
  this.log.debug(`Matterbridge${this.type} loaded`);
40
8
  }
41
9
  }
42
- //# sourceMappingURL=matterbridgeAccessoryPlatform.js.map
@@ -1,31 +1,4 @@
1
- /**
2
- * This file contains the class MatterbridgeEndpoint that extends the Endpoint class from the Matter.js library.
3
- *
4
- * @file matterbridgeBehaviors.ts
5
- * @author Luca Liguori
6
- * @date 2024-11-07
7
- * @version 1.0.0
8
- *
9
- * Copyright 2024, 2025, 2026 Luca Liguori.
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this file except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License. *
22
- */
23
- /* eslint-disable @typescript-eslint/no-namespace */
24
- /* eslint-disable @typescript-eslint/no-unused-vars */
25
- /* eslint-disable @typescript-eslint/no-explicit-any */
26
- // @matter
27
1
  import { Behavior } from '@matter/main';
28
- // @matter clusters
29
2
  import { BooleanStateConfiguration } from '@matter/main/clusters/boolean-state-configuration';
30
3
  import { ColorControl } from '@matter/main/clusters/color-control';
31
4
  import { FanControl } from '@matter/main/clusters/fan-control';
@@ -34,7 +7,6 @@ import { Thermostat } from '@matter/main/clusters/thermostat';
34
7
  import { ValveConfigurationAndControl } from '@matter/main/clusters/valve-configuration-and-control';
35
8
  import { SmokeCoAlarm } from '@matter/main/clusters/smoke-co-alarm';
36
9
  import { BooleanStateConfigurationServer } from '@matter/main/behaviors/boolean-state-configuration';
37
- // @matter behaviors
38
10
  import { IdentifyServer } from '@matter/main/behaviors/identify';
39
11
  import { OnOffServer } from '@matter/main/behaviors/on-off';
40
12
  import { LevelControlServer } from '@matter/main/behaviors/level-control';
@@ -50,7 +22,7 @@ import { SwitchServer } from '@matter/main/behaviors/switch';
50
22
  export class MatterbridgeBehaviorDevice {
51
23
  log;
52
24
  commandHandler;
53
- device; // Will be a plugin device
25
+ device;
54
26
  endpointId = undefined;
55
27
  endpointNumber = undefined;
56
28
  constructor(log, commandHandler, device) {
@@ -274,7 +246,6 @@ export class MatterbridgeWindowCoveringServer extends WindowCoveringServer.with(
274
246
  super.goToLiftPercentage({ liftPercent100thsValue });
275
247
  }
276
248
  async handleMovement(type, reversed, direction, targetPercent100ths) {
277
- // Do nothing here, as the device will handle the movement
278
249
  }
279
250
  }
280
251
  export class MatterbridgeDoorLockServer extends DoorLockServer {
@@ -370,7 +341,5 @@ export class MatterbridgeBooleanStateConfigurationServer extends BooleanStateCon
370
341
  }
371
342
  export class MatterbridgeSwitchServer extends SwitchServer {
372
343
  initialize() {
373
- // Do nothing here, as the device will handle the switch logic
374
344
  }
375
345
  }
376
- //# sourceMappingURL=matterbridgeBehaviors.js.map
@@ -1,28 +1,4 @@
1
- /**
2
- * This file contains the class MatterbridgeDevice.
3
- *
4
- * @file matterbridgeDeviceTypes.ts
5
- * @author Luca Liguori
6
- * @date 2024-11-08
7
- * @version 1.0.0
8
- *
9
- * Copyright 2024, 2025, 2026 Luca Liguori.
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this file except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License. *
22
- */
23
- // @matter
24
1
  import { DeviceTypeId } from '@matter/main';
25
- // @matter clusters
26
2
  import { BooleanState } from '@matter/main/clusters/boolean-state';
27
3
  import { BooleanStateConfiguration } from '@matter/main/clusters/boolean-state-configuration';
28
4
  import { BridgedDeviceBasicInformation } from '@matter/main/clusters/bridged-device-basic-information';
@@ -76,46 +52,17 @@ import { ActivatedCarbonFilterMonitoring } from '@matter/main/clusters/activated
76
52
  import { DeviceEnergyManagementMode } from '@matter/main/clusters/device-energy-management-mode';
77
53
  export var DeviceClasses;
78
54
  (function (DeviceClasses) {
79
- /** Node device type. */
80
55
  DeviceClasses["Node"] = "Node";
81
- /**
82
- * Utility device type.
83
- * A Utility device type supports configuration and settings.
84
- */
85
56
  DeviceClasses["Utility"] = "Utility";
86
- /**
87
- * Application device type.
88
- * Application devices types are typically the most datatype endpoints on a node and in the network.
89
- */
90
57
  DeviceClasses["App"] = "App";
91
- /**
92
- * Simple device type.
93
- * A Simple device type supports local control that is persistent, independent, and unsupervised.
94
- */
95
58
  DeviceClasses["Simple"] = "Simple";
96
- /**
97
- * Dynamic device type.
98
- * A Dynamic device type supports intelligent and supervisory services, such as commissioning,
99
- * monitoring, trend analysis, scheduling and central management. A dynamic device type is an
100
- * application device type.
101
- */
102
59
  DeviceClasses["Dynamic"] = "Dynamic";
103
- /** There exists a client application cluster on the endpoint. */
104
60
  DeviceClasses["Client"] = "Client";
105
- /** There exists a server application cluster on the endpoint. */
106
61
  DeviceClasses["Server"] = "Server";
107
- /** The device type is composed of 2 or more device types. */
108
62
  DeviceClasses["Composed"] = "Composed";
109
- /** Composed device type that is composed of 2 or more endpoints with the same device type. */
110
63
  DeviceClasses["Multiple"] = "Multiple";
111
- /** The endpoint is an Initiator for Zigbee EZ-Mode Finding & Binding. */
112
64
  DeviceClasses["EZInitiator"] = "EZ-Initiator";
113
- /** The endpoint is a Target for Zigbee EZ-Mode Finding & Binding. */
114
65
  DeviceClasses["EZTarget"] = "EZ-Target";
115
- /**
116
- * The endpoint represents a Bridged Device, for which information about the state of
117
- * its power source is available to the Bridge
118
- */
119
66
  DeviceClasses["BridgedPowerSourceInfo"] = "BridgedPowerSourceInfo";
120
67
  })(DeviceClasses || (DeviceClasses = {}));
121
68
  export const DeviceTypeDefinition = ({ name, code, deviceClass, superSet, revision, requiredServerClusters = [], optionalServerClusters = [], requiredClientClusters = [], optionalClientClusters = [], unknown = false, }) => ({
@@ -130,7 +77,6 @@ export const DeviceTypeDefinition = ({ name, code, deviceClass, superSet, revisi
130
77
  optionalClientClusters,
131
78
  unknown,
132
79
  });
133
- // Matter 1.0 and 1.1 device types
134
80
  export const bridge = DeviceTypeDefinition({
135
81
  name: 'MA-aggregator',
136
82
  code: 0x000e,
@@ -153,22 +99,6 @@ export const powerSource = DeviceTypeDefinition({
153
99
  requiredServerClusters: [PowerSource.Cluster.id],
154
100
  optionalServerClusters: [],
155
101
  });
156
- /**
157
- 2.5.3. Conditions
158
- Please see the Base Device Type definition for conformance tags.
159
- This device type SHALL only be used for Nodes which have a device type of Bridge.
160
-
161
- 2.5.6. Endpoint Composition
162
- • A Bridged Node endpoint SHALL support one of the following composition patterns:
163
- ◦ Separate Endpoints: All application device types are supported on separate endpoints, and
164
- not on the Bridged Node endpoint. The Bridged Node endpoint’s Descriptor cluster PartsList
165
- attribute SHALL indicate a list of all endpoints representing the functionality of the bridged
166
- device, including the endpoints supporting the application device types, i.e. the full-family
167
- pattern defined in the System Model specification.
168
- ◦ One Endpoint: Both the Bridged Node and one or more application device types are sup
169
- ported on the same endpoint (following application device type rules). Endpoint composi
170
- tion SHALL conform to the application device type(s) definition
171
- */
172
102
  export const bridgedNode = DeviceTypeDefinition({
173
103
  name: 'MA-bridgedNode',
174
104
  code: 0x0013,
@@ -190,7 +120,7 @@ export const onOffLight = DeviceTypeDefinition({
190
120
  code: 0x0100,
191
121
  deviceClass: DeviceClasses.Simple,
192
122
  revision: 3,
193
- requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, /* Scenes.Cluster.id,*/ OnOff.Cluster.id],
123
+ requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, OnOff.Cluster.id],
194
124
  optionalServerClusters: [LevelControl.Cluster.id, ColorControl.Cluster.id],
195
125
  });
196
126
  export const dimmableLight = DeviceTypeDefinition({
@@ -198,7 +128,7 @@ export const dimmableLight = DeviceTypeDefinition({
198
128
  code: 0x0101,
199
129
  deviceClass: DeviceClasses.Simple,
200
130
  revision: 3,
201
- requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, /* Scenes.Cluster.id,*/ OnOff.Cluster.id, LevelControl.Cluster.id],
131
+ requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id],
202
132
  optionalServerClusters: [ColorControl.Cluster.id],
203
133
  });
204
134
  export const colorTemperatureLight = DeviceTypeDefinition({
@@ -206,7 +136,7 @@ export const colorTemperatureLight = DeviceTypeDefinition({
206
136
  code: 0x010c,
207
137
  deviceClass: DeviceClasses.Simple,
208
138
  revision: 4,
209
- requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, /* Scenes.Cluster.id,*/ OnOff.Cluster.id, LevelControl.Cluster.id, ColorControl.Cluster.id],
139
+ requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id, ColorControl.Cluster.id],
210
140
  optionalServerClusters: [],
211
141
  });
212
142
  export const onOffOutlet = DeviceTypeDefinition({
@@ -214,7 +144,7 @@ export const onOffOutlet = DeviceTypeDefinition({
214
144
  code: 0x010a,
215
145
  deviceClass: DeviceClasses.Simple,
216
146
  revision: 3,
217
- requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, /* Scenes.Cluster.id,*/ OnOff.Cluster.id],
147
+ requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, OnOff.Cluster.id],
218
148
  optionalServerClusters: [LevelControl.Cluster.id],
219
149
  });
220
150
  export const dimmableOutlet = DeviceTypeDefinition({
@@ -222,7 +152,7 @@ export const dimmableOutlet = DeviceTypeDefinition({
222
152
  code: 0x010b,
223
153
  deviceClass: DeviceClasses.Simple,
224
154
  revision: 3,
225
- requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, /* Scenes.Cluster.id,*/ OnOff.Cluster.id, LevelControl.Cluster.id],
155
+ requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id],
226
156
  optionalServerClusters: [],
227
157
  });
228
158
  export const doorLockDevice = DeviceTypeDefinition({
@@ -231,7 +161,7 @@ export const doorLockDevice = DeviceTypeDefinition({
231
161
  deviceClass: DeviceClasses.Simple,
232
162
  revision: 3,
233
163
  requiredServerClusters: [Identify.Cluster.id, DoorLock.Cluster.id],
234
- optionalServerClusters: [Groups.Cluster.id /* , Scenes.Cluster.id,*/],
164
+ optionalServerClusters: [Groups.Cluster.id],
235
165
  });
236
166
  export const coverDevice = DeviceTypeDefinition({
237
167
  name: 'MA-windowCovering',
@@ -239,13 +169,8 @@ export const coverDevice = DeviceTypeDefinition({
239
169
  deviceClass: DeviceClasses.Simple,
240
170
  revision: 3,
241
171
  requiredServerClusters: [Identify.Cluster.id, WindowCovering.Cluster.id],
242
- optionalServerClusters: [Groups.Cluster.id /* , Scenes.Cluster.id,*/],
172
+ optionalServerClusters: [Groups.Cluster.id],
243
173
  });
244
- /**
245
- * Remark: it may have a thermostat device type.
246
- * Additional device types MAY also be included in device compositions.
247
- * The FanControl cluster must have the FanModeSequence attribute.
248
- */
249
174
  export const fanDevice = DeviceTypeDefinition({
250
175
  name: 'MA-fan',
251
176
  code: 0x2b,
@@ -260,7 +185,7 @@ export const thermostatDevice = DeviceTypeDefinition({
260
185
  deviceClass: DeviceClasses.Simple,
261
186
  revision: 3,
262
187
  requiredServerClusters: [Identify.Cluster.id, Thermostat.Cluster.id],
263
- optionalServerClusters: [Groups.Cluster.id /* , Scenes.Cluster.id,*/, ThermostatUserInterfaceConfiguration.Cluster.id, EnergyPreference.Cluster.id, TimeSynchronization.Cluster.id],
188
+ optionalServerClusters: [Groups.Cluster.id, ThermostatUserInterfaceConfiguration.Cluster.id, EnergyPreference.Cluster.id, TimeSynchronization.Cluster.id],
264
189
  });
265
190
  export const contactSensor = DeviceTypeDefinition({
266
191
  name: 'MA-contactsensor',
@@ -326,34 +251,30 @@ export const roboticVacuumCleaner = DeviceTypeDefinition({
326
251
  requiredServerClusters: [Identify.Cluster.id, RvcRunMode.Cluster.id, RvcOperationalState.Cluster.id],
327
252
  optionalServerClusters: [RvcCleanMode.Cluster.id],
328
253
  });
329
- // Custom device types without client clusters (not working in Alexa)
330
254
  export const onOffSwitch = DeviceTypeDefinition({
331
255
  name: 'MA-onoffswitch',
332
256
  code: 0x0103,
333
257
  deviceClass: DeviceClasses.Simple,
334
258
  revision: 3,
335
- requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, /* Scenes.Cluster.id,*/ OnOff.Cluster.id],
259
+ requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, OnOff.Cluster.id],
336
260
  optionalServerClusters: [LevelControl.Cluster.id, ColorControl.Cluster.id],
337
261
  });
338
- // Custom device types without client clusters (not working in Alexa)
339
262
  export const dimmableSwitch = DeviceTypeDefinition({
340
263
  name: 'MA-dimmableswitch',
341
264
  code: 0x0104,
342
265
  deviceClass: DeviceClasses.Simple,
343
266
  revision: 3,
344
- requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, /* Scenes.Cluster.id,*/ OnOff.Cluster.id, LevelControl.Cluster.id],
267
+ requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id],
345
268
  optionalServerClusters: [ColorControl.Cluster.id],
346
269
  });
347
- // Custom device types without client clusters (not working in Alexa)
348
270
  export const colorTemperatureSwitch = DeviceTypeDefinition({
349
271
  name: 'MA-colortemperatureswitch',
350
272
  code: 0x0105,
351
273
  deviceClass: DeviceClasses.Simple,
352
274
  revision: 3,
353
- requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, /* Scenes.Cluster.id,*/ OnOff.Cluster.id, LevelControl.Cluster.id, ColorControl.Cluster.id],
275
+ requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id, ColorControl.Cluster.id],
354
276
  optionalServerClusters: [],
355
277
  });
356
- // Matter 1.2 and 1.3 device types
357
278
  export const airQualitySensor = DeviceTypeDefinition({
358
279
  name: 'MA-airQualitySensor',
359
280
  code: 0x002c,
@@ -399,7 +320,6 @@ export const rainSensor = DeviceTypeDefinition({
399
320
  requiredServerClusters: [Identify.Cluster.id, BooleanState.Cluster.id],
400
321
  optionalServerClusters: [BooleanStateConfiguration.Cluster.id],
401
322
  });
402
- // Remark: A Smoke CO Alarm device type SHALL support an instance of a Power Source device type on some endpoint.
403
323
  export const smokeCoAlarm = DeviceTypeDefinition({
404
324
  name: 'MA-smokeCoAlarm',
405
325
  code: 0x0076,
@@ -408,12 +328,6 @@ export const smokeCoAlarm = DeviceTypeDefinition({
408
328
  requiredServerClusters: [Identify.Cluster.id, SmokeCoAlarm.Cluster.id],
409
329
  optionalServerClusters: [Groups.Cluster.id, TemperatureMeasurement.Cluster.id, RelativeHumidityMeasurement.Cluster.id, CarbonMonoxideConcentrationMeasurement.Cluster.id],
410
330
  });
411
- /**
412
- * Remark: LevelControl cluster:
413
- * 0 N/A Pump is stopped,
414
- * 1–200 Level / 2 (0.5–100.0%) Pump setpoint in percent
415
- * 201–255 100.0% Pump setpoint is 100.0%
416
- */
417
331
  export const pumpDevice = DeviceTypeDefinition({
418
332
  name: 'MA-pump',
419
333
  code: 0x303,
@@ -430,10 +344,6 @@ export const waterValve = DeviceTypeDefinition({
430
344
  requiredServerClusters: [Identify.Cluster.id, ValveConfigurationAndControl.Cluster.id],
431
345
  optionalServerClusters: [FlowMeasurement.Cluster.id],
432
346
  });
433
- /**
434
- * Remark: it may have a Thermostat, Temperature Sensor, Humidity Sensor and an Air Quality Sensor device type.
435
- * Additional device types MAY also be included in device compositions.
436
- */
437
347
  export const airPurifier = DeviceTypeDefinition({
438
348
  name: 'MA-airPurifier',
439
349
  code: 0x2d,
@@ -442,16 +352,6 @@ export const airPurifier = DeviceTypeDefinition({
442
352
  requiredServerClusters: [Identify.Cluster.id, FanControl.Cluster.id],
443
353
  optionalServerClusters: [Groups.Cluster.id, HepaFilterMonitoring.Cluster.id, ActivatedCarbonFilterMonitoring.Cluster.id],
444
354
  });
445
- /**
446
- * Remark: it may have a temperature sensor and a humidity sensor device.
447
- * Additional device types MAY also be included in device compositions.
448
- * The DF (Dead Front) feature is required for the On/Off cluster in this device type:
449
- * - Thermostat LocalTemperature null
450
- * - Temperature Measurement MeasuredValue null
451
- * - Relative Humidity Measurement MeasuredValue null
452
- * - Fan Control SpeedSetting null
453
- * - Fan Control PercentSetting null
454
- */
455
355
  export const airConditioner = DeviceTypeDefinition({
456
356
  name: 'MA-airConditioner',
457
357
  code: 0x72,
@@ -476,4 +376,3 @@ export const deviceEnergyManagement = DeviceTypeDefinition({
476
376
  requiredServerClusters: [DeviceEnergyManagement.Cluster.id, DeviceEnergyManagementMode.Cluster.id],
477
377
  optionalServerClusters: [],
478
378
  });
479
- //# sourceMappingURL=matterbridgeDeviceTypes.js.map
@@ -1,37 +1,5 @@
1
- /**
2
- * This file contains the class MatterbridgeDynamicPlatform.
3
- *
4
- * @file matterbridgeDynamicPlatform.ts
5
- * @author Luca Liguori
6
- * @date 2023-12-29
7
- * @version 1.0.5
8
- *
9
- * Copyright 2023, 2024, 2025 Luca Liguori.
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this file except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License. *
22
- */
23
1
  import { MatterbridgePlatform } from './matterbridgePlatform.js';
24
- /**
25
- * Represents a dynamic platform for Matterbridge.
26
- *
27
- */
28
2
  export class MatterbridgeDynamicPlatform extends MatterbridgePlatform {
29
- /**
30
- * Creates an instance of MatterbridgeDynamicPlatform.
31
- * @param {Matterbridge} matterbridge - The Matterbridge instance.
32
- * @param {AnsiLogger} log - The logger instance.
33
- * @param {PlatformConfig} config - The platform configuration.
34
- */
35
3
  constructor(matterbridge, log, config) {
36
4
  super(matterbridge, log, config);
37
5
  this.type = 'DynamicPlatform';
@@ -39,4 +7,3 @@ export class MatterbridgeDynamicPlatform extends MatterbridgePlatform {
39
7
  this.log.debug(`Matterbridge${this.type} loaded`);
40
8
  }
41
9
  }
42
- //# sourceMappingURL=matterbridgeDynamicPlatform.js.map