Skip to content

Commit

Permalink
Merge pull request #3644 from Philoul/Todo/AutomationAtAction
Browse files Browse the repository at this point in the history
Automation Hide Autotune Action on released version
  • Loading branch information
MilosKozak authored Dec 22, 2024
2 parents fe6e130 + 59b0c5f commit 0a29d84
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ class AutomationPlugin @Inject constructor(
}

fun getActionDummyObjects(): List<Action> {
return listOf(
val actions = mutableListOf(
//ActionLoopDisable(injector),
//ActionLoopEnable(injector),
//ActionLoopResume(injector),
Expand All @@ -390,9 +390,12 @@ class AutomationPlugin @Inject constructor(
ActionCarePortalEvent(injector),
ActionProfileSwitchPercent(injector),
ActionProfileSwitch(injector),
ActionRunAutotune(injector),
ActionSendSMS(injector)
)
if (config.isEngineeringMode() && config.isDev())
actions.add(ActionRunAutotune(injector))

return actions.toList()
}

fun getTriggerDummyObjects(): List<Trigger> {
Expand Down

0 comments on commit 0a29d84

Please sign in to comment.