Repository navigation
Check Entities Passed to a Script #1722
|
Spook is such and awesome tool! Just sayin.... I am wondering if you could extend its checks to entities passed when an automation or script calls another script. Here is my calling script:action: script.light_or_switch_event_creator2 {{ For reference, here is the first part of my receiving script:alias: Light or Switch Event Creator2
|
Replies: 3 comments
|
Thanks, and good catch! I checked this with your exact data. When an automation makes this call, Spook already reports Keeping this open until scripts get the same treatment. ../Frenck Blogging my personal ramblings at frenck.dev |
|
This is fixed in #1801: a script calling a script now gets its action data checked too, with your exact example as a test. I will close this one once that is merged. ../Frenck Blogging my personal ramblings at frenck.dev |
|
This is merged now (#1801): a script calling another script gets the entities in its action data checked, the same way an automation does. It is in the next release of Spook. Closing this one, thanks again for the clear example! ../Frenck Blogging my personal ramblings at frenck.dev |
This is fixed in #1801: a script calling a script now gets its action data checked too, with your exact example as a test. I will close this one once that is merged.
../Frenck
Blogging my personal ramblings at frenck.dev