diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/AutomationPlugin.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/AutomationPlugin.kt index b4f9ec425e..bde4182aef 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/AutomationPlugin.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/AutomationPlugin.kt @@ -177,10 +177,9 @@ class AutomationPlugin @Inject constructor( @Synchronized private fun processActions() { - if (!isEnabled(PluginType.GENERAL)) - return - if (loopPlugin.isSuspended || !loopPlugin.isEnabled(PluginType.LOOP)) { + if (loopPlugin.isSuspended || !loopPlugin.isEnabled()) { aapsLogger.debug(LTag.AUTOMATION, "Loop deactivated") + executionLog.add(resourceHelper.gs(R.string.smscommunicator_loopisdisabled)) return } val enabled = constraintChecker.isAutomationEnabled()