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

cannot install tuyav2 - Invalid handler specified

Open MrThiemann opened this issue 2 years ago • 5 comments

Hey,

I'm reinstalling my HA right now. The old instance becomes dev environment.

Now I actually wanted to install tuyav2, but it doesn't appear "properly" to me.

after adding the repository in HACS I see it under HACS -> Integration. I can install that too.

However, if I then open the integration, the information about the integration is not displayed as usual, but I get the message: The developer has not provided any further information for this repository Bildschirmfoto 2022-10-15 um 09 26 48

even a restart brings nothing here...

in my dev environment it looks like this - and I think that's correct:

Bildschirmfoto 2022-10-15 um 09 35 40

If I still try to install tuyav2 under Settings --> Integrations, then I get the error:

The configuration flow could not be loaded: {"message":"Invalid handler specified"}

Bildschirmfoto 2022-10-15 um 09 27 03

I don't know how to fix the problem! if you need more information, i'll be happy to provide it!

MrThiemann avatar Oct 15 '22 07:10 MrThiemann

maybe it is helpful?

I have this message in the log:

Logger: homeassistant.config_entries
Source: config_entries.py:809
First occurred: 09:57:52 (3 occurrences)
Last logged: 10:00:29

Error occurred loading configuration flow for integration tuya_v2: cannot import name 'ProjectType' from 'tuya_iot' (/usr/local/lib/python3.10/site-packages/tuya_iot/__init__.py)

Bildschirmfoto 2022-10-15 um 10 02 06

MrThiemann avatar Oct 15 '22 08:10 MrThiemann

I have the same issue here. Tuya v2 not configurable. Tuya Integration is giving MQTT errors... I am stuck

update: So I have learnt that the IOT cloud from Tuya is ending its Trial after a Month. And any local Tuya is not working for me... so byebye Tuya on my Hassio

turbolooser avatar Oct 20 '22 09:10 turbolooser

where did you get this information from? IoT runs fine on my dev environment. I just can't install it on my new HA at the moment. And only with the TuyaV2. The "normal" works

MrThiemann avatar Oct 20 '22 19:10 MrThiemann

see here: https://github.com/home-assistant/home-assistant.io/issues/20387 and in your Tuya IOT account: cloud services - IOT Core (only valid for 1 Month for any new account) image

I created a new one yesterday so thats why its working again for 30 days

turbolooser avatar Oct 21 '22 07:10 turbolooser

Did you manage to solve this? I get the exact same error

SlowNicoFish avatar May 21 '23 20:05 SlowNicoFish