I have a hue button, and currently I have it set to trigger an automation to broadcast a single tts message when released. This is working fine
On release the following happens
- Mute all speakers
- set volume .8
- unmute all speakers
- broadcast tts message
My question to the community is - is there a way to instead of just having one tts message, have a list of separate messages, and each time I release the button, it loops through all above actions and rotates through the next message in sequence? I’m assuming I’ll need to switch to one or more scripts and have the automation call it/them?
Example
Press button once ==> announce message 1
Press button again ==> announce message 2
Press button 3rd time ==> announce message 3
And once all messages are exhausted loop through the messages again from the top?
All help will be appreciated.
Thanks