|
小白一个,米家台灯接入homeassist失败,不知哪里出现问题,局域网发现已开启light:
- platform: yeelight
devices:
192.168.99.133:
name: Living Room
Error while setting up platform yeelightTraceback (most recent call last): File "c:\users\jyhaw\appdata\local\programs\python\python37\lib\site-packages\homeassistant\helpers\entity_platform.py", line 128, in _async_setup_platform SLOW_SETUP_MAX_WAIT, loop=hass.loop) File "c:\users\jyhaw\appdata\local\programs\python\python37\lib\asyncio\tasks.py", line 416, in wait_for return fut.result() File "c:\users\jyhaw\appdata\local\programs\python\python37\lib\concurrent\futures\thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "c:\users\jyhaw\appdata\local\programs\python\python37\lib\site-packages\homeassistant\components\light\yeelight.py", line 126, in setup_platform from yeelight.enums import PowerMode File "C:\Users\jyhaw\AppData\Roaming\.homeassistant\deps\Python37\site-packages\yeelight\__init__.py", line 5, in <module> from yeelight.main import Bulb, BulbType, BulbException, discover_bulbs File "C:\Users\jyhaw\AppData\Roaming\.homeassistant\deps\Python37\site-packages\yeelight\main.py", line 17, in <module> import win32api as fcntlModuleNotFoundError: No module named 'win32api
|
|