mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-29 10:16:21 +02:00
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:
parent
9331d9197b
commit
5a93536940
1 changed files with 2 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue