mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-10 02:46:29 +00:00
Document collapsible sections of service fields (#2232)
This commit is contained in:
parent
b47e610989
commit
cd5a25261b
@ -118,6 +118,19 @@ set_speed:
|
|||||||
- "low"
|
- "low"
|
||||||
- "medium"
|
- "medium"
|
||||||
- "high"
|
- "high"
|
||||||
|
# Fields can be grouped in collapsible sections, this is useful to initially hide
|
||||||
|
# advanced fields. Note that the collapsible section only affect presentation to the
|
||||||
|
# user, service data will not be nested.
|
||||||
|
advanced_fields:
|
||||||
|
# Whether or not the section is initially collapsed (default = false)
|
||||||
|
collapsed: true
|
||||||
|
# Input fields in this section
|
||||||
|
fields:
|
||||||
|
speed_pct:
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 0
|
||||||
|
max: 100
|
||||||
```
|
```
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user