Cannot get repeat - for_each loopt to work: error: 'repeat' is undefined

Where are you seeing this error?


I don’t use Nordpool, so I may be missing something, but based on the template used in the first input_number.set_value action:

  1. You are setting the value of a number entity to a list… which doesn’t make any sense
  2. The for_each is being set to an object. In itself, this is fine, but…
    a. The for_each configuration key can only handle simple objects, so if your object contains complex objects like datetime objects, it will fail.
  3. The If condition is checking if a number is above an object… which doesn’t make any sense.
  4. The Then action is setting a number to an object… which doesn’t make any sense

Please describe what the actual goal is.

You may be interested in: