Open OxHimanshu opened 1 year ago
Hi @OxHimanshu in case if it still relevant for you and for any who might found this usefull - The issue is that Discord don't accept None format and it may be occured at least for lines
"value": event["Trigger"]["Dimensions"][0]["value"] if len(event["Trigger"]["Dimensions"]) > 0 else 'no data',
&&&
"value": event.get("AlarmDescription") if event.get("AlarmDescription") == True else "no description",
above is workaround that work fine for me (at least so far ) :)
Hey @truekoi thanks for the solution. Please @OxHimanshu let me know if it works for you too