Xiaolong "Bruce" Liu

Results 13 comments of Xiaolong "Bruce" Liu

> > 查看log后,一番debug,发现是缺websocket-client包,在ha环境下安装后就可以了 > > > > ```python > > pip install websocket-client > > ``` > > ![Screenshot_2022-06-25-03-20-40-65_39b61e491376615a688462ea2f7ad325](https://user-images.githubusercontent.com/106429001/175652197-78af1721-aaef-4e1a-bdc8-686a4a25b3c8.jpg) > 大神,出现这个黄子,还是无法集成。 你的ha是安装在独立的python虚拟环境吗?是的话,先激活虚拟环境 ```sh source <你的虚拟环境路径>/bin/activate ``` 再用`pip`安装`websocket-client`。 如果ha没使用独立的虚拟环境,需要更多信息才能知道你卡在那里了。

I encountered a very similar issue when `import xarray`. The error traceback is as follows: ``` TypeError Traceback (most recent call last) Cell In[1], line 1 ----> 1 import xarray...

I have all three buttons grey. ![image](https://user-images.githubusercontent.com/24582280/228106216-bd913a86-69b6-42f2-8579-32b34d00c549.png) ## Provide Home Assistant traceback/logs ``` Exception in _update_handler when dispatching 'localtuya_6c130b6a7fd92984c93flq': ({'3': 0},) Traceback (most recent call last): File "/root/.homeassistant/custom_components/localtuya/common.py", line 411,...