Hassassistant / openai_response

Custom component to integrate OpenAI's ChatGPT into Home Assistant
72 stars 15 forks source link

Stoped working on 30.12.23 ? -> Solved with HA 2024.1.0b4 #18

Closed andreasbuff closed 9 months ago

andreasbuff commented 9 months ago

Hello, I had this integration running for month.. now, on 30.12.23 it stopped working? Probably, because of HA_2024.1.0bx Beta-Release?

Logger: homeassistant.config_entries Source: config_entries.py:406 First occurred: 10:53:41 (1 occurrences) Last logged: 10:53:41

Error setting up entry OpenAI Conversation for openai_conversation Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 406, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/openai_conversation/init.py", line 118, in async_setup_entry client = openai.AsyncOpenAI(api_key=entry.data[CONF_API_KEY]) ^^^^^^^^^^^^^^^^^^ AttributeError: module 'openai' has no attribute 'AsyncOpenAI'

andreasbuff commented 9 months ago

Solved with Update of HA 2024.1.0b4