Change state to position in cover docs (#1397)
This commit is contained in:
parent
eaa48c80c2
commit
bc0d216600
|
@ -168,7 +168,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