Disable Watson TTS Telemetry#26253
Conversation
As in the doc https://cloud.ibm.com/apidocs/text-to-speech?code=python#data-collection Still need to understand how config work in ha
This should do it from what i understand
|
Hi @poofyteddy, It seems you haven't yet signed a CLA. Please do so here. Once you do that we will be able to review and accept this pull request. Thanks! |
amelchio
left a comment
There was a problem hiding this comment.
Do we even need the option, why would anyone ever enable it?
|
Hi @poofyteddy, It seems you haven't yet signed a CLA. Please do so here. Once you do that we will be able to review and accept this pull request. Thanks! |
|
It was actually better before. We prefer positively named options because double negatives like But no option is even better, so please answer my above question: Do we even need the option, why would anyone ever enable it? |
|
Sorry @amelchio, Github is an unfriendly thing for me, and i was looking for a reply button ... |
The Home Assistant view is that we should not try to please everyone because we will fail. Each option is extra complexity and overhead that should be avoided if almost nobody wants it anyway. |
as requested by @amelchio, the need to enable telemetry to small to make thing more complicated.
|
Then it's way easier :) i rollback to just putting the config needed to always opt-out of telemetry. |
Exactly. And then we make less mistakes. Please remove the WIP label once you have tested this. |
|
After testing it it work as expected, i receive my audio file. |
|
We need to get all CI checks to pass in order to move this along but I am not sure why some failed? |
|
hi @frenck, as far as i can tell, there isn't any doc to update since noting have change on the end ui. |
|
@poofyteddy I've added it because you wrote TODO in your OP. |
|
Okay, let's merge this. Thanks for your contribution. However, please do get a proper dev environment before making further PRs. |
Description:
Will disable telemetry by default for everyone. But i don't see this as a bad thing, maybe i'm wrong
As in the doc https://cloud.ibm.com/apidocs/text-to-speech?code=python#data-collection
I think leaving telemetry enable break the idea of privacy a self hosted solution like HA allow. So this option felt necessary.
Can't test it right now because HA is down for unrelated reason
First time i do any edition to HA, so i surely missed stuff, plus i am really not a dev ...
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here> Not needed, no change to the front end
Checklist:
tox. Your PR cannot be merged unless tests passIf the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest.