- 积分
- 473
- 金钱
- 425
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 473
- 金钱
- 425
- HASS币
- 0
|
发表于 2022-8-30 12:10:55
|
显示全部楼层
这个加了还有问题,报其他问题了
Error during setup of component daikin_dta116a621
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/config/custom_components/daikin_dta116a621/__init__.py", line 64, in async_setup
adapter : DaikinAPI = await hass.async_add_executor_job(create_adapter, conf_adapter_host, conf_adapter_port, conf_adapter_slave)
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/daikin_dta116a621/__init__.py", line 75, in create_adapter
api = DaikinAPI(host, port, slave)
File "/usr/local/lib/python3.10/site-packages/pydta116a621/__init__.py", line 20, in __init__
self._areas.update_all()
File "/usr/local/lib/python3.10/site-packages/pydta116a621/register_area.py", line 58, in update_all
proxy.update_all()
File "/usr/local/lib/python3.10/site-packages/pydta116a621/proxy.py", line 46, in update_all
self.update_cells(self._base_address, self._cells_count)
File "/usr/local/lib/python3.10/site-packages/pydta116a621/proxy.py", line 42, in update_cells
cells = self._modbus_client.read_cells(self.register_type, address, this_turn_cells_count)
File "/usr/local/lib/python3.10/site-packages/pydta116a621/modbus_client.py", line 30, in read_cells
cells = self._read_input_cells(address, count)
File "/usr/local/lib/python3.10/site-packages/pydta116a621/modbus_client.py", line 21, in _read_input_cells
return result.registers
AttributeError: 'ModbusIOException' object has no attribute 'registers'
帮忙看看什么问题,能不能留一个联系方式,谢谢大神 |
|