aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufHA <[email protected]>2022-06-24 17:08:30 -0700
committerKaufHA <[email protected]>2022-06-24 17:08:30 -0700
commitd3adc553c0ae8b748ef79455152ea0d4144ea9ba (patch)
tree7881c6694dcf22e056448dcd8d62fda4ccebc10c
parent5135bcf81e401bc629b737eb74e8a44fd63528b3 (diff)
downloadPLF10-d3adc553c0ae8b748ef79455152ea0d4144ea9ba.tar.gz
PLF10-d3adc553c0ae8b748ef79455152ea0d4144ea9ba.zip
common reset script across all settings
-rw-r--r--.gitignore4
-rw-r--r--kauf-plug.yaml5
2 files changed, 5 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index d218b6c..09289e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,5 @@
.esphome
+secrets.yaml
+kauf-plug-test.yaml
+kauf-plug-old.yaml
+
diff --git a/kauf-plug.yaml b/kauf-plug.yaml
index 767056d..e671626 100644
--- a/kauf-plug.yaml
+++ b/kauf-plug.yaml
@@ -753,10 +753,7 @@ select:
forced_addr: 0
global_addr: global_forced_addr
set_action:
- - delay: 1s
- - lambda: global_preferences->sync();
- - delay: 2s
- - button.press: restart_button
+ - script.execute: script_setting_reboot
on_value:
- lambda: |-
if ( !id(global_has_powermode) ) {