@riddix/hamh 2.1.0-alpha.824 → 2.1.0-alpha.826
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.
package/dist/backend/cli.js
CHANGED
|
@@ -160808,10 +160808,10 @@ function createEndpointId4(entityId, customName) {
|
|
|
160808
160808
|
return baseName.replace(/\./g, "_").replace(/\s+/g, "_");
|
|
160809
160809
|
}
|
|
160810
160810
|
function buildEntityPayload3(registry2, entityId) {
|
|
160811
|
-
const state = registry2.
|
|
160811
|
+
const state = registry2.initialStateIncludingUnfiltered(entityId);
|
|
160812
160812
|
if (!state) return void 0;
|
|
160813
|
-
const entity = registry2.
|
|
160814
|
-
const deviceRegistry = registry2.
|
|
160813
|
+
const entity = registry2.entityIncludingUnfiltered(entityId);
|
|
160814
|
+
const deviceRegistry = registry2.deviceOfIncludingUnfiltered(entityId);
|
|
160815
160815
|
return {
|
|
160816
160816
|
entity_id: entityId,
|
|
160817
160817
|
state,
|