Hello @panhas, I’d like to revisit the request for a Timed Manual Override (reverting the temperature after X minutes). Previously, you indicated this being impossible due to a bug in Home Assistant that prevented the automation from distinguishing its own actions from manual adjustments (ui or device).
Do you think this bug has been resolved in recent HA updates? I’ve been looking into the event logs, and it seems the context object now identifies the source of a change.
See the “log snippet” where the parent_id is null, it could identify true manual overrides (physical or UI) without being triggered by its own logic.
Technical Data from Logs:
- From Automation (
parent_idis populated):
YAML context:
parent_id: 01KNW8CCCJB5VD7XE8MN5BTW48
user_id: null`
- From Physical Device (
parent_idanduser_idare both null):
YAML context:
parent_id: null
user_id: null`
- From User UI (
user_idis populated):
YAML context:
parent_id: null
user_id: a865cdb8…`
If you think this is now technically feasible now (bug is solved), I would love to help write this feature via a Pull Request. What are your thoughts?
