cyrils / renogy-bt

Python library to read Renogy compatible BT-1 or BT-2 bluetooth modules using Raspberry Pi.
GNU General Public License v3.0
89 stars 36 forks source link

Fixed logging format for unknown operations #8

Closed RichardHyde closed 1 year ago

RichardHyde commented 1 year ago

This minor fix causes an unknown operation to be logged correctly.

The logged message for an unknown operation changes from

on_data_received: unknown operation={}.format(operation)

to

on_data_received: unknown operation=42