From 7d746d756daf56099628cb91cf91deea634f20a7 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Wed, 5 Oct 2022 04:49:03 +0200 Subject: [PATCH] Added possibility to save script and automation using UI --- automations.yaml | 1 + configuration.yaml | 6 ++++-- scripts.yaml | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 automations.yaml create mode 100644 scripts.yaml diff --git a/automations.yaml b/automations.yaml new file mode 100644 index 00000000..fe51488c --- /dev/null +++ b/automations.yaml @@ -0,0 +1 @@ +[] diff --git a/configuration.yaml b/configuration.yaml index cef7c457..52178d2b 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -44,7 +44,8 @@ http: ###################################################################### # Automations -automation: !include_dir_merge_list automations/ +automation: !include automations.yaml +automation manual: !include_dir_merge_list automations/ # Home Assistant Cloud # cloud: @@ -91,7 +92,8 @@ person: #scene: !include_dir_merge_list scenes.yaml # Scripts -script: !include_dir_merge_named scripts/ +script: !include scripts.yaml +script manual: !include_dir_merge_named scripts/ # Stream #stream: diff --git a/scripts.yaml b/scripts.yaml new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/scripts.yaml @@ -0,0 +1 @@ +{} -- 2.47.3