I want to do an automation triggered by a push of a certain button, but only when a manual push is being performed (so not via an automation or through the UI).
According to the docs, the this.context.parent_id
should be null
in this case - at least thats how I understand the docs.
But when pushing the button, I sometimes get a parent_id
being set. Is this a known issue, or am I just wrong with my understanding of the state change context?
Edit: for reference, I am referring to the docs here.