clean-up re-format
This commit is contained in:
parent
8e2bdd3279
commit
3092ba8b1f
@ -29,13 +29,13 @@ def create_dsmr_protocol(dsmr_version, telegram_callback, loop=None, **kwargs):
|
|||||||
elif dsmr_version == '5B':
|
elif dsmr_version == '5B':
|
||||||
specification = telegram_specifications.BELGIUM_FLUVIUS
|
specification = telegram_specifications.BELGIUM_FLUVIUS
|
||||||
serial_settings = SERIAL_SETTINGS_V5
|
serial_settings = SERIAL_SETTINGS_V5
|
||||||
elif dsmr_version == '5L':
|
elif dsmr_version == "5L":
|
||||||
specification = telegram_specifications.LUXEMBOURG_SMARTY
|
specification = telegram_specifications.LUXEMBOURG_SMARTY
|
||||||
serial_settings = SERIAL_SETTINGS_V5
|
serial_settings = SERIAL_SETTINGS_V5
|
||||||
elif dsmr_version == '5S':
|
elif dsmr_version == "5S":
|
||||||
specification = telegram_specifications.SWEDEN
|
specification = telegram_specifications.SWEDEN
|
||||||
serial_settings = SERIAL_SETTINGS_V5
|
serial_settings = SERIAL_SETTINGS_V5
|
||||||
elif dsmr_version == 'Q3D':
|
elif dsmr_version == 'Q3D":
|
||||||
specification = telegram_specifications.Q3D
|
specification = telegram_specifications.Q3D
|
||||||
serial_settings = SERIAL_SETTINGS_V5
|
serial_settings = SERIAL_SETTINGS_V5
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user