diff --git a/source/_integrations/universal.markdown b/source/_integrations/universal.markdown index 0cc899d7494..a74f58b05ab 100644 --- a/source/_integrations/universal.markdown +++ b/source/_integrations/universal.markdown @@ -58,6 +58,7 @@ media_player: is_volume_muted: ENTITY_ID|ATTRIBUTE state: ENTITY_ID|ATTRIBUTE device_class: tv + unique_id: a_unique_string ``` {% configuration %} @@ -85,6 +86,10 @@ device_class: description: The device class that this entity represents. Can be `tv`, `speaker`, or `receiver`. required: false type: string +unique_id: + description: A unique identifier for this entity. Needs to be unique within the `media_player` platform. + required: false + type: string {% endconfiguration %} The Universal Media Player will primarily imitate one of its `children`. The Universal Media Player will control the first child on the list that is active (not idle/off). The Universal Media Player will also inherit its state from the first active child if a `state_template` is not provided. Entities in the `children:` list must be media players, but the state template can contain any entity. @@ -305,6 +310,7 @@ media_player: data: activity: "{{ source }}" device_class: tv + unique_id: media_room_harmony_hub ``` {% endraw %}