Add documentation for supported features selector (#26882)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Bram Kragten 2023-04-05 19:55:06 +02:00 committed by GitHub
parent b8e9019a2d
commit 1fb37b3819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,6 +170,12 @@ entity:
the selection to.
type: [device_class, list]
required: false
supported_features:
description: >
Limits the list of areas to areas that have entities with a certain
supported feature, for example, `light.LightEntityFeature.TRANSITION` or `climate.ClimateEntityFeature.TARGET_TEMPERATURE`. Should be a list of features.
type: list
required: false
multiple:
description: >
Allows selecting multiple areas. If set to `true`, the resulting value of
@ -401,12 +407,18 @@ entity:
required: false
device_class:
description: >
Limits the list of entities to entities that have a certain device
Limits the list of devices to devices that have entities with a certain device
class(es), for example, `motion` or `window`. Can be either a string
with a single device_class, or a list of string device_class to limit
the selection to.
type: [device_class, list]
required: false
supported_features:
description: >
Limits the list of devices to devices that have entities with a certain
supported feature, for example, `light.LightEntityFeature.TRANSITION` or `climate.ClimateEntityFeature.TARGET_TEMPERATURE`. Should be a list of features.
type: list
required: false
filter:
description: >
When filter options are provided, the list of devices is filtered by devices
@ -563,6 +575,12 @@ filter:
or a list of string device_class to limit the selection to.
type: [device_class, list]
required: false
supported_features:
description: >
Limits the list of entities to entities that have a certain
supported feature, for example, `light.LightEntityFeature.TRANSITION` or `climate.ClimateEntityFeature.TARGET_TEMPERATURE`. Should be a list of features.
type: list
required: false
multiple:
description: >
Allows selecting multiple entities. If set to `true`, the resulting value of