@riddix/hamh 2.1.0-alpha.491 → 2.1.0-alpha.493
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
|
@@ -152321,7 +152321,7 @@ var HomeAssistantRegistry = class extends Service {
|
|
|
152321
152321
|
const hash2 = createHash("md5");
|
|
152322
152322
|
for (const e of entityRegistry) {
|
|
152323
152323
|
hash2.update(
|
|
152324
|
-
`${e.entity_id}\0${e.device_id ?? ""}\0${e.disabled_by ?? ""}\0${e.hidden_by ?? ""}
|
|
152324
|
+
`${e.entity_id}\0${e.device_id ?? ""}\0${e.disabled_by ?? ""}\0${e.hidden_by ?? ""}\0${e.area_id ?? ""}\0${(e.labels ?? []).join(",")}
|
|
152325
152325
|
`
|
|
152326
152326
|
);
|
|
152327
152327
|
}
|
|
@@ -167901,6 +167901,7 @@ var OnOffServerBase = class extends OnOffServer {
|
|
|
167901
167901
|
}
|
|
167902
167902
|
autoReset() {
|
|
167903
167903
|
const homeAssistant = this.agent.get(HomeAssistantEntityBehavior);
|
|
167904
|
+
optimisticOnOffState.delete(homeAssistant.entityId);
|
|
167904
167905
|
this.update(homeAssistant.entity);
|
|
167905
167906
|
}
|
|
167906
167907
|
};
|
|
@@ -173343,12 +173344,11 @@ function SceneDevice(homeAssistantEntity) {
|
|
|
173343
173344
|
// src/matter/endpoints/legacy/script/index.ts
|
|
173344
173345
|
init_home_assistant_entity_behavior();
|
|
173345
173346
|
var ScriptOnOffServer = OnOffServer2({
|
|
173347
|
+
isOn: () => false,
|
|
173346
173348
|
turnOn: () => ({
|
|
173347
173349
|
action: "script.turn_on"
|
|
173348
173350
|
}),
|
|
173349
|
-
turnOff:
|
|
173350
|
-
action: "script.turn_off"
|
|
173351
|
-
})
|
|
173351
|
+
turnOff: null
|
|
173352
173352
|
});
|
|
173353
173353
|
var ScriptDeviceType = OnOffPlugInUnitDevice.with(
|
|
173354
173354
|
BasicInformationServer2,
|