jsmeyers / home-assistant-tuya-custom

4 stars 12 forks source link

Doesn't work with Home Assistant 2023.5.1 #1

Open Disane87 opened 1 year ago

Disane87 commented 1 year ago

Since the new update this component isn't working anymore. Logs:

2023-05-05 09:16:05.476 ERROR (Thread-19 (_thread_main)) [tuya_iot] Unexpected disconnection.7 2023-05-05 09:16:05.712 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry [xyz@xyz.com] for tuya Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/tuya/init.py", line 126, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

Do you need any other information?

Aliskin-Papa commented 1 year ago

Sam here

carlito13500 commented 1 year ago

Home Assistant 2023.5.2 Supervisor 2023.04.1 Operating System 10.1 Interface utilisateur : 20230503.3 - latest

Logger: homeassistant.config_entries Source: custom_components/tuya/init.py:126 Integration: Tuya First occurred: 19:21:22 (1 occurrences) Last logged: 19:21:22

Error setting up entry xxxxxxxx@gmail.com for tuya Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/tuya/init.py", line 126, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

eduardocaraujo commented 1 year ago

Same here. any news?

capsel22 commented 1 year ago

getting the same error

TBeisch commented 1 year ago

getting also the same error

TurboKanne commented 1 year ago

Same for me, I already tried to remove it, but could not manage it. Everytime I remove it, it seems that there are some parts still there. Can someone please help with the info how to complete remove this? I treied to remove in HACS, but after upgrading to 5.4 the error log shows:

Logger: homeassistant.config_entries
Source: custom_components/tuya/__init__.py:126
Integration: Tuya
First occurred: 10:01:55 (1 occurrences)
Last logged: 10:01:55

Error setting up entry user_xxx@email_xxx.de for tuya
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/tuya/__init__.py", line 126, in async_setup_entry
    hass.config_entries.async_setup_platforms(entry, PLATFORMS)
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

best regards