Kotty666 / dbus-growatt-shinex

Growatt_Victron_connector
MIT License
15 stars 5 forks source link

Bug fix: % Operator is missing in _signOfLife #8

Closed v1rus317 closed 1 year ago

v1rus317 commented 1 year ago

Hello,

i found that the % operator is missing for the string format code line:

https://github.com/Kotty666/dbus-growatt-shinex/blob/fb467651fa441e8aed6aa6fd7ff4ff323a3909cc/dbus-growatt-shinex.py#L155

It should look like this:

logging.info("Last '/Ac/Energy/Forward': %s" % (self._dbusservice['/Ac/Energy/Forward']))

Kotty666 commented 1 year ago

Thx for that. I'vd fixed it with https://github.com/Kotty666/dbus-growatt-shinex/pull/9