Document missing option in alarm control panel template (#14957)

This commit is contained in:
Franck Nijhof 2020-10-10 12:51:13 +02:00 committed by GitHub
parent 5ea583d850
commit 8f68b20820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,11 +96,13 @@ panels:
description: Defines an action to run when the alarm is armed to night mode.
required: false
type: action
code_arm_required:
description: If true, the code is required to arm the alarm.
required: false
type: boolean
default: false
{% endconfiguration %}
## Considerations
If you are using the state of a integration that takes extra time to load, the Template Alarm Control Panel may get an `unknown` state during startup. This results in error messages in your log file until that integration has completed loading. If you use `is_state()` function in your template, you can avoid this situation.
@ -109,4 +111,4 @@ For example, you would replace {% raw %}`{{ states.switch.source.state == 'on' }
### Working without entities
If you use a template that depends on the current time or some other non-deterministic result not sourced from entities, the template won't repeatedly update but will only update when the state of a referenced entity updates. For ways to deal with this issue, see [Working without entities](/integrations/binary_sensor.template/#working-without-entities) in the Template Binary Sensor integration.
If you use a template that depends on the current time or some other non-deterministic result not sourced from entities, the template won't repeatedly update but will only update when the state of a referenced entity updates. For ways to deal with this issue, see [Working without entities](/integrations/binary_sensor.template/#working-without-entities) in the Template Binary Sensor integration.