We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba48c85 commit ca893b3Copy full SHA for ca893b3
custom_components/sigen/modbus.py
@@ -12,7 +12,6 @@
12
from homeassistant.core import HomeAssistant
13
from homeassistant.exceptions import HomeAssistantError
14
from pymodbus.client import AsyncModbusTcpClient
15
-from pymodbus.constants import Endian
16
from pymodbus.exceptions import ConnectionException, ModbusException
17
from pymodbus.client.mixin import ModbusClientMixin
18
from pymodbus import __version__ as pymodbus_version
@@ -1209,4 +1208,4 @@ async def async_write_parameter(
1209
1208
except SigenergyModbusError as ex:
1210
_LOGGER.error("Failed to write %s parameter '%s' (device: %s): %s",
1211
device_type, register_name, device_identifier or 'plant', ex)
1212
- raise # Re-raise the specific error
+ raise # Re-raise the specific error
0 commit comments