Add missing requirements and target to sonos services (#50552)

This commit is contained in:
tkdrob 2021-05-14 11:40:30 -04:00 committed by GitHub
parent c220e70008
commit 77e6fc6f93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ join:
name: Master
description:
Entity ID of the player that should become the coordinator of the group.
required: true
example: "media_player.living_room_sonos"
selector:
entity:
@ -14,6 +15,7 @@ join:
entity_id:
name: Entity
description: Name of entity that will join the master.
required: true
example: "media_player.living_room_sonos"
selector:
entity:
@ -23,15 +25,10 @@ join:
unjoin:
name: Unjoin group
description: Unjoin the player from a group.
fields:
entity_id:
name: Entity
description: Name of entity that will be unjoined from their group.
example: "media_player.living_room_sonos"
selector:
entity:
integration: sonos
domain: media_player
target:
entity:
integration: sonos
domain: media_player
snapshot:
name: Snapshot