aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufHA <[email protected]>2023-02-20 12:59:21 -0700
committerKaufHA <[email protected]>2023-02-20 12:59:21 -0700
commit16561e77ab1cc6b76215f18ce37809cf450afa74 (patch)
tree148bfaa0fdb0540b350074d8cd1b861c332e33fa
parente22ae8eafe424bb8a1f28b556ca3e82bf22d089a (diff)
downloadPLF12-16561e77ab1cc6b76215f18ce37809cf450afa74.tar.gz
PLF12-16561e77ab1cc6b76215f18ce37809cf450afa74.zip
fix lite package order and minimal gpio subs
-rw-r--r--.gitignore1
-rw-r--r--kauf-plf12-lite.yaml2
-rw-r--r--kauf-plf12-minimal.yaml8
3 files changed, 6 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index d8b4157..499bc3b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
# You can modify this file to suit your needs.
/.esphome/
/secrets.yaml
+kauf-plf12-test.yaml
diff --git a/kauf-plf12-lite.yaml b/kauf-plf12-lite.yaml
index 174a54a..a0766b9 100644
--- a/kauf-plf12-lite.yaml
+++ b/kauf-plf12-lite.yaml
@@ -1,3 +1,3 @@
packages:
- Kauf.PLF12-Base: github://KaufHA/PLF12/kauf-plf12-base.yaml
Kauf.PLF10: github://KaufHA/PLF10/kauf-plug-lite.yaml
+ Kauf.PLF12-Base: github://KaufHA/PLF12/kauf-plf12-base.yaml
diff --git a/kauf-plf12-minimal.yaml b/kauf-plf12-minimal.yaml
index 995abee..9370636 100644
--- a/kauf-plf12-minimal.yaml
+++ b/kauf-plf12-minimal.yaml
@@ -86,7 +86,7 @@ ota: # https://esphome.io/components/ota.html
# red led, blink when not connected to wifi or Home Assistant
status_led:
pin:
- number: GPIO0
+ number: sub_red_led_pin
inverted: true
@@ -99,7 +99,7 @@ binary_sensor:
id: button
name: $friendly_name Button
pin:
- number: GPIO13
+ number: sub_button_pin
mode:
input: true
pullup: true
@@ -121,14 +121,14 @@ switch:
- platform: gpio
id: blue_led
pin:
- number: GPIO2
+ number: sub_blue_led_pin
inverted: true
# relay output
- platform: gpio
id: relay
name: $friendly_name
- pin: GPIO4
+ pin: sub_relay_pin
# automatically make blue led equal relay state
on_turn_on: