Update blueprint schema documentation (#34395)

* Update blueprint schema documentation

min_version documentation doesn't mention required format, make that explicit in doc and in note about sections

* Update source/_docs/blueprint/schema.markdown

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update source/_docs/blueprint/schema.markdown

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
jfurtner 2024-08-21 23:41:53 -06:00 committed by GitHub
parent 8479c244fd
commit 452f745aad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,9 +72,10 @@ homeassistant:
keys: keys:
min_version: min_version:
description: > description: >
Minimum required version of Home Assistant to use the blueprint. For example, Minimum required version of Home Assistant to use the blueprint in the format of
`2022.4.0`. It is important to set this if the blueprint uses any features *major*.*minor*.*patch* (all parts are required). For example, `2022.4.0`. It is
introduced in recent releases to head off issues. important to set this if the blueprint uses any features introduced in recent
releases to head off issues.
type: string type: string
required: false required: false
input: input:
@ -154,7 +155,7 @@ allows an optional description, and optionally allows for collapsing those input
A section is differentiated from an input by the presence of an additional `input` key within that section. A section is differentiated from an input by the presence of an additional `input` key within that section.
{% caution %} {% caution %}
Input sections are a new feature in version 2024.6. Set the `min_version` for the blueprint to at least this version if using input sections. Otherwise, the blueprint will generate errors on older versions. Input sections are a new feature in version 2024.6.0. Set the `min_version` for the blueprint to at least this version if using input sections. Otherwise, the blueprint will generate errors on older versions.
{% endcaution %} {% endcaution %}
The full configuration for a section is below: The full configuration for a section is below: