mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-08 18:06:29 +00:00
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:
parent
ddd0ef7d13
commit
48dd815594
@ -72,6 +72,10 @@ Required. Returns one of the defined constants from the below list that matches
|
||||
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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user