mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-01-02 11:37:28 +01:00
Add friendly_name to make HA folks happy
This commit is contained in:
@@ -7,6 +7,7 @@ substitutions:
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
friendly_name: ${name}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
|
||||
@@ -48,13 +49,13 @@ i2c:
|
||||
|
||||
binary_sensor:
|
||||
# - platform: gpio
|
||||
# name: ${name} On-Board Button
|
||||
# name: On-Board Button
|
||||
# id: button_buildin
|
||||
# pin:
|
||||
# number: 39
|
||||
# inverted: true
|
||||
- platform: gpio
|
||||
name: ${name} Button
|
||||
name: Button
|
||||
id: button_ext
|
||||
pin:
|
||||
number: 12
|
||||
@@ -72,10 +73,10 @@ light:
|
||||
# pin: 27
|
||||
# variant: WS2812
|
||||
# num_leds: 1
|
||||
# name: "${name} On-Board LED"
|
||||
# name: On-Board LED"
|
||||
# id: neo_buildin
|
||||
- platform: rgb
|
||||
name: "${name} Light"
|
||||
name: Light
|
||||
id: led_light
|
||||
red: led_red
|
||||
green: led_green
|
||||
@@ -130,7 +131,7 @@ speaker:
|
||||
media_player:
|
||||
- platform: speaker
|
||||
id: media_out
|
||||
name: ${name} Player
|
||||
name: Player
|
||||
media_pipeline:
|
||||
speaker: media_spk_resampling_input
|
||||
announcement_pipeline:
|
||||
|
||||
Reference in New Issue
Block a user