tuya-home-assistant icon indicating copy to clipboard operation
tuya-home-assistant copied to clipboard

Tuya v2 not config not loading

Open Maharshi-Pathak opened this issue 3 years ago • 5 comments

Describe the bug The Tuya v2 integration does not load in the configuration->integrations. image

Expected behavior The credentials page should show up as it used to before. image

Screenshots If applicable, add screenshots to help explain your problem.

Home Assistant Version

  • Home Assistant OS 6.5
  • core-2021.10.4
  • supervisor-2021.10.0

Device info (please complete the following information, which can be found in log): like this: Error occurred loading configuration flow for integration tuya_v2: cannot import name 'ProjectType' from 'tuya_iot' (/usr/local/lib/python3.9/site-packages/tuya_iot/init.py)

**Device specifications (please complete the following information, which can be found in

Additional context Add any other context or logs about the problem here.

Maharshi-Pathak avatar Oct 15 '21 00:10 Maharshi-Pathak

Hello I got the same issue, i was running the old version of tuya integration. Got this solved by removing everything i found about the old tuya integration, and also the "TUYA" information from my configuration.yaml file.

maiconguelere avatar Oct 18 '21 22:10 maiconguelere

Hello, I have the same problem and the newest version of tuya, can not support a lot of devices

image

image

in tuya v2 integration I had all devices with all entities. Please, somebody can help with this?

Mocheto avatar Nov 05 '21 22:11 Mocheto

Tried upgrading tuya_iot to latest version: same issue.

# grep V /usr/local/lib/python3.9/site-packages/tuya_iot/version.py 
VERSION = "0.6.3"

grinco avatar Nov 29 '21 00:11 grinco

Interestingly enough after reverting to 0.4.1 it loaded.

grinco avatar Nov 29 '21 00:11 grinco

Hi, can you tell me how you did this update?

jcbolive avatar Jul 24 '22 22:07 jcbolive