From 5cd5bd2a258c6c36c1a55d3cc13c0f8224572ce9 Mon Sep 17 00:00:00 2001 From: James Read Date: Fri, 21 Feb 2025 17:53:19 +0000 Subject: [PATCH] bugfix: Default config now uses "triggers" instead of "trigger", and shows HTML (#521) --- config.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index 27fcc81..a5383fe 100644 --- a/config.yaml +++ b/config.yaml @@ -108,6 +108,10 @@ actions: icon: ashtonished shell: rm -rf /opt/oldBackups/ arguments: + - type: html + title: Description + default: + The documentation for this action can be found at example.com. - type: confirmation title: Are you sure?! @@ -197,13 +201,13 @@ actions: icon: box shell: docker start {{ container.Names }} entity: container - trigger: Update container entity file + triggers: ["Update container entity file"] - title: Stop {{ container.Names }} icon: box shell: docker stop {{ container.Names }} entity: container - trigger: Update container entity file + triggers: ["Update container entity file"] # Lastly, you can hide actions from the web UI, this is useful for creating # background helpers that execute only on startup or a cron, for updating