chore: enableExpression, broken test and config

This commit is contained in:
jamesread 2026-01-06 21:51:35 +00:00
parent 654ed15dde
commit 3d5268d1c9
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ describe('config: enabledExpression', function () {
takeScreenshotOnFailure(this.currentTest, webdriver); takeScreenshotOnFailure(this.currentTest, webdriver);
}); });
it('Action with enabledExpression false is disabled', async function() { it('Action with enabledExpression for lights enable the correct action', async function() {
await getRootAndWait() await getRootAndWait()
// Navigate to the Lights Dashboard // Navigate to the Lights Dashboard

View File

@ -28,6 +28,7 @@ type Action struct {
Arguments []ActionArgument `koanf:"arguments"` Arguments []ActionArgument `koanf:"arguments"`
PopupOnStart string `koanf:"popupOnStart"` PopupOnStart string `koanf:"popupOnStart"`
SaveLogs SaveLogsConfig `koanf:"saveLogs"` SaveLogs SaveLogsConfig `koanf:"saveLogs"`
EnabledExpression string `koanf:"enabledExpression"`
} }
// ActionArgument objects appear on Actions. // ActionArgument objects appear on Actions.