mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Add model_id to device filters (#36926)
* Update selectors.markdown * tiny rephrase * Update source/_docs/blueprint/selectors.markdown --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
56f6e5cbf8
commit
6b2e98bbba
@ -150,6 +150,12 @@ device:
|
|||||||
the set model.
|
the set model.
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
|
model_id:
|
||||||
|
description: >
|
||||||
|
When set, the list of areas is limited to areas with devices that have
|
||||||
|
the set model ID.
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
entity:
|
entity:
|
||||||
description: >
|
description: >
|
||||||
When entity options are provided, the list of areas is filtered by areas
|
When entity options are provided, the list of areas is filtered by areas
|
||||||
@ -485,7 +491,7 @@ devices based on the selector configuration. The value of the input will contain
|
|||||||
the device ID or a list of device IDs, based on if `multiple` is set to `true`.
|
the device ID or a list of device IDs, based on if `multiple` is set to `true`.
|
||||||
|
|
||||||
A device selector can filter the list of devices, based on things like the
|
A device selector can filter the list of devices, based on things like the
|
||||||
manufacturer or model of the device, the entities the device provides or based
|
manufacturer, model, or model ID of the device, the entities the device provides or based
|
||||||
on the domain that provided the device.
|
on the domain that provided the device.
|
||||||
|
|
||||||

|

|
||||||
@ -561,6 +567,11 @@ filter:
|
|||||||
When set, it limits the list of devices to devices that have the set model.
|
When set, it limits the list of devices to devices that have the set model.
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
|
model_id:
|
||||||
|
description: >
|
||||||
|
When set, the list of devices is limited to devices that have the set model ID.
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
multiple:
|
multiple:
|
||||||
description: >
|
description: >
|
||||||
Allows selecting multiple devices. If set to `true`, the resulting value of
|
Allows selecting multiple devices. If set to `true`, the resulting value of
|
||||||
@ -792,6 +803,12 @@ device:
|
|||||||
the set model.
|
the set model.
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
|
model_id:
|
||||||
|
description: >
|
||||||
|
When set, the list only includes floors with devices that have
|
||||||
|
the set model ID.
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
entity:
|
entity:
|
||||||
description: >
|
description: >
|
||||||
When entity options are provided, the list only includes floors
|
When entity options are provided, the list only includes floors
|
||||||
@ -1342,6 +1359,10 @@ device:
|
|||||||
description: When set, it limits the targets to devices by the set model.
|
description: When set, it limits the targets to devices by the set model.
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
|
model_id:
|
||||||
|
description: When set, the targets are limited to devices that have the set model ID.
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
entity:
|
entity:
|
||||||
description: >
|
description: >
|
||||||
When entity options are provided, the targets are limited by entities
|
When entity options are provided, the targets are limited by entities
|
||||||
|
Loading…
x
Reference in New Issue
Block a user