Add add-on selector (#16652)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Joakim Sørensen 2021-02-24 17:05:53 +01:00 committed by GitHub
parent f705b4d6e8
commit ed4d219cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -16,6 +16,7 @@ blueprint easier to use from the UI.
The following selectors are currently available:
- [Action selector](#action-selector)
- [Add-on selector](#add-on-selector)
- [Area selector](#area-selector)
- [Boolean selector](#boolean-selector)
- [Device selector](#device-selector)
@ -43,6 +44,23 @@ This selector does not have any other options; therefore, it only has its key.
action:
```
## Add-on selector
This can only be used on an installation with a Supervisor. For installations
that do not have that, an error will be displayed.
The add-on selector allows the user to input an add-on slug.
On the user interface, it will list all installed add-ons and use the slug of the
selected add-on.
![Screenshot of an Add-on selector](/images/blueprints/selector-addon.png)
This selector does not have any other options; therefore, it only has its key.
```yaml
addon:
```
## Area selector
The area selector shows an area finder that can pick a single area. The value

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB