smart-home-engine 1.20.4 → 1.20.5
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as O}from"./monaco-langs-Dt8a9eeo.js";import{t as I}from"./index-
|
|
1
|
+
import{m as O}from"./monaco-langs-Dt8a9eeo.js";import{t as I}from"./index-DvxIhiIs.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
package/dist/web/index.html
CHANGED
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
}
|
|
173
173
|
})();
|
|
174
174
|
</script>
|
|
175
|
-
<script type="module" crossorigin src="/assets/index-
|
|
175
|
+
<script type="module" crossorigin src="/assets/index-DvxIhiIs.js"></script>
|
|
176
176
|
<link rel="modulepreload" crossorigin href="/assets/monaco-langs-Dt8a9eeo.js">
|
|
177
177
|
<link rel="stylesheet" crossorigin href="/assets/monaco-langs-DyX1CsEw.css">
|
|
178
178
|
<link rel="stylesheet" crossorigin href="/assets/index-B4M4MeEk.css">
|
package/package.json
CHANGED
package/src/matter/controller.js
CHANGED
|
@@ -588,6 +588,13 @@ function _broadcastNodeAttributes(node, nodeId) {
|
|
|
588
588
|
value: _jsonSafe(value),
|
|
589
589
|
ts: Date.now(),
|
|
590
590
|
});
|
|
591
|
+
// Device/endpoint labels feed the device list — rebroadcast it
|
|
592
|
+
// when they change. This is also what completes a rename():
|
|
593
|
+
// the local mirror only learns the new nodeLabel when the
|
|
594
|
+
// device's subscription report arrives, i.e. exactly now.
|
|
595
|
+
if (attrName === 'nodeLabel' || attrName === 'productName') {
|
|
596
|
+
_broadcast?.({ type: 'matter:deviceList', devices: listPaired() });
|
|
597
|
+
}
|
|
591
598
|
});
|
|
592
599
|
count++;
|
|
593
600
|
}
|