Snapcast
The Snapcast integration allows you to control Snapcast
配置
要将 Snapcast integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:
手动配置步骤
如果上述 My 按钮不起作用,您也可以手动执行以下步骤:
-
浏览到您的 Home Assistant 实例。
-
转到
设置 > 设备与服务。 -
在右下角,选择
Add Integration 按钮。 -
从列表中选择 Snapcast。
-
按照屏幕上的说明完成设置。
Actions
The snapcast integration provides a few actions registered under the media_player integration.
Action snapcast.snapshot
Take a snapshot of what is currently playing on one or more speakers. This action, and the following one, are useful if you want to play a doorbell or notification sound and resume playback afterwards.
Data attribute | Optional | Description |
---|---|---|
entity_id |
no | The speakers to snapshot. |
Action snapcast.restore
Restore a previously taken snapshot of one or more speakers.
Data attribute | Optional | Description |
---|---|---|
entity_id |
no | String or list of entity_id s that should have their snapshot restored. |
Action snapcast.join
Group players together under a single group.
Data attribute | Optional | Description |
---|---|---|
master |
no | Entity ID of the player to synchronize to. |
entity_id |
yes | String or list of entity_id s to join to the master. |
Action snapcast.unjoin
Remove one or more speakers from their group of speakers.
Data attribute | Optional | Description |
---|---|---|
entity_id |
no | String or list of entity_id s to separate from their coordinator speaker. |
Action snapcast.set_latency
Set the latency of a speaker.
Data attribute | Optional | Description |
---|---|---|
entity_id |
yes | String or list of entity_id s for which latency will be adjusted. |
latency |
no | Latency in ms. |