mirror of
https://github.com/home-assistant/core
synced 2024-08-02 23:40:32 +02:00
Improve schema of media_player.join service (#48342)
Co-authored-by: eetu <EetuRasilainen@users.noreply.github.com>
This commit is contained in:
parent
1a38d2089d
commit
e7a3308efa
@ -307,7 +307,7 @@ async def async_setup(hass, config):
|
||||
)
|
||||
component.async_register_entity_service(
|
||||
SERVICE_JOIN,
|
||||
{vol.Required(ATTR_GROUP_MEMBERS): list},
|
||||
{vol.Required(ATTR_GROUP_MEMBERS): vol.All(cv.ensure_list, [cv.entity_id])},
|
||||
"async_join_players",
|
||||
[SUPPORT_GROUPING],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user