- 积分
- 660
- 金钱
- 538
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 660
- 金钱
- 538
- HASS币
- 0
|
发表于 2022-9-25 21:14:35
|
显示全部楼层
我的HA版本Home Assistant 2022.9.1
前端版本: 20220907.0 - latest
2022-09-25 13:11:52.943 ERROR (MainThread) [homeassistant.components.climate] Error while setting up gree platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.10/asyncio/coroutines.py", line 124, in coro
res = func(*args, **kw)
File "/config/custom_components/gree/climate.py", line 116, in async_setup_platform
GreeClimate(hass, name, ip_addr, port, mac_addr, timeout, target_temp_step, temp_sensor_entity_id, lights_entity_id, xfan_entity_id, health_entity_id, powersave_entity_id, sleep_entity_id, eightdegheat_entity_id, air_entity_id, hvac_modes, fan_modes, swing_modes, encryption_key, uid)
File "/config/custom_components/gree/climate.py", line 163, in __init__
self._encryption_key = self.GetDeviceKey().encode("utf8")
File "/config/custom_components/gree/climate.py", line 247, in GetDeviceKey
return self.FetchResult(cipher, self._ip_addr, self._port, self._timeout, jsonPayloadToSend)['key']
File "/config/custom_components/gree/climate.py", line 230, in FetchResult
data, addr = clientSock.recvfrom(64000)
TimeoutError: timed out
报错了,是不是最新版的不能用?
|
|