1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add children media class (#39902)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Martin Hjelmare
2020-09-11 13:08:13 +02:00
committed by GitHub
parent e208aac834
commit e96fed20c8
12 changed files with 181 additions and 67 deletions

View File

@@ -409,6 +409,11 @@ class MockPlexLibrarySection:
if self.title == "Photos":
return "photo"
@property
def TYPE(self):
"""Return the library type."""
return self.type
@property
def key(self):
"""Mock the key identifier property."""