Implement EqualizerController in Alexa for media_player. (#30159)
This commit is contained in:
parent
4ea42c2479
commit
25f78dd1a9
5 changed files with 248 additions and 1 deletions
|
@ -42,6 +42,7 @@ from .capabilities import (
|
|||
AlexaContactSensor,
|
||||
AlexaDoorbellEventSource,
|
||||
AlexaEndpointHealth,
|
||||
AlexaEqualizerController,
|
||||
AlexaEventDetectionSensor,
|
||||
AlexaInputController,
|
||||
AlexaLockController,
|
||||
|
@ -522,6 +523,9 @@ class MediaPlayerCapabilities(AlexaEntity):
|
|||
if supported & media_player.const.SUPPORT_PLAY_MEDIA:
|
||||
yield AlexaChannelController(self.entity)
|
||||
|
||||
if supported & media_player.const.SUPPORT_SELECT_SOUND_MODE:
|
||||
yield AlexaEqualizerController(self.entity)
|
||||
|
||||
yield AlexaEndpointHealth(self.hass, self.entity)
|
||||
yield Alexa(self.hass)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue