Implement Alexa.PlaybackStateReporter Interface for alexa (#28215)
This commit is contained in:
parent
7fee44b8c5
commit
d6654eaecb
4 changed files with 67 additions and 1 deletions
|
@ -46,6 +46,7 @@ from .capabilities import (
|
|||
AlexaMotionSensor,
|
||||
AlexaPercentageController,
|
||||
AlexaPlaybackController,
|
||||
AlexaPlaybackStateReporter,
|
||||
AlexaPowerController,
|
||||
AlexaPowerLevelController,
|
||||
AlexaRangeController,
|
||||
|
@ -422,6 +423,7 @@ class MediaPlayerCapabilities(AlexaEntity):
|
|||
)
|
||||
if supported & playback_features:
|
||||
yield AlexaPlaybackController(self.entity)
|
||||
yield AlexaPlaybackStateReporter(self.entity)
|
||||
|
||||
if supported & media_player.SUPPORT_SELECT_SOURCE:
|
||||
yield AlexaInputController(self.entity)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue