Python goes in crash, when using an other InfoCommend

comment line 178 of main.py as before
add an else path in __init__.py
This commit is contained in:
Knuti_in_Paese 2023-07-17 19:44:52 +02:00
parent 9331d9197b
commit 5a93536940

View file

@ -193,6 +193,8 @@ class ResponseDecoder(ResponseDecoderFactory):
model_desc = "Inverter generic events log"
elif command.upper() == '12':
model_desc = "Inverter major events log"
else:
model_desc = "event not configured - check ahoy script"
logging.info(f'model_decoder: {model}Decode{command.upper()} - {model_desc}')
model_decoders = __import__('hoymiles.decoders')