mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-01-02 19:47:29 +01:00
Add friendly_name to make HA folks happy
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
substitutions:
|
||||
device: staircase-light
|
||||
name: Staircase Light
|
||||
name: Staircase
|
||||
area: Staircase
|
||||
comment: "${area} | Light"
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
friendly_name: ${name}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
|
||||
@@ -63,7 +64,7 @@ output:
|
||||
|
||||
light:
|
||||
- platform: binary
|
||||
name: "${name}"
|
||||
name: Light
|
||||
id: light_relay
|
||||
output: relay
|
||||
restore_mode: ALWAYS_ON
|
||||
|
||||
Reference in New Issue
Block a user