mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
Merge branch 'current' into next
This commit is contained in:
commit
bef1f56efc
@ -171,7 +171,7 @@ advanced stuff.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
if (id(my_cover).state == COVER_OPEN) {
|
||||
if (id(my_cover).position == COVER_OPEN) {
|
||||
// Cover is open
|
||||
} else {
|
||||
// Cover is closed
|
||||
|
Loading…
Reference in New Issue
Block a user