mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add play media documentation to Cambridge Audio (#35341)
* Add media play documentation to Cambridge Audio * Tiny tweak --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
6ea0d1070f
commit
c4b6323e51
@ -55,6 +55,42 @@ Host:
|
|||||||
The integration provides a few entities to configure the device settings. The following entities are supported:
|
The integration provides a few entities to configure the device settings. The following entities are supported:
|
||||||
- Display brightness
|
- Display brightness
|
||||||
|
|
||||||
|
## Playing media
|
||||||
|
|
||||||
|
Cambridge Audio supports playing a variety of formats using the `media_player.play_media` action.
|
||||||
|
|
||||||
|
### Examples:
|
||||||
|
|
||||||
|
Cambridge Audio can recall any stored presets saved on the device. An example action using a preset:
|
||||||
|
```yaml
|
||||||
|
action: media_player.play_media
|
||||||
|
target:
|
||||||
|
entity_id: media_player.cambridge_audio
|
||||||
|
data:
|
||||||
|
media_content_type: "preset"
|
||||||
|
media_content_id: "1"
|
||||||
|
```
|
||||||
|
|
||||||
|
An example action using an Airable radio ID:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
action: media_player.play_media
|
||||||
|
target:
|
||||||
|
entity_id: media_player.cambridge_audio
|
||||||
|
data:
|
||||||
|
media_content_type: "airable"
|
||||||
|
media_content_id: "12345678"
|
||||||
|
```
|
||||||
|
|
||||||
|
An example action using an internet radio url:
|
||||||
|
```yaml
|
||||||
|
action: media_player.play_media
|
||||||
|
target:
|
||||||
|
entity_id: media_player.cambridge_audio
|
||||||
|
data:
|
||||||
|
media_content_type: "internet_radio"
|
||||||
|
media_content_id: "https://example.com/internet-radio/station_abcd.mp3"
|
||||||
|
```
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
### The buttons to skip, shuffle, and repeat the track are missing
|
### The buttons to skip, shuffle, and repeat the track are missing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user