Traces window shows incorrect step details for wait_for_trigger
when numeric_state
trigger is used
#23804
Open
4 tasks done
Checklist
Describe the issue you are experiencing
Ran into this issue helping a user on Discord. The traces window shows incorrect (or, perhaps more accurately, irrelevant) information in the "Step Details" tab when the
wait_for_trigger
step is selected.Normally, for a wait_for_trigger step, the step details will show details about the wait:
However, if one or more of the triggers is a
numeric_state
trigger, thewait
section in the text is not displayed, and instead the step details will show what the lastnumeric_state
trigger evaluated at the start of thewait_for_trigger
section.For example, the following is the entirety of the step details for a script with 3 different triggers in the
wait_for_trigger
block, and the one that triggered was a state trigger:When I take that exact automation, delete the numeric state trigger (which wasn't involved anyway) and then re-run the script and trigger it again by changing the the state trigger, I get the following correct detail:
Describe the behavior you expected
The step details for the
wait_for_trigger
always displays thewait
block.The presence of an uninvolved
numeric_state
trigger should not impact what is shown in the step detail.Steps to reproduce the issue
input_number.test
and a step size of 1. Once created, set its value to zero.numeric_state
trigger from within thewait_for_trigger
section.numeric_state
trigger in thewait_for_trigger
section. The next 2 traces will show the correct step details since thenumeric_state
trigger was deleted.What version of Home Assistant Core has the issue?
2025.1.2
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue?
Google Chrome Version 131.0.6778.265 (Official Build) (64-bit)
Which operating system are you using to run this browser?
Windows 10
State of relevant entities
Problem-relevant frontend configuration
Javascript errors shown in your browser console/inspector
Additional information
No response
The text was updated successfully, but these errors were encountered: