@riddix/hamh 2.1.0-alpha.560 → 2.1.0-alpha.562
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/README.md
CHANGED
|
@@ -170,7 +170,7 @@ Matter Bridge, Multi-Fabric support, Health Monitoring, Bridge Wizard, AirQualit
|
|
|
170
170
|
| `water_heater` | Thermostat (Heating) | |
|
|
171
171
|
| `automation`, `script`, `scene` | On/Off Switch | |
|
|
172
172
|
|
|
173
|
-
> 📖 See [Supported Device Types Documentation](https://riddix.github.io/home-assistant-matter-hub/
|
|
173
|
+
> 📖 See [Supported Device Types Documentation](https://riddix.github.io/home-assistant-matter-hub/supported-device-types) for details
|
|
174
174
|
|
|
175
175
|
---
|
|
176
176
|
|
|
@@ -209,7 +209,7 @@ This is because these platforms expect robot vacuums to be **standalone Matter d
|
|
|
209
209
|
|
|
210
210
|
### Documentation
|
|
211
211
|
|
|
212
|
-
For more details, see the [Robot Vacuum Documentation](https://riddix.github.io/home-assistant-matter-hub/
|
|
212
|
+
For more details, see the [Robot Vacuum Documentation](https://riddix.github.io/home-assistant-matter-hub/devices/robot-vacuum).
|
|
213
213
|
|
|
214
214
|
</details>
|
|
215
215
|
|
|
@@ -245,7 +245,7 @@ docker run -d \
|
|
|
245
245
|
```
|
|
246
246
|
|
|
247
247
|
> **Note:** All environment variables require the `HAMH_` prefix.
|
|
248
|
-
> See the [Installation Guide](
|
|
248
|
+
> See the [Installation Guide](https://riddix.github.io/home-assistant-matter-hub/getting-started/installation) for all available options.
|
|
249
249
|
|
|
250
250
|
For alpha versions, use tag `alpha` instead of `latest`.
|
|
251
251
|
|
package/dist/backend/cli.js
CHANGED
|
@@ -175935,6 +175935,14 @@ var RvcRunModeServerBase = class extends RvcRunModeServer {
|
|
|
175935
175935
|
matchedAreaId = segmentId;
|
|
175936
175936
|
}
|
|
175937
175937
|
}
|
|
175938
|
+
if (matchedAreaId === null && segmentId != null) {
|
|
175939
|
+
for (const area of serviceArea.state.supportedAreas) {
|
|
175940
|
+
if (this.activeAreas.includes(area.areaId) && area.areaId % 1e4 === segmentId) {
|
|
175941
|
+
matchedAreaId = area.areaId;
|
|
175942
|
+
break;
|
|
175943
|
+
}
|
|
175944
|
+
}
|
|
175945
|
+
}
|
|
175938
175946
|
if (matchedAreaId === null && roomName) {
|
|
175939
175947
|
const area = serviceArea.state.supportedAreas.find(
|
|
175940
175948
|
(a) => a.areaInfo.locationInfo?.locationName?.toLowerCase() === roomName.toLowerCase()
|
|
@@ -175944,8 +175952,8 @@ var RvcRunModeServerBase = class extends RvcRunModeServer {
|
|
|
175944
175952
|
}
|
|
175945
175953
|
}
|
|
175946
175954
|
if (matchedAreaId === null) {
|
|
175947
|
-
logger189.
|
|
175948
|
-
`currentRoom sensor: no match for "${roomName}" (segmentId=${segmentId}), activeAreas=[${this.activeAreas.join(", ")}]`
|
|
175955
|
+
logger189.info(
|
|
175956
|
+
`currentRoom sensor: no match for "${roomName}" (segmentId=${segmentId}), activeAreas=[${this.activeAreas.join(", ")}], supportedAreas=[${serviceArea.state.supportedAreas.map((a) => `${a.areaId}:${a.areaInfo.locationInfo?.locationName}`).join(", ")}]`
|
|
175949
175957
|
);
|
|
175950
175958
|
return;
|
|
175951
175959
|
}
|
|
@@ -175954,11 +175962,15 @@ var RvcRunModeServerBase = class extends RvcRunModeServer {
|
|
|
175954
175962
|
this.completedAreas.add(this.lastCurrentArea);
|
|
175955
175963
|
}
|
|
175956
175964
|
this.lastCurrentArea = matchedAreaId;
|
|
175957
|
-
logger189.
|
|
175958
|
-
`currentRoom sensor: area ${matchedAreaId} ("${roomName}"), completed: [${[...this.completedAreas].join(", ")}]`
|
|
175965
|
+
logger189.info(
|
|
175966
|
+
`currentRoom sensor: transition to area ${matchedAreaId} ("${roomName}"), completed: [${[...this.completedAreas].join(", ")}]`
|
|
175959
175967
|
);
|
|
175960
175968
|
this.trySetCurrentArea(matchedAreaId);
|
|
175961
|
-
} catch {
|
|
175969
|
+
} catch (e) {
|
|
175970
|
+
const msg = e instanceof Error ? e.message : String(e);
|
|
175971
|
+
if (!msg.includes("No provider for") && !msg.includes("not supported")) {
|
|
175972
|
+
logger189.warn(`currentRoom sensor update failed: ${msg}`);
|
|
175973
|
+
}
|
|
175962
175974
|
}
|
|
175963
175975
|
}
|
|
175964
175976
|
/**
|