|
发表于 2017-9-9 22:58:17
|
显示全部楼层
Hass 升级到0.53.0 报错
2017-09-09 22:56:17 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform chuangmi_ir
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/tasks.py", line 378, in wait_for
return fut.result()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/tianyucheng/.homeassistant/custom_components/switch/chuangmi_ir.py", line 103, in setup_platform
ir_remote = miio.device(host, token)
File "/Users/tianyucheng/.homeassistant/deps/lib/python/site-packages/miio/miio.py", line 16, in __init__
self.token = bytes.fromhex(token)
ValueError: non-hexadecimal number found in fromhex() arg at position 0 |
|