Document auto_off (#17573)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Paulus Schoutsen 2021-04-29 09:25:48 -07:00 committed by Franck Nijhof
parent ae4a6d8c83
commit c50d02ff23
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -129,6 +129,10 @@ binary_sensor:
description: The amount of time the template state must be ***not met*** before this sensor will switch to `off`. This can also be a template.
required: false
type: time
auto_off:
description: "**Requires a trigger.** After how much time the entity should turn off after it rendered 'on'."
required: false
type: time
"[both sensor and binary_sensor entities]":
description: Fields that can be used above for both sensors and binary sensors.
required: false