mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Bump music assistant client 1.0.8 (#131739)
This commit is contained in:
parent
cf7acb5ae8
commit
cc9a97a5cf
@ -7,6 +7,6 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/music_assistant",
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["music_assistant"],
|
||||
"requirements": ["music-assistant-client==1.0.5"],
|
||||
"requirements": ["music-assistant-client==1.0.8"],
|
||||
"zeroconf": ["_mass._tcp.local."]
|
||||
}
|
||||
|
@ -193,7 +193,7 @@ class MusicAssistantPlayer(MusicAssistantEntity, MediaPlayerEntity):
|
||||
super().__init__(mass, player_id)
|
||||
self._attr_icon = self.player.icon.replace("mdi-", "mdi:")
|
||||
self._attr_supported_features = SUPPORTED_FEATURES
|
||||
if PlayerFeature.SYNC in self.player.supported_features:
|
||||
if PlayerFeature.SET_MEMBERS in self.player.supported_features:
|
||||
self._attr_supported_features |= MediaPlayerEntityFeature.GROUPING
|
||||
if PlayerFeature.VOLUME_MUTE in self.player.supported_features:
|
||||
self._attr_supported_features |= MediaPlayerEntityFeature.VOLUME_MUTE
|
||||
@ -407,12 +407,12 @@ class MusicAssistantPlayer(MusicAssistantEntity, MediaPlayerEntity):
|
||||
if (mass_player_id := hass_state.attributes.get("mass_player_id")) is None:
|
||||
continue
|
||||
player_ids.append(mass_player_id)
|
||||
await self.mass.players.player_command_sync_many(self.player_id, player_ids)
|
||||
await self.mass.players.player_command_group_many(self.player_id, player_ids)
|
||||
|
||||
@catch_musicassistant_error
|
||||
async def async_unjoin_player(self) -> None:
|
||||
"""Remove this player from any group."""
|
||||
await self.mass.players.player_command_unsync(self.player_id)
|
||||
await self.mass.players.player_command_ungroup(self.player_id)
|
||||
|
||||
@catch_musicassistant_error
|
||||
async def _async_handle_play_media(
|
||||
|
@ -1409,7 +1409,7 @@ mozart-api==4.1.1.116.3
|
||||
mullvad-api==1.0.0
|
||||
|
||||
# homeassistant.components.music_assistant
|
||||
music-assistant-client==1.0.5
|
||||
music-assistant-client==1.0.8
|
||||
|
||||
# homeassistant.components.tts
|
||||
mutagen==1.47.0
|
||||
|
@ -1178,7 +1178,7 @@ mozart-api==4.1.1.116.3
|
||||
mullvad-api==1.0.0
|
||||
|
||||
# homeassistant.components.music_assistant
|
||||
music-assistant-client==1.0.5
|
||||
music-assistant-client==1.0.8
|
||||
|
||||
# homeassistant.components.tts
|
||||
mutagen==1.47.0
|
||||
|
@ -16,7 +16,7 @@
|
||||
"volume_set",
|
||||
"volume_mute",
|
||||
"pause",
|
||||
"sync",
|
||||
"set_members",
|
||||
"power",
|
||||
"enqueue"
|
||||
],
|
||||
@ -57,7 +57,7 @@
|
||||
"volume_set",
|
||||
"volume_mute",
|
||||
"pause",
|
||||
"sync",
|
||||
"set_members",
|
||||
"power",
|
||||
"enqueue"
|
||||
],
|
||||
@ -109,7 +109,7 @@
|
||||
"volume_set",
|
||||
"volume_mute",
|
||||
"pause",
|
||||
"sync",
|
||||
"set_members",
|
||||
"power",
|
||||
"enqueue"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user