From 147a55b25bc3c2676098377516e1c2f40de3ce6c Mon Sep 17 00:00:00 2001 From: KaufHA Date: Mon, 20 Feb 2023 13:31:04 -0700 Subject: fix substitutions --- kauf-plf12-minimal.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kauf-plf12-minimal.yaml b/kauf-plf12-minimal.yaml index 9370636..7c56c65 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: sub_red_led_pin + number: $sub_red_led_pin inverted: true @@ -99,7 +99,7 @@ binary_sensor: id: button name: $friendly_name Button pin: - number: sub_button_pin + number: $sub_button_pin mode: input: true pullup: true @@ -121,14 +121,14 @@ switch: - platform: gpio id: blue_led pin: - number: sub_blue_led_pin + number: $sub_blue_led_pin inverted: true # relay output - platform: gpio id: relay name: $friendly_name - pin: sub_relay_pin + pin: $sub_relay_pin # automatically make blue led equal relay state on_turn_on: -- cgit v1.2.3