Correct trace for repeat script actions (#48031)

This commit is contained in:
Erik Montnemery 2021-03-18 21:14:06 +01:00 committed by GitHub
parent 98d7e6b898
commit 7b717bc437
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 7 deletions

View file

@ -1236,7 +1236,7 @@ async def test_repeat_count(hass, caplog, count):
assert_action_trace(
{
"0": [{}],
"0/sequence/0": [{}] * min(count, script.ACTION_TRACE_NODE_MAX_LEN),
"0/repeat/sequence/0": [{}] * min(count, script.ACTION_TRACE_NODE_MAX_LEN),
}
)