#"Cannot read properties of undefined (reading `includes`)" error

1 messages · Page 1 of 1 (latest)

slate crystal
#

Does anyone know what this error means? I downloaded the trace if someone wants to look at it. I'm pretty confused though. The variables being used were all set properly in the step before in the trace and the entities they reference all definitely exist 😕

This automation probably runs 1000 times a day and really doesn't have any issues over the years I've been using it. Bit confused how it suddenly raised an error.

wintry dagger
#

Maybe an issue with legacy condition syntax? You can open a frontend issue for it if you want

slate crystal
wintry dagger
#

All I can say is that the error you put in the heading here is a frontend display issue only and likely is not related to why your script stopped.

slate crystal
#

ah

#

damn I have even less info then I thought then

#

but actually though, is something I'm using there legacy?

#

I can correct it, I don't mind. I didn't think it was though

wintry dagger
#

I don't know.

#

it might not be a legacy syntax, but that's where I've seen similar issues

#

I guess it's because of the template shorthand then

slate crystal
#

oh as opposed to saying template: in each line?

#

I do prefer the shorthand lol