Improve random action

* Allow duplicates to enable weighting macro occurance
 * Add option to allow consecutive execution of the same macro
This commit is contained in:
WarmUpTill
2022-12-23 23:28:00 +01:00
committed by WarmUpTill
parent e0602f8de2
commit e147402250
3 changed files with 48 additions and 8 deletions

View File

@@ -522,6 +522,7 @@ AdvSceneSwitcher.action.timer.type.reset="Reset"
AdvSceneSwitcher.action.timer.type.setTimeRemaining="Set time remaining of"
AdvSceneSwitcher.action.timer.entry="{{timerAction}} timers on {{macros}} {{duration}}"
AdvSceneSwitcher.action.random="Random"
AdvSceneSwitcher.action.random.allowRepeat="Allow consecutive execution of the same macro"
AdvSceneSwitcher.action.random.entry="Randomly run any of the following macros (paused macros are ignored)"
AdvSceneSwitcher.action.systray="System tray notification"
AdvSceneSwitcher.action.systray.entry="Show notification: {{message}}"