sfortis / openai_tts

OpenAI TTS custom component for HA
GNU General Public License v3.0
60 stars 17 forks source link

Enable voice selection in options (feature request) #4

Closed codysaylor closed 6 months ago

codysaylor commented 10 months ago

I'd like to be able to define the voice in the "options" field (and the other fields too, but primarily just voices), seen in Developer tools > services > call tts.openai_tts_say as well as Node-RED. I tried making some changes but I don't know much Python so I'm not sure the level of effort for this change. I think it would make sense to have defaults or be able to define them in configuration.yaml too.

sfortis commented 10 months ago

Yes, I was thinking to add this also. This needs a config_flow implementation and the yaml UI definition. I'll work on this at some point.

codysaylor commented 10 months ago

Awesome, thank you @sfortis !

DanDixon commented 8 months ago

I'd also like the ability to set the options from the service call: tts.openai_tts_say Thanks for making this, it's cool!

sfortis commented 6 months ago

feature is added with the latest PR from @dvejsada