『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 1193|回复: 2

[求助] Local tuya无法加载设备

[复制链接]

5

主题

102

帖子

346

积分

中级会员

Rank: 3Rank: 3

积分
346
金钱
244
HASS币
0
发表于 2022-4-2 11:49:00 | 显示全部楼层 |阅读模式
本帖最后由 snoopyray 于 2022-4-2 11:50 编辑

准备添加涂鸦协议的窗帘电机,集成里的Local tuya加载不了下拉设备栏
捕获.JPG

日志如下
2022-04-02 11:04:01 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-04-02 11:04:01 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration colorfulclouds which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-04-02 11:04:01 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration xiaomi_miot_raw which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-04-02 11:04:01 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration midea_ac which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-04-02 11:04:01 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-04-02 11:04:18 ERROR (MainThread) [custom_components.xiaomi_miot_raw.deps.xiaomi_cloud_new] Timeout while loading MiCloud device list
2022-04-02 11:04:56 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Tuya Device (YAML) for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 474, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/binary_sensor/__init__.py", line 173, in async_unload_entry
    return await component.async_unload_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 172, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2022-04-02 11:04:56 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Tuya Device (YAML) for localtuya
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 474, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/config/custom_components/localtuya/__init__.py", line 286, in async_unload_entry
    hass.data[DOMAIN][entry.entry_id][UNSUB_LISTENER]()
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 583, in <lambda>
    return lambda: self.update_listeners.remove(weak_listener)
ValueError: list.remove(x): x not in list
2022-04-02 11:05:11 ERROR (MainThread) [homeassistant.components.hassio.handler] Client error on /homeassistant/restart request Server disconnected

回复

使用道具 举报

35

主题

984

帖子

4744

积分

论坛元老

Rank: 8Rank: 8

积分
4744
金钱
3760
HASS币
20
发表于 2022-4-3 14:48:29 来自手机 | 显示全部楼层
你涂鸦APP添加好了吗?LOCAL TUYA要求先添加的
回复

使用道具 举报

32

主题

1065

帖子

4946

积分

论坛元老

Rank: 8Rank: 8

积分
4946
金钱
3866
HASS币
90
发表于 2022-4-8 03:29:51 | 显示全部楼层
本帖最后由 relliky 于 2022-4-8 03:32 编辑

你HA是什么版本的?

还有,这个message好像说你用的yaml配置的localtuya
Error unloading entry Tuya Device (YAML) for binary_sensor

你可以试试用gui配置好了,再尝试用yaml配置
这是我yaml配置的例子
https://github.com/relliky/Tais_ ... ght_bulbs.yaml#L124
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 01:33 , Processed in 0.115028 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表