Skip to content

Commit

Permalink
Removed 'force_announce' parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
nimroddolev committed Feb 18, 2024
1 parent 532df28 commit b79932a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions custom_components/chime_tts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ async def async_say_execute(service):
audio_dict,
params["entity_ids"],
params["announce"],
params["force_announce"],
params["join_players"],
media_players_array,
params["volume_level"],
Expand Down Expand Up @@ -999,7 +998,6 @@ async def async_play_media(
audio_dict,
entity_ids,
announce,
force_announce,
join_players,
media_players_array,
volume_level,
Expand Down
2 changes: 0 additions & 2 deletions custom_components/chime_tts/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ async def async_parse_params(self, data, hass: HomeAssistant):
cache = data.get("cache", False)

announce = data.get("announce", False)
force_announce = data.get("force_announce", False)

# FFmpeg arguments
ffmpeg_args = data.get("audio_conversion", None)
Expand Down Expand Up @@ -118,7 +117,6 @@ async def async_parse_params(self, data, hass: HomeAssistant):
"tts_platform": tts_platform,
"tts_playback_speed": tts_playback_speed,
"announce": announce,
"force_announce": force_announce,
"volume_level": volume_level,
"join_players": join_players,
"unjoin_players": unjoin_players,
Expand Down
7 changes: 0 additions & 7 deletions custom_components/chime_tts/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,6 @@ say:
required: false
selector:
boolean:
force_announce:
name: Force Announce
description: "Simulates the `announce` feature on unsupported devices (eg: HomePod)"
example: "True"
required: false
selector:
boolean:
audio_conversion:
name: Audio Conversion
description: "Convert the audio to match Alexa speaker requirements, or use your own FFmpeg arguments"
Expand Down
4 changes: 0 additions & 4 deletions custom_components/chime_tts/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@
"name": "Announce",
"description": "Pauses media during announcement and resumes when completed (on supported devices)"
},
"force_announce": {
"name": "Force Announce",
"description": "Simulates the `announce` feature on unsupported devices (eg: HomePod)"
},
"language": {
"name": "Language",
"description": "The TTS language (supported by Google Translate, Microsoft Edge TTS and Nabu Casa Cloud TTS)"
Expand Down

0 comments on commit b79932a

Please sign in to comment.