Add friendly_name to make HA folks happy

This commit is contained in:
2025-05-09 21:01:58 +02:00
parent f552ea0f97
commit 9cc69d7ad2
70 changed files with 516 additions and 266 deletions

View File

@@ -6,6 +6,7 @@ substitutions:
esphome:
name: mcu-${device}
friendly_name: ${name}
area: ${area}
comment: ${comment}
@@ -28,7 +29,7 @@ binary_sensor:
number: GPIO0
mode: INPUT
inverted: True
name: "${name} Button"
name: Button
on_press:
- switch.toggle: relay
@@ -46,7 +47,7 @@ output:
switch:
- platform: gpio
name: "${name} Relay"
name: Relay
pin: GPIO12
id: relay
on_turn_on: