aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufman Home Automation <[email protected]>2022-03-25 16:35:14 -0700
committerGitHub <[email protected]>2022-03-25 16:35:14 -0700
commit2b615013112841a1d9e30c3e69ab4e47084f5238 (patch)
treec4f71c072ded8810345d4ef0c4f20a9a49864b65
parentf7dfdae6e7e3916325a2ea78e3a1a50493ab4b3e (diff)
downloadPLF10-2b615013112841a1d9e30c3e69ab4e47084f5238.tar.gz
PLF10-2b615013112841a1d9e30c3e69ab4e47084f5238.zip
fix update yamlv1.88
-rw-r--r--kauf-plug-update.yaml21
1 files changed, 9 insertions, 12 deletions
diff --git a/kauf-plug-update.yaml b/kauf-plug-update.yaml
index 3edcb7b..5183463 100644
--- a/kauf-plug-update.yaml
+++ b/kauf-plug-update.yaml
@@ -1,5 +1,11 @@
substitutions:
- project_ver_let: "u"
+ project_ver_let: u
+
+ # use hold instead of press for toggle action
+ sub_on_press: script_timer_start
+ sub_on_release: script_timer_stop
+ sub_on_release_quick: script_toggle
+ sub_on_release_short: script_toggle
packages:
kauf_plug_base:
@@ -12,15 +18,6 @@ dashboard_import:
package_import_url: github://KaufHA/PLF10/kauf-plug.yaml
-substitutions:
-
- # use hold instead of press for toggle action
- sub_on_press: script_timer_start
- sub_on_release: script_timer_stop
- sub_on_release_quick: script_toggle
- sub_on_release_short: script_toggle
-
-
esphome:
name_add_mac_suffix: true
@@ -29,7 +26,7 @@ esphome:
# wait until ESPHome tries loading wifi credentials
- wait_until:
- lambda: 'return ( wifi_wificomponent->tried_loading_creds );'
+ lambda: return ( wifi_wificomponent->tried_loading_creds );
# enable AP if credentials couldn't be loaded or force_ap is set
- lambda: |-
@@ -116,6 +113,6 @@ button:
disabled_by_default: true
on_press:
then:
- - lambda: 'wifi_wificomponent->clear_stored_creds();'
+ - lambda: wifi_wificomponent->clear_stored_creds();
- delay: 2s
- button.press: restart_button