1
mirror of https://github.com/home-assistant/core synced 2024-08-31 05:57:13 +02:00
ha-core/homeassistant/components/snapcast/services.yaml
BarrettLowe ba394fd2aa
Add snapcast latency attribute and service (#34126)
* Implemented snapcast latency attributes

* Code review changes and Snapcast maintenance

Updated how entity services get called - now conforms to most
current method

* Cleanup tasks
Moved constants into separate file
Removed unnecessary logger message
Remove unnecessary schemas

* FIx linting errors

* Sort imports

* Update with requested change

Better - use next()

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Add guards for bad service calls

* Add back in platform schema

* Add check for unjoin service call

* Fix lint/format

* remove comma inserted by black

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-14 20:22:01 +02:00

40 lines
1.1 KiB
YAML

join:
description: Group players together.
fields:
master:
description: Entity ID of the player to synchronize to.
example: "media_player.living_room"
entity_id:
description: Entity ID of the players to join to the "master".
example: "media_player.bedroom"
unjoin:
description: Unjoin the player from a group.
fields:
entity_id:
description: Entity ID of the player to unjoin.
example: "media_player.living_room"
snapshot:
description: Take a snapshot of the media player.
fields:
entity_id:
description: Name(s) of entities that will be snapshotted. Platform dependent.
example: "media_player.living_room"
restore:
description: Restore a snapshot of the media player.
fields:
entity_id:
description: Name(s) of entities that will be restored. Platform dependent.
example: "media_player.living_room"
set_latency:
description: Set client set_latency
fields:
entity_id:
description: Name of entities that will have adjusted latency
latency:
description: Latency in master
example: 14