1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

fix: template cover add position action (#877)

* Update const.py

* Update __init__.py

* Update template_cover.cpp

* Update __init__.py

* Update test3.yaml

* formatting code

* formatting code 2

* removed position lambda

* Update test3.yaml

* Update __init__.py
This commit is contained in:
KristopherMackowiak
2019-11-21 21:57:27 +01:00
committed by Guillermo Ruffino
parent 6a0268b852
commit be36eef939
4 changed files with 16 additions and 5 deletions

View File

@@ -578,6 +578,10 @@ cover:
- output.set_level:
id: out
level: !lambda "return tilt;"
position_action:
- output.set_level:
id: out
level: !lambda "return pos;"
output: