aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufman Home Automation <[email protected]>2022-04-27 09:58:46 -0700
committerGitHub <[email protected]>2022-04-27 09:58:46 -0700
commit5b570b1f87a9a5fb0fd226660e696a5e83fcf51f (patch)
treead1d26f4c31850c4ae47c2f360a099ef42ccabfe
parentb5bec278e791dbf3fdf76f928ac0119f847607e0 (diff)
downloadPLF10-5b570b1f87a9a5fb0fd226660e696a5e83fcf51f.tar.gz
PLF10-5b570b1f87a9a5fb0fd226660e696a5e83fcf51f.zip
use modern pin mode definition
-rw-r--r--kauf-plug.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kauf-plug.yaml b/kauf-plug.yaml
index 83c61c8..31b12e7 100644
--- a/kauf-plug.yaml
+++ b/kauf-plug.yaml
@@ -173,7 +173,9 @@ binary_sensor:
name: $friendly_name Button
pin:
number: GPIO13
- mode: INPUT_PULLUP
+ mode:
+ input: true
+ pullup: true
inverted: true
entity_category: ''
on_press: