File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 "loggers" : [" custom_components.sigen" ],
2222 "quality_scale" : " custom" ,
2323 "requirements" : [" pymodbus>=3.0.0" ],
24- "version" : " 1.0.10 "
24+ "version" : " 1.0.11 "
2525}
Original file line number Diff line number Diff line change 1515from pymodbus .exceptions import ConnectionException , ModbusException
1616from pymodbus .payload import BinaryPayloadBuilder
1717from pymodbus .client .mixin import ModbusClientMixin
18+ from pymodbus import __version__ as pymodbus_version
1819
1920from .const import (
2021 CONF_INVERTER_CONNECTIONS ,
@@ -86,6 +87,9 @@ def __init__(
8687 self .hass = hass
8788 self .config_entry = config_entry
8889
90+ # Log to dev logger the version of pymodbus being used
91+ _LOGGER .debug ("Using pymodbus version: %s" , pymodbus_version )
92+
8993 # Dictionary to store Modbus clients for different connections
9094 # Key is (host, port) tuple, value is the client instance
9195 self ._clients : Dict [Tuple [str , int ], AsyncModbusTcpClient ] = {}
You can’t perform that action at this time.
0 commit comments