aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufman Home Automation <[email protected]>2022-04-27 10:01:33 -0700
committerGitHub <[email protected]>2022-04-27 10:01:33 -0700
commit9811de82a5e7f5f9d52e55e8f9f34a1ab1fb239f (patch)
tree94ed540b456b3ccd7419eab5932b9d7fcdde4a55
parented72e599b8d2c91ac57a4069b8accda2e9385c85 (diff)
downloadPLF10-9811de82a5e7f5f9d52e55e8f9f34a1ab1fb239f.tar.gz
PLF10-9811de82a5e7f5f9d52e55e8f9f34a1ab1fb239f.zip
modernize pin definition
-rw-r--r--kauf-plug-lite.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kauf-plug-lite.yaml b/kauf-plug-lite.yaml
index 18623a7..a0e7949 100644
--- a/kauf-plug-lite.yaml
+++ b/kauf-plug-lite.yaml
@@ -133,7 +133,9 @@ binary_sensor:
name: $friendly_name Button
pin:
number: GPIO13
- mode: INPUT_PULLUP
+ mode:
+ input: true
+ pullup: true
inverted: true
entity_category: ''
on_press: