From ddd0ef7d13a3e25a221060f5c55dedbcd45222c2 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Thu, 23 Apr 2020 19:08:29 +0200 Subject: [PATCH] Fix documentation for media_content_type (#472) This needs to be a property, not a function. --- docs/entity_media_player.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/entity_media_player.md b/docs/entity_media_player.md index ab1242e6..ee45322c 100644 --- a/docs/entity_media_player.md +++ b/docs/entity_media_player.md @@ -68,6 +68,7 @@ Required. Returns one of the defined constants from the below list that matches class MyMediaPlayer(MediaPlayerDevice): # Implement the following method. + @property def media_content_type(self): """Content type of current playing media."""