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
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ async def async_setup(hass, config):
|
||||||
)
|
)
|
||||||
component.async_register_entity_service(
|
component.async_register_entity_service(
|
||||||
SERVICE_JOIN,
|
SERVICE_JOIN,
|
||||||
{vol.Required(ATTR_GROUP_MEMBERS): list},
|
{vol.Required(ATTR_GROUP_MEMBERS): vol.All(cv.ensure_list, [cv.entity_id])},
|
||||||
"async_join_players",
|
"async_join_players",
|
||||||
[SUPPORT_GROUPING],
|
[SUPPORT_GROUPING],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue