Files
esphome-configs/mcu-basement-2.yaml
Roman Priesol 7c9aae0a7d Fix trailing spaces and missing newlines in all mcu-*.yaml files
Bulk cleanup: remove trailing whitespace and ensure files end with a
newline. Structural issues (indentation, bracket spacing) left for
per-file fixes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-19 11:22:12 +01:00

52 lines
912 B
YAML

substitutions:
device: basement-2
name_short: Basement
name: Basement 2
area: Basement
comment: "${area} | Lights"
esphome:
name: mcu-${device}
friendly_name: ${name}
area: ${area}
comment: ${comment}
esp8266:
board: esp01_1m
packages:
common: !include common/common_esp8266.yaml
# Sonoff Dual R2
# GPIO10 Push Button
# GPIO00 Pin "button 0" on expansion header
# GPIO09 Pin "button 1" on expansion header
# GPIO12 Relay #1 and red color on LED
# GPIO05 Relay #2 and green color on LED
# GPIO13 Blue Status LED
status_led:
pin:
number: 13
inverted: yes
light:
- platform: binary
name: Light
id: light_1
output: relay_1
restore_mode: ALWAYS_ON
- platform: binary
name: Workbench Light
id: light_2
output: relay_2
restore_mode: ALWAYS_ON
output:
- platform: gpio
pin: 12
id: relay_1
- platform: gpio
pin: 5
id: relay_2