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