xZetsubou/hass-localtuya

[Bug]: Can't download LocalTuya diagnostics

Closed this issue · 1 comments

LocalTuya Version

2024.6.0

Home Assistant Version

2024.6.1

Environment

  • Does the device work using the Home Assistant Tuya Cloud component?
  • Is this device connected to another local integration, including Home Assistant and any other tools?
  • The devices are within the same HA subnet, and they get discovered automatically when I add them

What happened?

I'm not sure whether it is LocalTuya problem, or HA. If I select CONFIGURE -> Download diagnostics, it does nothing. Each attempt produces a line in the log. Tried from web browser at different locations and Android app, with the same result.

Note, that I can download diagnostics for a particular device. Only LocalTuya diagnostics does not work.

Steps to reproduce.

LocalTuya CONFIGURE -> Download diagnostics

Relevant log output

2024-06-09 11:49:55.847 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547038961888] Error handling message: expected str for dictionary value @ data['path']. Got None (invalid_format) Константин from 192.168.0.7 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36)
2024-06-09 11:50:10.362 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547038961888] Error handling message: expected str for dictionary value @ data['path']. Got None (invalid_format) Константин from 192.168.0.7 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36)
2024-06-09 11:50:34.459 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547038961888] Error handling message: expected str for dictionary value @ data['path']. Got None (invalid_format) Константин from 192.168.0.7 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36)
2024-06-09 11:50:50.299 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546687134752] Error handling message: expected str for dictionary value @ data['path']. Got None (invalid_format) Константин from 192.168.0.7 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36)
2024-06-09 11:51:38.304 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547038957136] Error handling message: expected str for dictionary value @ data['path']. Got None (invalid_format) Константин from 89.113.156.31 (Mozilla/5.0 (Linux; Android 11; Jelly2 Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/125.0.6422.165 Mobile Safari/537.36 Home Assistant/2024.4.1-12576 (Android 11; Jelly2))
2024-06-09 11:53:18.305 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546687134752] Error handling message: expected str for dictionary value @ data['path']. Got None (invalid_format) Константин from 192.168.0.7 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36)
2024-06-09 11:59:30.765 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [545565014000] Error handling message: expected str for dictionary value @ data['path']. Got None (invalid_format) Константин from 213.5.74.219 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36)

Diagnostics information.

No response

This isn't from localtuya, it's home assistant issue. I also can't download any entry diagnostics even HA built-in integrations.

home-assistant/frontend#21061