Action & Script Options
Configure action timeouts and the default scripts that run before and after playback.
Timeout
The duration (in seconds) to wait before cancelling the chime_tts.say or chime_tts.say_url action calls.
| Default Value: | 60 |
| Required: | Yes |
Increase the timeout duration if you intend to generate audio longer than 60 seconds.
TTS Audio Generation Timeout
The duration (in seconds) to wait before canceling a TTS audio generation attempt.
| Default Value: | 30 |
| Required: | No |
Default Playback Scripts
Use a pre-playback script to prepare a player or environment before playback, and a post-playback script for cleanup. An action or notification profile can override either configured default.
pre_script
Runs before playback unless an action or notification profile specifies its own pre_script value.
| Default Value: | None |
| Required: | No |
post_script
Runs after playback unless an action or notification profile specifies its own post_script value.
| Default Value: | None |
| Required: | No |
Simple script entity:
pre_script: script.front_door_prepare
post_script: script.front_door_restore
Script with data:
pre_script:
script: script.front_door_prepare
data:
volume: 0.5