Skip to content

Commit

Permalink
Merge pull request #48 from OzGav/main
Browse files Browse the repository at this point in the history
Formatting
  • Loading branch information
jozefKruszynski committed May 10, 2024
2 parents 7279300 + f19ea0c commit d2c782f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
9 changes: 5 additions & 4 deletions docs/faq/massannounce.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# MA play_announcement Service Call

This service call allows you to send audio announcements via a URL to a player. The URL could be accessed in a variety of ways. For example:

- External such as `https://www.soundjay.com/door/doorbell-5.mp3`
- Using [Home Assistant](https://www.home-assistant.io/integrations/http/#hosting-files) you can add the sound files under your `www` folder and access them like this `http://192.168.1.165:8123/local/audio/Apartment-door-chime-melody.mp3`
- You could [run your own webserver](https://www.instructables.com/Set-up-your-very-own-Web-server/)
Expand All @@ -10,8 +11,8 @@ This service call allows you to send audio announcements via a URL to a player.
!!! note
For sending text messages use the HA TTS service calls and target the MA media player entity
```
service: tts.google_say
data:
entity_id: media_player.ma_kitchen_speaker
message: This is a test
service: tts.google_say
data:
entity_id: media_player.ma_kitchen_speaker
message: This is a test
```
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Using [HAOS](https://developers.home-assistant.io/docs/operating-system/). If yo

1. Add the Music Assistant repository to your Home Assistant instance.

[![Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.](https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg)](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fmusic-assistant%2Fhome-assistant-addon)
[![Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.](https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg)](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fmusic-assistant%2Fhome-assistant-addon)

2. Install the Music Assistant add-on.

Expand Down
3 changes: 2 additions & 1 deletion docs/integration/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ Next install the Home Assistant Player Provider

## Service Calls

The integration adds two service calls for use in scripts and automations.
The integration adds three service calls for use in scripts and automations.

- [mass.play_media](../faq/massplaymedia.md)
- [mass.play_annnouncement](../faq/massannounce.md)
- [mass.search](../faq/masssearch.md)

## OpenAI features
Expand Down

0 comments on commit d2c782f

Please sign in to comment.