aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--kauf-plf12-minimal.yaml8
1 files 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: