From 3c371a87892c5acc7d4b1f33ed68aeca50f19fc9 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Wed, 22 May 2024 11:41:20 -0500 Subject: [PATCH] Add unique id --- source/_integrations/vlc.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_integrations/vlc.markdown b/source/_integrations/vlc.markdown index 9097c3a5e8b..46cb34f4b7b 100644 --- a/source/_integrations/vlc.markdown +++ b/source/_integrations/vlc.markdown @@ -42,6 +42,10 @@ arguments: description: Additional arguments to be passed to VLC. required: false 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 %} Only the "music" media type is supported for now. @@ -58,6 +62,7 @@ media_player: - platform: vlc name: speaker_1 arguments: "--alsa-audio-device=hw:1,0" + unique_id: 6a81257f-d6b9-4f38-86fa-066f367d99b6 ``` ## Additional configuration on macOS