aboutsummaryrefslogtreecommitdiffhomepage
path: root/kauf-plug.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kauf-plug.yaml')
-rw-r--r--kauf-plug.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/kauf-plug.yaml b/kauf-plug.yaml
index a05fdd8..4d35745 100644
--- a/kauf-plug.yaml
+++ b/kauf-plug.yaml
@@ -643,9 +643,15 @@ select:
// set button config select entity based on press/release/disabled
auto call_sel = id(select_button).make_call();
- if ( i == 1 ) { call_sel.set_option("Don't Toggle"); }
+ if ( i == 1 ) {
+ call_sel.set_option("Don't Toggle");
+ id(select_button).set_initial_option("Don't Toggle");
+ }
else if ( i >= 5 ) { call_sel.set_option("Toggle on Release"); }
- else { call_sel.set_option("Toggle on Press"); }
+ else {
+ call_sel.set_option("Toggle on Press");
+ id(select_button).set_initial_option("Toggle on Press");
+ }
call_sel.perform();
// set number_debounce if configured for longer than 100ms.