I guess I'm raisning the events badly? I can see in raz log that the code is executed, and I can see it in Events tab in the UI. I know Pushbullet is working since I have also configured a switch whose ON/OFF events actually are caught by the app and sent to my phone.
Code: Select all
if(...) self.controller.addNotification("error", "Device is not OK.", "module", "PingDevice"); else... self.controller.addNotification("warning", "Device is OK.", "module", "PingDevice");