Skip to content

chime_tts.clear_cache

Nimrod Dolev edited this page Jan 16, 2024 · 2 revisions

chime_tts.clear_cache Service

The chime_tts.clear_cache service can be used to remove cached audio files from the chime_tts.say and chime_tts.say_url services as well as Home Assistant's TTS cache.

Parameters

The following parameters allow you to control which cache/s to clear:

Parameter Description
clear_chimes_cache Remove the cached local chime files downloaded by Chime TTS
clear_temp_tts_cache Remove the local temporary audio files stored in the Chime TTS cache
clear_www_tts_cache Remove the publicly accessible audio files stored in the Chime TTS cache
clear_ha_tts_cache Remove the TTS audio files stored in the Home Assistant TTS cache

YAML Example

service: chime_tts.clear_cache
data:
  clear_temp_tts_cache: true
  clear_www_tts_cache: true
  clear_ha_tts_cache: true