github goruck/home-generative-agent v3.44.7

2 hours ago

Fixed

  • A change the agent makes that starts an automation which unlocks or opens something now asks for the Critical Action PIN (#814). Turning on an input boolean, a switch or a light, running a script or scene, or (through a service tool) marking a phone home or publishing to MQTT can start an automation you wrote, and the PIN check looked only at the call: turning on an input boolean whose automation unlocked the front door ran with no PIN. Each entity a call changes, and any group holding it, is now checked against the automations that may react to it (by its id, or through a trigger that cannot be tied to entities ahead, such as a state_changed event), and the call is held when one of them would unlock or open something. The PIN prompt names that automation. Your own automations are held only for what can be read as protected (including a scene, script or automation they run), so one that fires an event or calls a REST command does not make a light ask for the PIN; disabled automations' triggers, and waits in scripts or automations that are not running, do not count. Automations started by other events (a phone notification's button, a remote) or watching other entities are not counted; automations on entities computed from the changed one, such as a template sensor, are not yet followed (#820).

This is a safety hotfix on top of 3.44.6; it contains nothing else. Field-tested: turning on a helper whose automation unlocks a lock asks for the PIN, and turning on an ordinary light does not.

Don't miss a new home-generative-agent release

NewReleases is sending notifications on new releases.