@riddix/hamh 2.1.0-alpha.515 → 2.1.0-alpha.517

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.
@@ -167276,6 +167276,7 @@ function getMappedEntityIds(mapping) {
167276
167276
  if (!mapping) return [];
167277
167277
  const ids = [];
167278
167278
  if (mapping.batteryEntity) ids.push(mapping.batteryEntity);
167279
+ if (mapping.temperatureEntity) ids.push(mapping.temperatureEntity);
167279
167280
  if (mapping.humidityEntity) ids.push(mapping.humidityEntity);
167280
167281
  if (mapping.pressureEntity) ids.push(mapping.pressureEntity);
167281
167282
  if (mapping.cleaningModeEntity) ids.push(mapping.cleaningModeEntity);
@@ -178731,6 +178732,12 @@ var BridgeEndpointManager = class extends Service {
178731
178732
  this.log.debug(`Skipping disabled entity: ${entityId}`);
178732
178733
  continue;
178733
178734
  }
178735
+ if (this.registry.isAutoComposedDevicesEnabled() && this.registry.isComposedSubEntityUsed(entityId)) {
178736
+ this.log.debug(
178737
+ `Skipping ${entityId} \u2014 already part of a composed device`
178738
+ );
178739
+ continue;
178740
+ }
178734
178741
  if (entityId.length > MAX_ENTITY_ID_LENGTH) {
178735
178742
  const reason = `Entity ID too long (${entityId.length} chars, max ${MAX_ENTITY_ID_LENGTH}). This would cause filesystem errors.`;
178736
178743
  this.log.warn(`Skipping entity: ${entityId}. Reason: ${reason}`);