aboutsummaryrefslogtreecommitdiffhomepage
path: root/kauf-plf12-minimal.yaml
diff options
context:
space:
mode:
authorKaufHA <[email protected]>2023-02-20 13:31:04 -0700
committerKaufHA <[email protected]>2023-02-20 13:31:04 -0700
commit147a55b25bc3c2676098377516e1c2f40de3ce6c (patch)
treed06f97257d47335775a7e39cac7d2712786c9e88 /kauf-plf12-minimal.yaml
parent16561e77ab1cc6b76215f18ce37809cf450afa74 (diff)
downloadPLF12-147a55b25bc3c2676098377516e1c2f40de3ce6c.tar.gz
PLF12-147a55b25bc3c2676098377516e1c2f40de3ce6c.zip
fix substitutions
Diffstat (limited to 'kauf-plf12-minimal.yaml')
-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: