|
发表于 2022-11-21 16:32:05
|
显示全部楼层
请问各位大神,我遇到这种情况要怎么决绝,上网找了很多找不到答案那位大神可以帮帮忙
Logger: homeassistant.setup
Source: custom_components/lifesmart/__init__.py:295
Integration: lifesmart (documentation)
First occurred: 16:22:06 (1 occurrences)
Last logged: 16:22:06
Error during setup of component lifesmart
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/lifesmart/__init__.py", line 295, in setup
param['username'] = config[DOMAIN][CONF_LIFESMART_USERNAME]
KeyError: 'username'
|
|