aboutsummaryrefslogtreecommitdiffhomepage
path: root/kauf-plug-minimal.yaml
diff options
context:
space:
mode:
authorKaufman Home Automation <[email protected]>2022-04-27 10:00:09 -0700
committerGitHub <[email protected]>2022-04-27 10:00:09 -0700
commited72e599b8d2c91ac57a4069b8accda2e9385c85 (patch)
tree0d869e63b971094b9a9a5aeaad03daf33f1b642a /kauf-plug-minimal.yaml
parent5b570b1f87a9a5fb0fd226660e696a5e83fcf51f (diff)
downloadPLF10-ed72e599b8d2c91ac57a4069b8accda2e9385c85.tar.gz
PLF10-ed72e599b8d2c91ac57a4069b8accda2e9385c85.zip
modernize pin definition
Diffstat (limited to 'kauf-plug-minimal.yaml')
-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: