- 积分
- 142
- 金钱
- 109
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
注册会员
- 积分
- 142
- 金钱
- 109
- HASS币
- 0
|
发表于 2018-3-28 12:59:13
|
显示全部楼层
大神。 我刚做了详细的侧测试,命令超过1000字符,启动就报这个错:
03-28 12:56:17 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform broadlink
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 82, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/switch/broadlink.py", line 158, in setup_platform
device_config.get(CONF_COMMAND_OFF)
File "/usr/lib/python3.6/site-packages/homeassistant/components/switch/broadlink.py", line 193, in __init__
self._command_on = b64decode(command_on) if command_on else None
File "/usr/lib/python3.6/base64.py", line 87, in b64decode
return binascii.a2b_base64(s) |
|