mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-09 18:36:29 +00:00
Fix documentation for media_content_type (#472)
This needs to be a property, not a function.
This commit is contained in:
parent
6692398f0f
commit
ddd0ef7d13
@ -68,6 +68,7 @@ Required. Returns one of the defined constants from the below list that matches
|
|||||||
class MyMediaPlayer(MediaPlayerDevice):
|
class MyMediaPlayer(MediaPlayerDevice):
|
||||||
# Implement the following method.
|
# Implement the following method.
|
||||||
|
|
||||||
|
@property
|
||||||
def media_content_type(self):
|
def media_content_type(self):
|
||||||
"""Content type of current playing media."""
|
"""Content type of current playing media."""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user