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}
@@ -87,20 +88,20 @@ switch:
mode: OUTPUT
inverted: true
- platform: gpio
name: "${name} Socket"
name: Socket
id: socket_relay
pin:
pca9554: pca9554_module
number: 4
mode: OUTPUT
- platform: gpio
name: "Garden Light"
name: Garden Light
id: garden_light_relay
pin:
number: 22
mode: OUTPUT
- platform: gpio
name: "${name} Light"
name: Light
id: shed_light_relay
pin:
number: 19