Change state to position in cover docs (#1397)

This commit is contained in:
Jesse Hills 2021-08-18 09:57:08 +12:00 committed by GitHub
parent eaa48c80c2
commit bc0d216600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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