@matter-server/dashboard 1.5.2 → 1.5.4

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 (34) hide show
  1. package/dist/esm/client/models/descriptions.d.ts.map +1 -1
  2. package/dist/esm/client/models/descriptions.js +380 -0
  3. package/dist/esm/client/models/descriptions.js.map +1 -1
  4. package/dist/esm/pages/cluster-commands/clusters/thermostat-commands.d.ts +27 -0
  5. package/dist/esm/pages/cluster-commands/clusters/thermostat-commands.d.ts.map +1 -1
  6. package/dist/esm/pages/cluster-commands/clusters/thermostat-commands.js +428 -7
  7. package/dist/esm/pages/cluster-commands/clusters/thermostat-commands.js.map +1 -1
  8. package/dist/esm/util/thermostat-preset-edit.d.ts +68 -0
  9. package/dist/esm/util/thermostat-preset-edit.d.ts.map +1 -0
  10. package/dist/esm/util/thermostat-preset-edit.js +174 -0
  11. package/dist/esm/util/thermostat-preset-edit.js.map +6 -0
  12. package/dist/esm/util/thermostat-schedule.d.ts +4 -0
  13. package/dist/esm/util/thermostat-schedule.d.ts.map +1 -1
  14. package/dist/esm/util/thermostat-schedule.js +5 -1
  15. package/dist/esm/util/thermostat-schedule.js.map +1 -1
  16. package/dist/web/js/{attribute-write-dialog-BYIrK0s9.js → attribute-write-dialog-C-KBqyuJ.js} +1 -1
  17. package/dist/web/js/{command-invoke-dialog-sgrlMSYh.js → command-invoke-dialog-C4HMf49Q.js} +1 -1
  18. package/dist/web/js/{commission-node-dialog-C7n9Vdcz.js → commission-node-dialog-Driu7kGn.js} +5 -5
  19. package/dist/web/js/{commission-node-existing-DfTkRkfm.js → commission-node-existing-Dth2CY1e.js} +1 -1
  20. package/dist/web/js/{commission-node-thread-B4_kOd4o.js → commission-node-thread-CnixX2gX.js} +1 -1
  21. package/dist/web/js/{commission-node-wifi-B37hLRjk.js → commission-node-wifi-8im5zNEv.js} +1 -1
  22. package/dist/web/js/{dialog-box-CRK6qCOH.js → dialog-box-Daj8_--D.js} +1 -1
  23. package/dist/web/js/{fabric-label-dialog-CtRCSYxX.js → fabric-label-dialog-Bk6lPNvk.js} +1 -1
  24. package/dist/web/js/main.js +40 -19
  25. package/dist/web/js/{matter-dashboard-app-DkWZ4ibd.js → matter-dashboard-app-BdO9wWRC.js} +907 -18
  26. package/dist/web/js/{node-acl-add-dialog-BSKJrvir.js → node-acl-add-dialog-OeLLubXq.js} +1 -1
  27. package/dist/web/js/{node-binding-dialog-DmhjB76G.js → node-binding-dialog-DQ9R0KrP.js} +1 -1
  28. package/dist/web/js/{node-label-dialog-DmrPo80W.js → node-label-dialog-IVEQrmsg.js} +1 -1
  29. package/dist/web/js/{settings-dialog-DxeXrD5U.js → settings-dialog-gcsO83Jl.js} +1 -1
  30. package/package.json +3 -3
  31. package/src/client/models/descriptions.ts +380 -0
  32. package/src/pages/cluster-commands/clusters/thermostat-commands.ts +486 -7
  33. package/src/util/thermostat-preset-edit.ts +289 -0
  34. package/src/util/thermostat-schedule.ts +6 -2
@@ -1,4 +1,4 @@
1
- import { i, c, a as clientContext, n, r, b as i$1, P as Privilege, x as nodeIdKey, y as aclCapacity, s as showAlertDialog, z as targetServerClusters, B as clusters, C as AuthMode, E as addAclEntry, F as PRIVILEGE_NAMES, d as b, G as mdiClose, H as getDeviceName, h as handleAsync, g as t } from './matter-dashboard-app-DkWZ4ibd.js';
1
+ import { i, c, a as clientContext, n, r, b as i$1, P as Privilege, x as nodeIdKey, y as aclCapacity, s as showAlertDialog, z as targetServerClusters, B as clusters, C as AuthMode, E as addAclEntry, F as PRIVILEGE_NAMES, d as b, G as mdiClose, H as getDeviceName, h as handleAsync, g as t } from './matter-dashboard-app-BdO9wWRC.js';
2
2
  import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
