issue#60 resolved issue with x-x:24.3.0 where it contains non-integer characters, parse 2nd value as string instead of integer

This commit is contained in:
Hans Erik van Elburg 2020-11-02 00:29:03 +01:00
parent 0427ace079
commit 700cf6a2b3

View File

@ -34,7 +34,7 @@ V2_2 = {
obis.VALVE_POSITION_GAS: CosemParser(ValueParser(str)), obis.VALVE_POSITION_GAS: CosemParser(ValueParser(str)),
obis.GAS_METER_READING: MBusParser( obis.GAS_METER_READING: MBusParser(
ValueParser(timestamp), ValueParser(timestamp),
ValueParser(int), ValueParser(str), # changed to str see issue60
ValueParser(int), ValueParser(int),
ValueParser(int), ValueParser(int),
ValueParser(str), # obis ref ValueParser(str), # obis ref