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.
This commit is contained in:
jjlawren 2020-04-23 12:09:09 -05:00 committed by GitHub
parent ddd0ef7d13
commit 48dd815594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.