mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Doc update for Squeezebox Config Options (#37494)
* Squeezebox Config Options md * nitpick update * Review update * Fix end tag * Fix include name * tiny tweaks --------- Co-authored-by: Andrew Sayre <6730289+andrewsayre@users.noreply.github.com> Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
d686b1df37
commit
c76ca4f364
@ -52,6 +52,15 @@ transporter_toslink:
|
||||
media_content_type: "music"
|
||||
```
|
||||
|
||||
{% include integrations/option_flow.md %}
|
||||
|
||||
{% configuration_basic %}
|
||||
Browse limit:
|
||||
description: Maximum number of items to include when browsing media or in a playlist.
|
||||
Volume step:
|
||||
description: Amount to adjust the volume when turning volume up or down.
|
||||
{% endconfiguration_basic %}
|
||||
|
||||
## Entities
|
||||
|
||||
### Binary sensors
|
||||
@ -79,10 +88,10 @@ Call a custom Squeezebox JSON-RPC API.
|
||||
See documentation for this interface on `http://HOST:PORT/html/docs/cli-api.html?player=` where HOST and PORT are the host name and port for your Lyrion Music Server.
|
||||
|
||||
| Data attribute | Optional | Description |
|
||||
| ---------------------- | -------- | ----------- |
|
||||
| `entity_id` | no | Name(s) of the Squeezebox entities where to run the API method.
|
||||
| `command` | no | Command to pass to Lyrion Music Server (p0 in the CLI documentation).
|
||||
| `parameters` | yes | Array of additional parameters to pass to Lyrion Music Server (p1, ..., pN in the CLI documentation).
|
||||
| -------------- | -------- | ----------------------------------------------------------------------------------------------------- |
|
||||
| `entity_id` | no | Name(s) of the Squeezebox entities where to run the API method. |
|
||||
| `command` | no | Command to pass to Lyrion Music Server (p0 in the CLI documentation). |
|
||||
| `parameters` | yes | Array of additional parameters to pass to Lyrion Music Server (p1, ..., pN in the CLI documentation). |
|
||||
|
||||
This action can be used to integrate any Squeezebox action to an automation.
|
||||
|
||||
@ -103,10 +112,10 @@ Call a custom Squeezebox JSON-RPC API. The result of the query will be stored in
|
||||
See documentation for this interface on `http://HOST:PORT/html/docs/cli-api.html?player=` where HOST and PORT are the host name and port for your Lyrion Music Server.
|
||||
|
||||
| Data attribute | Optional | Description |
|
||||
| ---------------------- | -------- | ----------- |
|
||||
| `entity_id` | no | Name(s) of the Squeezebox entities where to run the API method.
|
||||
| `command` | no | Command to pass to Lyrion Music Server (p0 in the CLI documentation).
|
||||
| `parameters` | yes | Array of additional parameters to pass to Lyrion Music Server (p1, ..., pN in the CLI documentation).
|
||||
| -------------- | -------- | ----------------------------------------------------------------------------------------------------- |
|
||||
| `entity_id` | no | Name(s) of the Squeezebox entities where to run the API method. |
|
||||
| `command` | no | Command to pass to Lyrion Music Server (p0 in the CLI documentation). |
|
||||
| `parameters` | yes | Array of additional parameters to pass to Lyrion Music Server (p1, ..., pN in the CLI documentation). |
|
||||
|
||||
This action can be used to integrate a Squeezebox query into an automation. For example, in a Python script, you can get a list of albums available by an artist like this:
|
||||
`hass.services.call("squeezebox", "call_query", { "entity_id": "media_player.kitchen", "command": "albums", "parameters": ["0", "20", "search:beatles", "tags:al"] })`
|
||||
|
Loading…
x
Reference in New Issue
Block a user