mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-30 04:36:51 +00:00
Add unique id
This commit is contained in:
parent
2d33f27164
commit
3c371a8789
@ -42,6 +42,10 @@ arguments:
|
|||||||
description: Additional arguments to be passed to VLC.
|
description: Additional arguments to be passed to VLC.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
unique_id:
|
||||||
|
description: An ID that uniquely identifies this entity. If two entities have the same unique ID, Home Assistant will raise an exception.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
Only the "music" media type is supported for now.
|
Only the "music" media type is supported for now.
|
||||||
@ -58,6 +62,7 @@ media_player:
|
|||||||
- platform: vlc
|
- platform: vlc
|
||||||
name: speaker_1
|
name: speaker_1
|
||||||
arguments: "--alsa-audio-device=hw:1,0"
|
arguments: "--alsa-audio-device=hw:1,0"
|
||||||
|
unique_id: 6a81257f-d6b9-4f38-86fa-066f367d99b6
|
||||||
```
|
```
|
||||||
|
|
||||||
## Additional configuration on macOS
|
## Additional configuration on macOS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user