Title: Insights mode trace/log data empty - JSONata missing $$ prefix in v4.4.0
Description:
In v4.4.0, the Insights mode (debug dashboard) shows empty trace and log data. The sensor.home_battery_control_trace sensor gets triggered but all attributes remain empty/Unknown.
Root cause:
In 01 start-flow.json, the "Show on debug board" node (ha-fire-event) uses JSONata but references strategy.trace, strategy.execution_start, etc. without the $$ prefix needed to access msg properties in JSONata.
Location: Line ~2362 in 01_start_flow.json
Current (broken):
{
"trace": strategy.trace ? strategy.trace : [],
"start": strategy.execution_start ? strategy.execution_start : 0,
"end": strategy.execution_end ? strategy.execution_end : 0,
"log": log ? log : []
}
Fix:
{
"trace": $$.strategy.trace ? $$.strategy.trace : [],
"start": $$.strategy.execution_start ? $$.strategy.execution_start : 0,
"end": $$.strategy.execution_end ? $$.strategy.execution_end : 0,
"log": $$.log ? $$.log : []
}
Affected version: 4.4.0
Hi satscan1, I cannot reproduce your issue.
Can you confirm your fix is working on your system?
The $$ are implicit and should sustain without mention in JSONata. But if it fails in your case...
The $$ have been added just to be sure