-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Update service examples for HEOS integration #33591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -37,8 +37,10 @@ A connection to a single device enables control for all devices on the network. | |||||
| Use the sign-in service (go to Developer Tools -> Services and then run the `heos.sign_in` with your username and password. Use the "Fill example data" first, then change it with your data. Check the logs right after, there you should see if the sign-in was successful or not) to sign the connected controller into a HEOS account so that it can retrieve and play HEOS favorites and playlists. An error message is logged if sign-in is unsuccessful. Example service data payload: | ||||||
|
|
||||||
| ```yaml | ||||||
| username: "example@example.com" | ||||||
| password: "password" | ||||||
| service: heos.sign_in | ||||||
| data: | ||||||
| username: "example@example.com" | ||||||
| password: "password" | ||||||
| ``` | ||||||
|
|
||||||
| | Service data attribute | Optional | Description | | ||||||
|
|
@@ -57,9 +59,11 @@ Use the sign-out service to sign the connected controller out of a HEOS account. | |||||
| You can play a HEOS favorite by number or name with the `media_player.play_media` service. Example service data payload: | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix spelling mistake. Correct the spelling mistake in the section header. - #### Play favorite
+ #### Play FavoriteCommittable suggestion
Suggested change
ToolsLanguageTool
|
||||||
|
|
||||||
| ```yaml | ||||||
| entity_id: media_player.office | ||||||
| media_content_type: "favorite" | ||||||
| media_content_id: "1" | ||||||
| service: media_player.play_media | ||||||
| data: | ||||||
| entity_id: media_player.office | ||||||
| media_content_type: "favorite" | ||||||
| media_content_id: "1" | ||||||
| ``` | ||||||
|
|
||||||
| | Service data attribute | Optional | Description | | ||||||
|
|
@@ -73,9 +77,11 @@ media_content_id: "1" | |||||
| You can play a HEOS playlist with the `media_player.play_media` service. Example service data payload: | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix spelling mistake. Correct the spelling mistake in the section header. - #### Play playlist
+ #### Play Playlist
ToolsLanguageTool
|
||||||
|
|
||||||
| ```yaml | ||||||
| entity_id: media_player.office | ||||||
| media_content_type: "playlist" | ||||||
| media_content_id: "Awesome Music" | ||||||
| service: media_player.play_media | ||||||
| data: | ||||||
| entity_id: media_player.office | ||||||
| media_content_type: "playlist" | ||||||
| media_content_id: "Awesome Music" | ||||||
| ``` | ||||||
|
|
||||||
| | Service data attribute | Optional | Description | | ||||||
|
|
@@ -89,9 +95,11 @@ media_content_id: "Awesome Music" | |||||
| You can play a HEOS Quick Select by number or name with the `media_player.play_media` service. Example service data payload: | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix spelling mistake. Correct the spelling mistake in the section header. - #### Play Quick Select
+ #### Play Quick select
ToolsLanguageTool
|
||||||
|
|
||||||
| ```yaml | ||||||
| entity_id: media_player.office | ||||||
| media_content_type: "quick_select" | ||||||
| media_content_id": "1" | ||||||
| service: media_player.play_media | ||||||
| data: | ||||||
| entity_id: media_player.office | ||||||
| media_content_type: "quick_select" | ||||||
| media_content_id": "1" | ||||||
| ``` | ||||||
|
|
||||||
| | Service data attribute | Optional | Description | | ||||||
|
|
@@ -105,9 +113,11 @@ media_content_id": "1" | |||||
| You can play a URL through a HEOS media player using the `media_player.play_media` service. The HEOS player must be able to reach the URL. Example service data payload: | ||||||
|
|
||||||
| ```yaml | ||||||
| entity_id: media_player.office | ||||||
| media_content_type: "url" | ||||||
| media_content_id: "http://path.to/stream.mp3" | ||||||
| service: media_player.play_media | ||||||
| data: | ||||||
| entity_id: media_player.office | ||||||
| media_content_type: "url" | ||||||
| media_content_id: "http://path.to/stream.mp3" | ||||||
| ``` | ||||||
|
|
||||||
| | Service data attribute | Optional | Description | | ||||||
|
|
@@ -121,10 +131,12 @@ media_content_id: "http://path.to/stream.mp3" | |||||
| For grouping HEOS media players together for synchronous playback you can use the `media_player.join` service. With the example service data payload down below you'll expand playback of `media_player.office` to the `media_player.kitchen` and `media_player.bathroom` players. Please note that all of the media players need to be HEOS players. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix spelling and improve clarity. Correct the spelling mistake and remove unnecessary 'of' for conciseness. - Please note that all of the media players need to be HEOS players.
+ Please note that all the media players need to be HEOS players.
ToolsLanguageTool
|
||||||
|
|
||||||
| ```yaml | ||||||
| entity_id: media_player.office | ||||||
| group_members: | ||||||
| - media_player.kitchen | ||||||
| - media_player.bathroom | ||||||
| service: media_player.join | ||||||
| data: | ||||||
| entity_id: media_player.office | ||||||
| group_members: | ||||||
| - media_player.kitchen | ||||||
| - media_player.bathroom | ||||||
| ``` | ||||||
|
|
||||||
| | Service data attribute | Optional | Description | | ||||||
|
|
@@ -137,6 +149,12 @@ group_members: | |||||
|
|
||||||
| For removing a HEOS player from a group you can use the `media_player.unjoin` service. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix spelling and missing comma. Correct the spelling mistake and add a missing comma. - For removing a HEOS player from a group you can use the `media_player.unjoin` service.
+ For removing a HEOS player from a group, you can use the `media_player.unjoin` service.Committable suggestion
Suggested change
ToolsLanguageTool
|
||||||
|
|
||||||
| ```yaml | ||||||
| service: media_player.unjoin | ||||||
| data: | ||||||
| entity_id: media_player.office | ||||||
| ``` | ||||||
|
|
||||||
| | Service data attribute | Optional | Description | | ||||||
| | ---------------------- | -------- | ------------------------------------------------ | | ||||||
| | `entity_id` | yes | Unjoin this media player from any player groups. | | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix spelling mistake. Correct the spelling mistake in the description. - Unjoin this media player from any player group...
+ Unjoin this media player from any player groups...
ToolsLanguageTool
|
||||||
|
|
@@ -146,7 +164,7 @@ For removing a HEOS player from a group you can use the `media_player.unjoin` se | |||||
| - Receivers with multiple zones are represented as a single media player. They will be turned on when playback is started, but cannot be turned off by the integration at this time. | ||||||
| - [Denon AVR](/integrations/denonar/) and HEOS media players can be combined into a [Universal Media Player](/integrations/universal/#denon-avr--heos) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix spelling mistakes. Correct the spelling mistakes in the notes section. - [Denon AVR](/integrations/denonar/) and HEOS media players can be combined into a [Universal Media Player](/integrations/universal/#denon-avr--heos)
+ [Denon AVR](/integrations/denon_avr/) and HEOS media players can be combined into a [Universal Media Player](/integrations/universal/#denon-avr--heos)Committable suggestion
Suggested change
ToolsLanguageTool
|
||||||
|
|
||||||
| ## Troubleshooing | ||||||
| ## Troubleshooting | ||||||
|
|
||||||
| ### Debugging | ||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix spelling and improve clarity.
Correct the spelling mistakes and use 'whether' for better clarity.
Committable suggestion
Tools
LanguageTool