-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Pylontech BMS integration doesn't start:
2025-11-26 19:51:54.413 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Pylontech BMS for pylontech
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/pylontech/__init__.py", line 61, in async_setup_entry
await coordinator.detect_sensors()
File "/config/custom_components/pylontech/coordinator.py", line 87, in detect_sensors
pwr = await self.pylontech.pwr()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/pylontech/pylontech.py", line 455, in pwr
return PwrCommand(await self._exec_cmd("pwr"))
File "/config/custom_components/pylontech/pylontech.py", line 244, in __init__
self.avg_temp = Temp("Average temperature").set(lines[0].split()[2])
~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels