Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The stt integration does not support any configuration parameters #3

Closed
felipecrs opened this issue Jul 10, 2023 · 8 comments · Fixed by #12
Closed

The stt integration does not support any configuration parameters #3

felipecrs opened this issue Jul 10, 2023 · 8 comments · Fixed by #12

Comments

@felipecrs
Copy link
Contributor

I'm receiving this error in my HA logs. Maybe some HA breaking change? I'm currently running with 2023.7.1.

Logger: homeassistant.helpers.config_validation
Source: helpers/config_validation.py:1065
First occurred: 9 de julho de 2023 às 13:01:36 (1 occurrences)
Last logged: 9 de julho de 2023 às 13:01:36

The stt integration does not support any configuration parameters, got [{'platform': 'google_cloud_stt', 'key_file': 'google-cloud-service-account.json', 'model': 'latest_short'}]. Please remove the configuration parameters from your configuration.
@chatziko
Copy link
Owner

I get the same after 2023.7, I gave it a quick look but couldn't find the issue.

However, despite the message in the logs the integration still works for me. Is it working for you?

@felipecrs
Copy link
Contributor Author

Yes, it's working. Maybe it's a "bug" in HA?

@chatziko
Copy link
Owner

This is the culprit: home-assistant/core#93954
Context: https://github.com/home-assistant/core/pull/93587/files

They seem to explicitly configure that stt has no configuration parameters, however stt allows to setup platforms (which is what ha-google-cloud-stt does), so it should accept parameters.

@PulsarFX
Copy link

reported here: home-assistant/core#97161

@PulsarFX
Copy link

PulsarFX commented Dec 5, 2023

Got an answer on this issue.
home-assistant/core#97161 (comment)

@maslyankov
Copy link

I cannot setup the integration. It seems to maybe only work if you've setup the integration before this breaking change of HA. In my understanding, for this integration to be working it should support setup via UI.

@lordrak007
Copy link

Same issue, setup like described but te tts option in Voice Assistant does not occure.

@nerijus
Copy link

nerijus commented May 18, 2024

After setup I restarted HA and got
The following integrations and platforms could not be set up:
google_cloud_stt.stt (Show logs)
Log:

Logger: homeassistant.setup
Source: setup.py:481
First occurred: 17:00:15 (1 occurrences)
Last logged: 17:00:15
Unable to prepare setup for platform 'google_cloud_stt.stt': Platform not found (cannot import name 'speech' from 'google.cloud' (unknown location)).

Edit: it works after 2nd HA restart. So no, integration may not support setup via UI, it is working with current HA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants