From 16561e77ab1cc6b76215f18ce37809cf450afa74 Mon Sep 17 00:00:00 2001 From: KaufHA Date: Mon, 20 Feb 2023 12:59:21 -0700 Subject: fix lite package order and minimal gpio subs --- .gitignore | 1 + kauf-plf12-lite.yaml | 2 +- kauf-plf12-minimal.yaml | 8 ++++---- 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: -- cgit v1.2.3