Skip to content

Commit b0416d6

Browse files
thecemdbuezas
andauthored
changed the add function to the right variable (#188)
* Changed the add function to the right variable * Update readme.md Co-authored-by: David Buezas <[email protected]>
1 parent fed95f8 commit b0416d6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

readme.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -678,13 +678,14 @@ entities:
678678
internal: true
679679
period: 5minute
680680
filters:
681-
store_var: temp1
681+
- map_y: parseFloat(y)
682+
- store_var: temp1
682683
- entity: sensor.temperature2
683684
period: 5minute
684685
name: sum of temperatures
685686
filters:
686-
map_y: y + vars.temp1[i].y
687-
```
687+
- map_y: parseFloat(y)
688+
- map_y: y + vars.temp1.ys[i]
688689
689690
### `lambda:` transforms (deprecated)
690691

0 commit comments

Comments
 (0)