diff --git a/dsmr_parser/parsers.py b/dsmr_parser/parsers.py index 61515fc..a140609 100644 --- a/dsmr_parser/parsers.py +++ b/dsmr_parser/parsers.py @@ -276,6 +276,8 @@ def parse(self, line): for i in range(1, count + 1): timestamp_month = ValueParser(timestamp).parse(values[i * 3 + 0]) timestamp_occurred = ValueParser(timestamp).parse(values[i * 3 + 1]) + if timestamp_occurred["value"] is None: + timestamp_occurred["value"] = timestamp_month["value"] value = ValueParser(Decimal).parse(values[i * 3 + 2]) objects.append(MBusObjectPeak( obis_id_code=obis_id_code,