3
3
  import './main.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { i, c, a as clientContext, n, r, b as i$1, x as nodeIdKey, B as clusters, s as showAlertDialog, I as targetAclCapacityForBinding, J as addBinding, K as bindableClusters, A, d as b, H as getDeviceName, L as getEndpointDeviceTypes, h as handleAsync, g as t } from './matter-dashboard-app-DkWZ4ibd.js';
1
+ import { i, c, a as clientContext, n, r, b as i$1, x as nodeIdKey, B as clusters, s as showAlertDialog, I as targetAclCapacityForBinding, J as addBinding, K as bindableClusters, A, d as b, H as getDeviceName, L as getEndpointDeviceTypes, h as handleAsync, g as t } from './matter-dashboard-app-BdO9wWRC.js';
2
2
  import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
3
3
  import './main.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r, n, g as t, b as i, M as MAX_NODE_LABEL_LENGTH, d as b, w as writeNodeLabel, s as showAlertDialog } from './matter-dashboard-app-DkWZ4ibd.js';
1
+ import { r, n, g as t, b as i, M as MAX_NODE_LABEL_LENGTH, d as b, w as writeNodeLabel, s as showAlertDialog } from './matter-dashboard-app-BdO9wWRC.js';
2
2
  import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
3
3
  import './main.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { i, c, a as clientContext, t as tickContext, r, e, b as i$1, f as fireAndForget, s as showAlertDialog, d as b, A, h as handleAsync, g as t, n, D as DevModeService, m as mdiWifi, j as mdiPlus, k as mdiPencil, l as mdiDelete, o as mdiEyeOff, p as mdiEye, q as mdiAccessPoint } from './matter-dashboard-app-DkWZ4ibd.js';
1
+ import { i, c, a as clientContext, t as tickContext, r, e, b as i$1, f as fireAndForget, s as showAlertDialog, d as b, A, h as handleAsync, g as t, n, D as DevModeService, m as mdiWifi, j as mdiPlus, k as mdiPencil, l as mdiDelete, o as mdiEyeOff, p as mdiEye, q as mdiAccessPoint } from './matter-dashboard-app-BdO9wWRC.js';
2
2
  import { p as preventDefault } from './prevent_default-D-ohDGsN.js';
3
3
  import './main.js';
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matter-server/dashboard",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "Dashboard for OHF Matter Server",
5
5
  "homepage": "https://github.com/matter-js/matterjs-server",
