Improve the description of the state field of Template Lock (#39784)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
nadimz 2025-07-02 14:10:10 +02:00 committed by GitHub
parent 03d643827d
commit b2ed9d709a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1446,7 +1446,7 @@ lock:
type: boolean
default: false
state:
description: Defines a template to set the state of the lock.
description: Defines a template to set the state of the lock. Valid output values from the template are `locked`, `unlocked`, `open`, `locking`, `unlocking`, `opening`, and `jammed`, which are directly mapped to the corresponding states. In addition, `true` and `on` are valid as synonyms to `locked` while `false` and `off` are valid as synonyms to `unlocked`.
required: true
type: template
unlock: