Skip to content

Added option to return X and Y arrays from lambdas

Choose a tag to compare

@dbuezas dbuezas released this 03 Jan 17:02
· 242 commits to master since this release

E.g:

- entity: climate.wintergarten_floor
  unit_of_measurement: °C
  lambda: |-
    (ys, xs, entity) => ({
      x: xs.map(x => -x),
      y: ys.map(y => y / 2),
    })