From 0ed5fc02203dfaccff3056fe992b98778ebd77ad Mon Sep 17 00:00:00 2001 From: gigatexel <65073191+gigatexel@users.noreply.github.com> Date: Fri, 8 Apr 2022 14:09:56 +0200 Subject: [PATCH] Update telegram_specifications.py --- dsmr_parser/telegram_specifications.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/dsmr_parser/telegram_specifications.py b/dsmr_parser/telegram_specifications.py index 07f60cb..4abe328 100644 --- a/dsmr_parser/telegram_specifications.py +++ b/dsmr_parser/telegram_specifications.py @@ -148,14 +148,10 @@ BELGIUM_FLUVIUS['objects'].update({ ValueParser(timestamp), ValueParser(Decimal) ), - obis.BELGIUM_MAX_POWER_PER_PHASE: MBusParser( - ValueParser(timestamp), - ValueParser(Decimal) - ), - obis.BELGIUM_MAX_CURRENT_PER_PHASE: MBusParser( - ValueParser(timestamp), - ValueParser(Decimal) - ), + obis.BELGIUM_MAX_POWER_PER_PHASE: CosemParser(ValueParser(Decimal)), + obis.BELGIUM_MAX_CURRENT_PER_PHASE: CosemParser(ValueParser(Decimal)), + obis.ACTUAL_SWITCH_POSITION: CosemParser(ValueParser(str)), + obis.VALVE_POSITION_GAS: CosemParser(ValueParser(str)), }) LUXEMBOURG_SMARTY = deepcopy(V5)