6
6
  "bugs": {
@@ -34,8 +34,8 @@
34
34
  "dependencies": {
35
35
  "@lit/context": "^1.1.6",
36
36
  "@material/web": "^2.5.0",
37
- "@matter-server/custom-clusters": "1.5.2",
38
- "@matter-server/ws-client": "1.5.2",
37
+ "@matter-server/custom-clusters": "1.5.4",
38
+ "@matter-server/ws-client": "1.5.4",
39
39
  "@mdi/js": "^7.4.47",
40
40
  "lit": "^3.3.3",
41
41
  "qrcode-generator": "^2.0.4",
@@ -19287,6 +19287,386 @@ export const clusters: Record<number, ClusterDescription> = {
19287
19287
  "commands": {},
19288
19288
  "features": {}
19289
19289
  },
19290
+ "320011264": {
19291
+ "id": 320011264,
19292
+ "label": "YeelightBasicCluster",
19293
+ "attributes": {
19294
+ "65528": {
19295
+ "id": 65528,
19296
+ "cluster_id": 320011264,
19297
+ "label": "GeneratedCommandList",
19298
+ "type": "List[command-id]",
19299
+ "writable": false
19300
+ },
19301
+ "65529": {
19302
+ "id": 65529,
19303
+ "cluster_id": 320011264,
19304
+ "label": "AcceptedCommandList",
19305
+ "type": "List[command-id]",
19306
+ "writable": false
19307
+ },
19308
+ "65531": {
19309
+ "id": 65531,
19310
+ "cluster_id": 320011264,
19311
+ "label": "AttributeList",
19312
+ "type": "List[attrib-id]",
19313
+ "writable": false
19314
+ },
19315
+ "65532": {
19316
+ "id": 65532,
19317
+ "cluster_id": 320011264,
19318
+ "label": "FeatureMap",
19319
+ "type": "map32",
19320
+ "writable": false
19321
+ },
19322
+ "65533": {
19323
+ "id": 65533,
19324
+ "cluster_id": 320011264,
19325
+ "label": "ClusterRevision",
19326
+ "type": "uint16",
19327
+ "writable": false
19328
+ },
19329
+ "319946752": {
19330
+ "id": 319946752,
19331
+ "cluster_id": 320011264,
19332
+ "label": "YeelightId",
19333
+ "type": "Optional[uint32]",
19334
+ "writable": false
19335
+ },
19336
+ "319946753": {
19337
+ "id": 319946753,
19338
+ "cluster_id": 320011264,
19339
+ "label": "SoftwareVersion",
19340
+ "type": "Optional[uint32]",
19341
+ "writable": false
19342
+ },
19343
+ "319946754": {
19344
+ "id": 319946754,
19345
+ "cluster_id": 320011264,
19346
+ "label": "SoftwareVersionString",
19347
+ "type": "Optional[string]",
19348
+ "writable": false
19349
+ }
19350
+ },
19351
+ "commands": {},
19352
+ "features": {}
19353
+ },
19354
+ "320011265": {
19355
+ "id": 320011265,
19356
+ "label": "YeelightBasicConfigCluster",
19357
+ "attributes": {
19358
+ "65528": {
19359
+ "id": 65528,
19360
+ "cluster_id": 320011265,
19361
+ "label": "GeneratedCommandList",
19362
+ "type": "List[command-id]",
19363
+ "writable": false
19364
+ },
19365
+ "65529": {
19366
+ "id": 65529,
19367
+ "cluster_id": 320011265,
19368
+ "label": "AcceptedCommandList",
19369
+ "type": "List[command-id]",
19370
+ "writable": false
19371
+ },
19372
+ "65531": {
19373
+ "id": 65531,
19374
+ "cluster_id": 320011265,
19375
+ "label": "AttributeList",
19376
+ "type": "List[attrib-id]",
19377
+ "writable": false
19378
+ },
19379
+ "65532": {
19380
+ "id": 65532,
19381
+ "cluster_id": 320011265,
19382
+ "label": "FeatureMap",
19383
+ "type": "map32",
19384
+ "writable": false
19385
+ },
19386
+ "65533": {
19387
+ "id": 65533,
19388
+ "cluster_id": 320011265,
19389
+ "label": "ClusterRevision",
19390
+ "type": "uint16",
19391
+ "writable": false
19392
+ },
19393
+ "319946753": {
19394
+ "id": 319946753,
19395
+ "cluster_id": 320011265,
19396
+ "label": "LanControl",
19397
+ "type": "Optional[bool]",
19398
+ "writable": true
19399
+ },
19400
+ "319946754": {
19401
+ "id": 319946754,
19402
+ "cluster_id": 320011265,
19403
+ "label": "MicMusicOnOff",
19404
+ "type": "Optional[bool]",
19405
+ "writable": false
19406
+ },
19407
+ "319946755": {
19408
+ "id": 319946755,
19409
+ "cluster_id": 320011265,
19410
+ "label": "MicMusicEffectId",
19411
+ "type": "Optional[uint64]",
19412
+ "writable": false
19413
+ }
19414
+ },
19415
+ "commands": {
19416
+ "319946752": {
19417
+ "id": 319946752,
19418
+ "cluster_id": 320011265,
19419
+ "name": "setMicMusicMode",
19420
+ "label": "Set Mic Music Mode"
19421
+ }
19422
+ },
19423
+ "features": {}
19424
+ },
19425
+ "320011266": {
19426
+ "id": 320011266,
19427
+ "label": "YeelightCubeControlCluster",
19428
+ "attributes": {
19429
+ "65528": {
19430
+ "id": 65528,
19431
+ "cluster_id": 320011266,
19432
+ "label": "GeneratedCommandList",
19433
+ "type": "List[command-id]",
19434
+ "writable": false
19435
+ },
19436
+ "65529": {
19437
+ "id": 65529,
19438
+ "cluster_id": 320011266,
19439
+ "label": "AcceptedCommandList",
19440
+ "type": "List[command-id]",
19441
+ "writable": false
19442
+ },
19443
+ "65531": {
19444
+ "id": 65531,
19445
+ "cluster_id": 320011266,
19446
+ "label": "AttributeList",
19447
+ "type": "List[attrib-id]",
19448
+ "writable": false
19449
+ },
19450
+ "65532": {
19451
+ "id": 65532,
19452
+ "cluster_id": 320011266,
19453
+ "label": "FeatureMap",
19454
+ "type": "map32",
19455
+ "writable": false
19456
+ },
19457
+ "65533": {
19458
+ "id": 65533,
19459
+ "cluster_id": 320011266,
19460
+ "label": "ClusterRevision",
19461
+ "type": "uint16",
19462
+ "writable": false
19463
+ },
19464
+ "319946752": {
19465
+ "id": 319946752,
19466
+ "cluster_id": 320011266,
19467
+ "label": "CubeTopology",
19468
+ "type": "List[uint8]",
19469
+ "writable": false
19470
+ },
19471
+ "319946753": {
19472
+ "id": 319946753,
19473
+ "cluster_id": 320011266,
19474
+ "label": "RotationAngle",
19475
+ "type": "Optional[uint8]",
19476
+ "writable": true
19477
+ }
19478
+ },
19479
+ "commands": {
19480
+ "319946754": {
19481
+ "id": 319946754,
19482
+ "cluster_id": 320011266,
19483
+ "name": "updateTopology",
19484
+ "label": "Update Topology"
19485
+ }
19486
+ },
19487
+ "features": {}
19488
+ },
19489
+ "320011269": {
19490
+ "id": 320011269,
19491
+ "label": "YeelightEnhancedColorEffectConfigV2Cluster",
19492
+ "attributes": {
19493
+ "65528": {
19494
+ "id": 65528,
19495
+ "cluster_id": 320011269,
19496
+ "label": "GeneratedCommandList",
19497
+ "type": "List[command-id]",
19498
+ "writable": false
19499
+ },
19500
+ "65529": {
19501
+ "id": 65529,
19502
+ "cluster_id": 320011269,
19503
+ "label": "AcceptedCommandList",
19504
+ "type": "List[command-id]",
19505
+ "writable": false
19506
+ },
19507
+ "65531": {
19508
+ "id": 65531,
19509
+ "cluster_id": 320011269,
19510
+ "label": "AttributeList",
19511
+ "type": "List[attrib-id]",
19512
+ "writable": false
19513
+ },
19514
+ "65532": {
19515
+ "id": 65532,
19516
+ "cluster_id": 320011269,
19517
+ "label": "FeatureMap",
19518
+ "type": "map32",
19519
+ "writable": false
19520
+ },
19521
+ "65533": {
19522
+ "id": 65533,
19523
+ "cluster_id": 320011269,
19524
+ "label": "ClusterRevision",
19525
+ "type": "uint16",
19526
+ "writable": false
19527
+ },
19528
+ "319946752": {
19529
+ "id": 319946752,
19530
+ "cluster_id": 320011269,
19531
+ "label": "EffectId",
19532
+ "type": "Optional[uint64]",
19533
+ "writable": false
19534
+ },
19535
+ "319946753": {
19536
+ "id": 319946753,
19537
+ "cluster_id": 320011269,
19538
+ "label": "CustomId",
19539
+ "type": "Optional[uint64]",
19540
+ "writable": false
19541
+ }
19542
+ },
19543
+ "commands": {
19544
+ "319946752": {
19545
+ "id": 319946752,
19546
+ "cluster_id": 320011269,
19547
+ "name": "setEffect",
19548
+ "label": "Set Effect"
19549
+ },
19550
+ "319946754": {
19551
+ "id": 319946754,
19552
+ "cluster_id": 320011269,
19553
+ "name": "setRate",
19554
+ "label": "Set Rate"
19555
+ },
19556
+ "319946758": {
19557
+ "id": 319946758,
19558
+ "cluster_id": 320011269,
19559
+ "name": "setMixer",
19560
+ "label": "Set Mixer"
19561
+ },
19562
+ "319946759": {
19563
+ "id": 319946759,
19564
+ "cluster_id": 320011269,
19565
+ "name": "setData",
19566
+ "label": "Set Data"
19567
+ },
19568
+ "319946760": {
19569
+ "id": 319946760,
19570
+ "cluster_id": 320011269,
19571
+ "name": "setDirection",
19572
+ "label": "Set Direction"
19573
+ },
19574
+ "319946761": {
19575
+ "id": 319946761,
19576
+ "cluster_id": 320011269,
19577
+ "name": "resetEffect",
19578
+ "label": "Reset Effect"
19579
+ },
19580
+ "319946762": {
19581
+ "id": 319946762,
19582
+ "cluster_id": 320011269,
19583
+ "name": "updatePersistEffectList",
19584
+ "label": "Update Persist Effect List"
19585
+ },
19586
+ "319946763": {
19587
+ "id": 319946763,
19588
+ "cluster_id": 320011269,
19589
+ "name": "getPersistEffectList",
19590
+ "label": "Get Persist Effect List"
19591
+ },
19592
+ "319946765": {
19593
+ "id": 319946765,
19594
+ "cluster_id": 320011269,
19595
+ "name": "getCurrentEffect",
19596
+ "label": "Get Current Effect"
19597
+ },
19598
+ "319946766": {
19599
+ "id": 319946766,
19600
+ "cluster_id": 320011269,
19601
+ "name": "setPresetsEffect",
19602
+ "label": "Set Presets Effect"
19603
+ },
19604
+ "319946767": {
19605
+ "id": 319946767,
19606
+ "cluster_id": 320011269,
19607
+ "name": "sendGifDataFragment",
19608
+ "label": "Send Gif Data Fragment"
19609
+ }
19610
+ },
19611
+ "features": {}
19612
+ },
19613
+ "320011281": {
19614
+ "id": 320011281,
19615
+ "label": "YeelightOverTheAirCluster",
19616
+ "attributes": {
19617
+ "65528": {
19618
+ "id": 65528,
19619
+ "cluster_id": 320011281,
19620
+ "label": "GeneratedCommandList",
19621
+ "type": "List[command-id]",
19622
+ "writable": false
19623
+ },
19624
+ "65529": {
19625
+ "id": 65529,
19626
+ "cluster_id": 320011281,
19627
+ "label": "AcceptedCommandList",
19628
+ "type": "List[command-id]",
19629
+ "writable": false
19630
+ },
19631
+ "65531": {
19632
+ "id": 65531,
19633
+ "cluster_id": 320011281,
19634
+ "label": "AttributeList",
19635
+ "type": "List[attrib-id]",
19636
+ "writable": false
19637
+ },
19638
+ "65532": {
19639
+ "id": 65532,
19640
+ "cluster_id": 320011281,
19641
+ "label": "FeatureMap",
19642
+ "type": "map32",
19643
+ "writable": false
19644
+ },
19645
+ "65533": {
19646
+ "id": 65533,
19647
+ "cluster_id": 320011281,
19648
+ "label": "ClusterRevision",
19649
+ "type": "uint16",
19650
+ "writable": false
19651
+ },
19652
+ "319946752": {
19653
+ "id": 319946752,
19654
+ "cluster_id": 320011281,
19655
+ "label": "YeeUpdateState",
19656
+ "type": "Optional[uint8]",
19657
+ "writable": false
19658
+ },
19659
+ "319946753": {
19660
+ "id": 319946753,
19661
+ "cluster_id": 320011281,
19662
+ "label": "Progress",
19663
+ "type": "Optional[Nullable[uint8]]",
19664
+ "writable": false
19665
+ }
19666
+ },
19667
+ "commands": {},
19668
+ "features": {}
19669
+ },
19290
19670
  "322239491": {
19291
19671
  "id": 322239491,
19292
19672
  "label": "TclDehumidifierCluster",