刷新tuya设备状态(灯泡,开关,插头)不会更新。如果我关掉灯...几分钟后它仍然显示为打开。
如果重新启动HA,状态将正确更新。如果尝试从HA UI运行force_update服务,则无法从HA刷新状态。
总结一下: - HA不会实时更新实体状态
- API正常,状态保持一致
- 集成正常(我可以打开和关闭)
- 重新启动后,状态会对齐
环境- 带有问题的Home Assistant核心版本:Home Assistant 0.112.4
- 上次运行的Home Assistant核心发行版(如果知道):Home Assistant 0.106
- 操作环境(操作系统/容器/受管/核心):Windows 10
- 集成导致此问题:Tuya
追溯/错误日志从日志中,我可以读到很多... 2020-07-15 13:35:38调试(SyncWorker_4)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke2020-07-15 13:35:38 DEBUG(SyncWorker_0)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:38 DEBUG(SyncWorker_2)[tuyaha.tuyaapi]控制设备错误,错误代码是FrequentlyInvoke
2020-07-15 13:35:39 DEBUG(SyncWorker_3)[tuyaha.tuyaapi]控制设备错误,错误代码是FrequentlyInvoke
2020-07-15 13:35:39 DEBUG(SyncWorker_4)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:39 DEBUG(SyncWorker_0)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:39 DEBUG(SyncWorker_2)[ tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:39 DEBUG(SyncWorker_3)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:39 DEBUG(SyncWorker_0)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:39 DEBUG(SyncWorker_4)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:40 DEBUG(SyncWorker_2)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:40 DEBUG(SyncWorker_4)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:40 DEBUG(SyncWorker_3)[ tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:40 DEBUG(SyncWorker_0)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:41 DEBUG(SyncWorker_2)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:41 DEBUG(SyncWorker_4)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:41 DEBUG(SyncWorker_3)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:41 DEBUG(SyncWorker_0)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:41 DEBUG(SyncWorker_2)[ tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:41 DEBUG(SyncWorker_4)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:41 DEBUG(SyncWorker_3)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:41 DEBUG(SyncWorker_0)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:42 DEBUG(SyncWorker_2)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:42 DEBUG(SyncWorker_4)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:42 DEBUG(SyncWorker_3)[ tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:42 DEBUG(SyncWorker_0)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:43 DEBUG(SyncWorker_3)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:43 DEBUG(SyncWorker_2)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:43 DEBUG(SyncWorker_4)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:43 DEBUG(SyncWorker_0)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:43 DEBUG(SyncWorker_2)[ tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
2020-07-15 13:35:43调试(SyncWorker_4)[tuyaha.tuyaapi]控制设备错误,错误代码为FrequentlyInvoke
这个问题有没有办法解决?
|