Trying to iterate over a set of zwave_js values to set them all, using a counted repeat, however the repeat.index variable doesn’t appear to get getting interpreted…
Keeps throwing this error: Error: Node(node_id=83) - NotFoundError: Value 83-112-0-{{ repeat.index }} not found on node Node(node_id=83)
Using it to control the scene for some WLED controlled cafe lights. This is just a prototype, at the moment, but the ultimate goal is to only have the little LED on the scene controller lit up, that corresponds to the selected scene.
The meta code would look like:
When scene button 1 is pushed:
Call script with variable for active_scene = 1
Loop over the 5 LEDS
If repeat.index == active_scene then turn LED on
else turn LED off