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:
committed by
Guillermo Ruffino
parent
6a0268b852
commit
be36eef939
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user