dynasticorpheus/gigasetelements-cli

Monitor mode - crash on modus change

dynasticorpheus opened this issue · 0 comments

isl01 isl01.configuration_changed.user.intrusion_mode 

Traceback (most recent call last):
  File "/usr/local/bin/gigasetelements-cli", line 11, in <module>
    load_entry_point('gigasetelements-cli==1.5.0b5', 'console_scripts', 'gigasetelements-cli')()
  File "/usr/local/lib/python3.6/dist-packages/gigasetelements/gigasetelements.py", line 740, in main
    base()
  File "/usr/local/lib/python3.6/dist-packages/gigasetelements/gigasetelements.py", line 726, in base
    monitor(auth_time, basestation_data, status_data, args.url, cfg_domo)
  File "/usr/local/lib/python3.6/dist-packages/gigasetelements/gigasetelements.py", line 483, in monitor
    domoticz(item['type'].lower(), basestation_data[0]['id'].lower(), item['source_type'].lower(), basestation_data, url_domo, cfg_domo)
  File "/usr/local/lib/python3.6/dist-packages/gigasetelements/gigasetelements.py", line 513, in domoticz
    LEVEL.get(status_data['system_health'], '3') + '&svalue=' + friendly + ' | ' + event)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'