tuya / tuya-home-assistant

Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
MIT License
874 stars 206 forks source link

Cannot load config flow #529

Open bossmansl opened 2 years ago

bossmansl commented 2 years ago

When trying to install the tuya v2 integration in home assistant I get "cannot load config flow" And everything stops

Expected behavior To get the integration set up and authorisation pop up

Running 2021.9.7

strasharo commented 2 years ago

Try restarting HASS, that resolved it for me.

Commfit68 commented 2 years ago

Same issue. Tried restart and reinstall. Can't resolve issue but look forward to trying it out once I get it working. Thank you to everyone who's working towards these projects.

rippergun commented 2 years ago

Same here, even after reboot.

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)

Commfit68 commented 2 years ago

I delete original Tuya and V2 works fine now.

simone7121 commented 2 years ago

Same issue