Update input_boolean.markdown: remove default value for "initial" (#36030)

This commit is contained in:
ildar170975 2024-11-28 15:39:25 +03:00 committed by GitHub
parent 600240de6f
commit fdd9b837ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ Input booleans can also be configured via {% term "`configuration.yaml`" %} file
description: Initial value when Home Assistant starts. description: Initial value when Home Assistant starts.
required: false required: false
type: boolean type: boolean
default: false default: a previous value is restored if available
icon: icon:
description: Icon to display in front of the input element in the frontend. description: Icon to display in front of the input element in the frontend.
required: false required: false
@ -78,7 +78,7 @@ Home Assistant itself.
If you set a valid value for `initial` this integration will start with the state If you set a valid value for `initial` this integration will start with the state
set to that value. Otherwise, it will restore the state it had prior to set to that value. Otherwise, it will restore the state it had prior to
Home Assistant stopping. Home Assistant stopping; if there is no state to restore - an `off` value is set.
## Automation examples ## Automation examples