fix SSID trigger

This commit is contained in:
Milos Kozak 2019-09-07 20:31:28 +02:00
parent cba5b640cb
commit 9e4ddbf8fc

View file

@ -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());