Skip to content

Commit 178aed4

Browse files
authored
bugfix intermediate AMIS
1 parent 4bbfbcc commit 178aed4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HoymilesZeroExport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ def CreateIntermediatePowermeter(dtu: DTU) -> Powermeter:
12781278
config.get('INTERMEDIATE_VZLOGGER', 'VZL_PORT_INTERMEDIATE'),
12791279
config.get('INTERMEDIATE_VZLOGGER', 'VZL_UUID_INTERMEDIATE')
12801280
)
1281-
elif config.getboolean('SELECT_POWERMETER', 'USE_AMIS_READER_INTERMEDIATE'):
1281+
elif config.getboolean('SELECT_INTERMEDIATE_METER', 'USE_AMIS_READER_INTERMEDIATE'):
12821282
return AmisReader(
12831283
config.get('INTERMEDIATE_AMIS_READER', 'AMIS_READER_IP_INTERMEDIATE')
12841284
)

0 commit comments

Comments
 (0)