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

KeyError: 'url' #21

Open
rmeissn opened this issue Nov 16, 2024 · 0 comments
Open

KeyError: 'url' #21

rmeissn opened this issue Nov 16, 2024 · 0 comments

Comments

@rmeissn
Copy link

rmeissn commented Nov 16, 2024

I'm using this excellent integration, but it throws the following messages when starting up home assisstant (as a docker container):

homeassistant    | 2024-11-16 08:24:32.197 ERROR (MainThread) [homeassistant.components.tts] Error while setting up openai_tts platform for tts
homeassistant    | Traceback (most recent call last):
homeassistant    |   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in _async_setup_platform
homeassistant    |     await asyncio.shield(awaitable)
homeassistant    |   File "/config/custom_components/openai_tts/tts.py", line 32, in async_setup_entry
homeassistant    |     config_entry.data[CONF_URL]
homeassistant    |     ~~~~~~~~~~~~~~~~~^^^^^^^^^^
homeassistant    | KeyError: 'url'
homeassistant    | 2024-11-16 08:24:32.203 ERROR (MainThread) [homeassistant.components.tts] Error while setting up openai_tts platform for tts
homeassistant    | Traceback (most recent call last):
homeassistant    |   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in _async_setup_platform
homeassistant    |     await asyncio.shield(awaitable)
homeassistant    |   File "/config/custom_components/openai_tts/tts.py", line 32, in async_setup_entry
homeassistant    |     config_entry.data[CONF_URL]
homeassistant    |     ~~~~~~~~~~~~~~~~~^^^^^^^^^^
homeassistant    | KeyError: 'url'

Is there anything I can do about it?

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

No branches or pull requests

1 participant