aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--kauf-plug-minimal.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kauf-plug-minimal.yaml b/kauf-plug-minimal.yaml
index efe3f6f..f1beb76 100644
--- a/kauf-plug-minimal.yaml
+++ b/kauf-plug-minimal.yaml
@@ -70,7 +70,9 @@ binary_sensor:
name: Kauf Plug Button
pin:
number: GPIO13
- mode: INPUT_PULLUP
+ mode:
+ input: true
+ pullup: true
inverted: true
on_press: