New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context user_id ist not propagated when an automation is triggered by a MobileApp event. #90669
Comments
This line could be related to the issue:
This behaviour could be intentional, in that case, the logbook UI could be extended to resolve the parent context(s?) and corresponding user_id. I could also imagine that this should be configurable on a per-trigger basis or cofigurable per automation. |
Related: #16415 |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Still an issue. |
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) automation documentation |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Still an issue. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Still an issue. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Still an issue. |
The problem
The following Situatuation:
I have:
Sequence of operation:
I would expect, that the helper logbook shows, that the helper was toggled by the user, that performed the action.
Unfortunately that is not the case.
(Note that the user is not mentioned in the logbook entry)
When I toggle the helper manually I can see my Username attached to the logbook entry:
In the attached event log you can see, that the user_id is present in the
mobile_app_notification_action
event but not propagated to the automation call.Expectation
My expectation would be, that if i.e. a light is turned on by an automation, that is triggered by an event, caused by a user, this user will appear in the corresponding logbook entry.
Ideally there would be an indication, of the responsible user and automation that contributed to the status change.
What version of Home Assistant Core has the issue?
core-2023.3.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Automation, Mobile App
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
Events in order of occurance caused by pressing the "Action" on the mobile app:
Event 1
Event 2
Event 3
Event 4
Event 5
Event 6
The text was updated successfully, but these errors were encountered: