You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trace viewer: "Error in describing condition: Cannot read properties of undefined (reading 'includes')" for state conditions inside an if #54871
I have updated to the latest available Home Assistant version.
I have cleared the cache of my browser.
I have tried a different browser to see if it is related to my browser.
I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.
Describe the issue you are experiencing
The automation appears to run correctly, but the trace timeline fails to describe the conditions.
Every condition in this if block, including the nested state conditions and their entity_id entries, shows the error. The same condition types in the choose option's conditions earlier in the same run are described without error.
Action in the automation:
if:
- condition: or
conditions:
- condition: state
entity_id: switch.s_l2_livingroom_lr_accent
state: 'off'
- condition: state
entity_id: light.living_room_accent_color
state: 'off'
then:
- action: switch.turn_on
target:
entity_id: switch.s_l2_livingroom_lr_accent
Trace output (excerpt):
if/condition/0
Error in describing condition: Cannot read properties of undefined (reading 'includes')
Result: result: false
if/condition/0/conditions/0/entity_id/0
Error in describing condition: Cannot read properties of undefined (reading 'includes')
Result: result: false, state: 'on', wanted_state: 'off'
Perhaps this is similar to an earlier report for triggers: #29585 (closed)?
Describe the behavior you expected
Trace timeline would provide a proper description and not indicate an error.
Steps to reproduce the issue
Run an automation with a similar structure as above (if block, or'd conditions) and then view the trace timeline
What version of Home Assistant Core has the issue?
core-2026.10.1
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue?
Google Chrome - Version 154.0.8037.94 (Official Build) (x86_64)
Which operating system are you using to run this browser?
macOS Sequoia Version 15.7.8 (24G824)
State of relevant entities
Problem-relevant frontend configuration
JavaScript errors shown in your browser console/inspector
Activity