@riddix/hamh 2.1.0-alpha.541 → 2.1.0-alpha.543
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
|
@@ -147777,7 +147777,10 @@ WARNING: ${includeIdentity ? "This backup contains sensitive Matter identity dat
|
|
|
147777
147777
|
suctionLevelEntity: config10.suctionLevelEntity,
|
|
147778
147778
|
mopIntensityEntity: config10.mopIntensityEntity,
|
|
147779
147779
|
valetudoIdentifier: config10.valetudoIdentifier,
|
|
147780
|
-
coverSwapOpenClose: config10.coverSwapOpenClose
|
|
147780
|
+
coverSwapOpenClose: config10.coverSwapOpenClose,
|
|
147781
|
+
customServiceAreas: config10.customServiceAreas,
|
|
147782
|
+
customFanSpeedTags: config10.customFanSpeedTags,
|
|
147783
|
+
composedEntities: config10.composedEntities
|
|
147781
147784
|
});
|
|
147782
147785
|
mappingsRestored++;
|
|
147783
147786
|
}
|
|
@@ -147916,7 +147919,13 @@ WARNING: ${includeIdentity ? "This backup contains sensitive Matter identity dat
|
|
|
147916
147919
|
powerEntity: config10.powerEntity,
|
|
147917
147920
|
energyEntity: config10.energyEntity,
|
|
147918
147921
|
suctionLevelEntity: config10.suctionLevelEntity,
|
|
147919
|
-
mopIntensityEntity: config10.mopIntensityEntity
|
|
147922
|
+
mopIntensityEntity: config10.mopIntensityEntity,
|
|
147923
|
+
temperatureEntity: config10.temperatureEntity,
|
|
147924
|
+
valetudoIdentifier: config10.valetudoIdentifier,
|
|
147925
|
+
coverSwapOpenClose: config10.coverSwapOpenClose,
|
|
147926
|
+
customServiceAreas: config10.customServiceAreas,
|
|
147927
|
+
customFanSpeedTags: config10.customFanSpeedTags,
|
|
147928
|
+
composedEntities: config10.composedEntities
|
|
147920
147929
|
});
|
|
147921
147930
|
mappingsRestored++;
|
|
147922
147931
|
}
|
|
@@ -178186,6 +178195,11 @@ var matterDeviceTypeFactories = {
|
|
|
178186
178195
|
|
|
178187
178196
|
// src/matter/endpoints/composed/user-composed-endpoint.ts
|
|
178188
178197
|
var logger199 = Logger.get("UserComposedEndpoint");
|
|
178198
|
+
function stripBasicInformation(type) {
|
|
178199
|
+
const behaviors = { ...type.behaviors };
|
|
178200
|
+
delete behaviors.bridgedDeviceBasicInformation;
|
|
178201
|
+
return { ...type, behaviors };
|
|
178202
|
+
}
|
|
178189
178203
|
function createEndpointId4(entityId, customName) {
|
|
178190
178204
|
const baseName = customName || entityId;
|
|
178191
178205
|
return baseName.replace(/\./g, "_").replace(/\s+/g, "_");
|
|
@@ -178241,7 +178255,7 @@ var UserComposedEndpoint = class _UserComposedEndpoint extends Endpoint {
|
|
|
178241
178255
|
);
|
|
178242
178256
|
return void 0;
|
|
178243
178257
|
}
|
|
178244
|
-
const primarySub = new Endpoint(primaryType, {
|
|
178258
|
+
const primarySub = new Endpoint(stripBasicInformation(primaryType), {
|
|
178245
178259
|
id: `${endpointId}_primary`
|
|
178246
178260
|
});
|
|
178247
178261
|
parts.push(primarySub);
|
|
@@ -178267,7 +178281,7 @@ var UserComposedEndpoint = class _UserComposedEndpoint extends Endpoint {
|
|
|
178267
178281
|
);
|
|
178268
178282
|
continue;
|
|
178269
178283
|
}
|
|
178270
|
-
const subEndpoint = new Endpoint(subType, {
|
|
178284
|
+
const subEndpoint = new Endpoint(stripBasicInformation(subType), {
|
|
178271
178285
|
id: `${endpointId}_sub_${i}`
|
|
178272
178286
|
});
|
|
178273
178287
|
parts.push(subEndpoint);
|