mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
Add unique ID support to light, cover and media player groups (#18560)
This commit is contained in:
parent
0ed7c00e48
commit
08fbe305d0
@ -23,15 +23,19 @@ cover:
|
|||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
name:
|
entities:
|
||||||
description: Name to use in the frontend.
|
description: List of all cover entities you want to control.
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: [string, list]
|
||||||
default: "Cover Group"
|
name:
|
||||||
entities:
|
description: Name to use in the frontend.
|
||||||
description: List of all cover entities you want to control.
|
required: false
|
||||||
required: true
|
type: string
|
||||||
type: [string, list]
|
default: "Cover Group"
|
||||||
|
unique_id:
|
||||||
|
description: An ID that uniquely identifies this cover group. If two covers have the same unique ID, Home Assistant will raise an error.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Functionality
|
## Functionality
|
||||||
|
@ -26,14 +26,18 @@ light:
|
|||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
name:
|
entities:
|
||||||
description: The name of the light group. Defaults to "Light Group".
|
description: A list of entities to be included in the light group.
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: [string, list]
|
||||||
entities:
|
name:
|
||||||
description: A list of entities to be included in the light group.
|
description: The name of the light group. Defaults to "Light Group".
|
||||||
required: true
|
required: false
|
||||||
type: [string, list]
|
type: string
|
||||||
|
unique_id:
|
||||||
|
description: An ID that uniquely identifies this light group. If two lights have the same unique ID, Home Assistant will raise an error.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
|
@ -23,14 +23,18 @@ media_player:
|
|||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
name:
|
entities:
|
||||||
description: The name of the media player group. Defaults to "Media Group".
|
description: A list of entities to be included in the media player group.
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: [string, list]
|
||||||
entities:
|
name:
|
||||||
description: A list of entities to be included in the media player group.
|
description: The name of the media player group. Defaults to "Media Group".
|
||||||
required: true
|
required: false
|
||||||
type: [string, list]
|
type: string
|
||||||
|
unique_id:
|
||||||
|
description: An ID that uniquely identifies this media player group. If two media players have the same unique ID, Home Assistant will raise an error.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Script Example
|
## Script Example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user