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

Add MEDIA_ANNOUNCE to MediaPlayerEntityFeature (#95906)

This commit is contained in:
Erik Montnemery
2023-07-10 12:58:53 +02:00
committed by GitHub
parent 7eb087a9d7
commit 87f284c7e9
6 changed files with 17 additions and 1 deletions

View File

@@ -192,7 +192,9 @@ async def test_supported_features(hass: HomeAssistant) -> None:
| MediaPlayerEntityFeature.STOP
)
play_media = (
MediaPlayerEntityFeature.PLAY_MEDIA | MediaPlayerEntityFeature.MEDIA_ENQUEUE
MediaPlayerEntityFeature.PLAY_MEDIA
| MediaPlayerEntityFeature.MEDIA_ANNOUNCE
| MediaPlayerEntityFeature.MEDIA_ENQUEUE
)
volume = (
MediaPlayerEntityFeature.VOLUME_MUTE