@riddix/hamh 2.1.0-alpha.492 → 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
|
@@ -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,
|