From 9e4ddbf8fc789a20b5d4f342390615740e9ea827 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 7 Sep 2019 20:31:28 +0200 Subject: [PATCH] fix SSID trigger --- .../plugins/general/automation/triggers/TriggerWifiSsid.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerWifiSsid.java b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerWifiSsid.java index e520ef38d6..84094095d5 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerWifiSsid.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerWifiSsid.java @@ -65,7 +65,7 @@ public class TriggerWifiSsid extends Trigger { return true; } - boolean doRun = eventNetworkChange.wifiConnected && comparator.getValue().check(eventNetworkChange.ssid, getValue()); + boolean doRun = eventNetworkChange.wifiConnected && comparator.getValue().check(eventNetworkChange.getSsid(), getValue()); if (doRun) { if (L.isEnabled(L.AUTOMATION)) log.debug("Ready for execution: " + friendlyDescription());