Tuya Device Help

thank you.

my problem is with that “id” field.

I promptly changed to
id: 1

and…

I got a different error.

But at least I am making progress!

Before I dig further into it, I have a very silly, most basic question to ask:

I notice that I have SOMETHING installed in home assistant directory:

  • /srv/homeassistant/lib/python3.5/site-packages/pytuya-5.0.dist-info
    
  • /srv/homeassistant/lib/python3.5/site-packages/__pytuya__
    
  1. what are these things?

  2. now, via GUI trying to turn on a switch, I got the following error:

    File “/home/homeassistant/.homeassistant/custom_components/switch/tuya.py”, line 83, in update
    raise ConnectionError(“Failed to update status.”)
    ConnectionError: Failed to update status.

any idea what to do next?

1 Like