Merge pull request #61 from lowdef/issue60

issue#60 resolved issue with x-x:24.3.0 where it contains non-integer…
This commit is contained in:
Nigel Dokter 2020-11-03 21:25:39 +01:00 committed by GitHub
commit ebea385753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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