From 48dd8155947c0693b706c4a66eeea9fc13a0f520 Mon Sep 17 00:00:00 2001 From: jjlawren Date: Thu, 23 Apr 2020 12:09:09 -0500 Subject: [PATCH] Allow integration-specific media content types (#470) As discussed in https://github.com/home-assistant/core/pull/34550 and https://github.com/home-assistant/core/pull/34412. --- docs/entity_media_player.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/entity_media_player.md b/docs/entity_media_player.md index ee45322c..3b150e0e 100644 --- a/docs/entity_media_player.md +++ b/docs/entity_media_player.md @@ -71,6 +71,10 @@ Required. Returns one of the defined constants from the below list that matches @property def media_content_type(self): """Content type of current playing media.""" + +:::info +Using the integration name as the `media_content_type` is also acceptable within the `play_media` service if the integration provides handling which does not map to the defined constants. +::: ### Available device classes Optional. What type of media device is this. It will possibly map to google device types.