core: Unreachable Tuya devices since last couple updates

The problem

Hello since last couple updates it seems the tuya integration no more fetching devices.

Mostly using it for lights I experienced that no action was effective. Going to Integrations I saw that Tuya has no more devices present before.

I tried theses steps :

  • Reloading : HA asked me to restart for this integration to be reloaded
  • Restarted HA -> still same impossible reload
  • Remove and recreate integration alongside readding device on TUYA cloud app

I still don’t get any devices/entities I had before

I guess maybe the origin came from MQTT (see below logs) I’ve no MQTT integration installed BTW

What version of Home Assistant Core has the issue?

core-2023.4.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tuya

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tuya

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2023-04-19 09:21:19.792 ERROR (Thread-11) [tuya_iot] error while get mqtt config

2023-04-19 09:21:19.825 ERROR (Thread-11) [root] Uncaught thread exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/site-packages/tuya_iot/openmq.py", line 161, in run
    time.sleep(self.mq_config.expire_time - 60)

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 18

Most upvoted comments

Few hours I applied yesterday and this morning it was approved