@
liqinliqin 此错误来自自定义集成。
Logger: homeassistant.setup
Source: custom_components/hass_cozylife_local_pull/
tcp_client.py:50 Integration: hass_cozylife_local_pull (documentation)
First occurred: 2023 年 1 月 6 日 11:37:10 (1 occurrences)
Last logged: 2023 年 1 月 6 日 11:37:10
Error during setup of component hass_cozylife_local_pull
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/
setup.py", line 253, 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/hass_cozylife_local_pull/
__init__.py", line 23, in setup
'tcp_client': [tcp_client(item) for item in ip],
File "/config/custom_components/hass_cozylife_local_pull/
__init__.py", line 23, in <listcomp>
'tcp_client': [tcp_client(item) for item in ip],
File "/config/custom_components/hass_cozylife_local_pull/
tcp_client.py", line 50, in __init__
s.connect((self._ip, self._port))
TimeoutError: timed out