#mustache templates question

1 messages · Page 1 of 1 (latest)

hushed ravine
#

Can I do
flow.get(flow.get("light"));
via mustache templates?

I know I can do
{{flow.light}}
but that will only give me
flow.get("light")

knotty socket
#

You can use the Python get function in Jinja as well

#

So flow.get(flow.get("light") should work

#

You can also do
flow[flow.light]

hushed ravine
hushed ravine
knotty socket
#

Not sure what you mean here, what's the content of this flow variable?

hushed ravine
#

this does not work

#

this gives me $parent.light_main_light, as expected

nocturne sentinel
#

{{ flow }}

hushed ravine
hushed ravine
# hushed ravine .

this one gives me
message: "InputError: Entity could not be found in cache for entityId: $parent.light_main_light"

ornate ingot