@riddix/hamh 2.1.0-alpha.509 → 2.1.0-alpha.510
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
|
@@ -179131,6 +179131,13 @@ var BridgeRegistry = class _BridgeRegistry {
|
|
|
179131
179131
|
}
|
|
179132
179132
|
const rooms = [];
|
|
179133
179133
|
for (const haAreaId of Object.keys(areaMapping)) {
|
|
179134
|
+
const segments = areaMapping[haAreaId];
|
|
179135
|
+
if (!segments || segments.length === 0) {
|
|
179136
|
+
_BridgeRegistry.cleanAreaLogger.debug(
|
|
179137
|
+
`${entityId}: Skipping HA area ${haAreaId} \u2014 no segments mapped`
|
|
179138
|
+
);
|
|
179139
|
+
continue;
|
|
179140
|
+
}
|
|
179134
179141
|
const areaName = this.registry.areas.get(haAreaId) ?? haAreaId;
|
|
179135
179142
|
rooms.push({
|
|
179136
179143
|
areaId: hashAreaId(haAreaId),
|