Skip to content

Commit 4db836f

Browse files
etsinkofrenck
authored andcommitted
added documentation for monoprice_snapshot/monoprice_restore services. (home-assistant#3874)
* added documentation for monoprice_snapshot/monoprice_restore services. * ✏️ Tiny spelling & grammar fixes * minor changes * Changed service names to snapshot and restore * fixed minor typo
1 parent d3b1bd6 commit 4db836f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

source/_components/media_player.monoprice.markdown

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,25 @@ Configuration variables:
4747
- **port** (*Required*): The serial port to which Monoprice amplifier is connected
4848
- **zones** (*Required*): This is the list of zones available. Valid zones are 11,12,13,14,15,16. In case multiple Monoprice devices are stacked together the list of valid zones is extended by 21,22,23,24,25,26 for the second device and 31,32,33,34,35,36 for the third device. Each zone must have a name assigned to it.
4949
- **sources** (*Required*): The list of sources available. Valid source numbers are 1,2,3,4,5,6. Each source number corresponds to the input number on the Monoprice amplifier. Similar to zones, each source must have a name assigned to it.
50+
51+
### {% linkable_title Service `snapshot` %}
52+
53+
Take a snapshot of one or more zones' states. This service, and the following one are useful if you want to play a doorbell or notification sound and resume playback afterward. If no `entity_id` is provided, all zones are snapshotted.
54+
55+
The following attributes are stored in a snapshot:
56+
- Power status (On/Off)
57+
- Mute status (On/Off)
58+
- Volume level
59+
- Source
60+
61+
| Service data attribute | Optional | Description |
62+
| ---------------------- | -------- | ----------- |
63+
| `entity_id` | yes | String or list of strings that point at `entity_id`s of zones.
64+
65+
### {% linkable_title Service `restore` %}
66+
67+
Restore a previously taken snapshot of one or more speakers. If no `entity_id` is provided, all zones are restored.
68+
69+
| Service data attribute | Optional | Description |
70+
| ---------------------- | -------- | ----------- |
71+
| `entity_id` | yes | String or list of strings that point at `entity_id`s of zones.

0 commit comments

Comments
 (0)