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:
@@ -1,11 +1,12 @@
|
||||
substitutions:
|
||||
device: desk-lamp
|
||||
name: Mi Desk Lamp
|
||||
name: Desk Lamp
|
||||
area: Room
|
||||
comment: "${area} | Desk lamp"
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
friendly_name: ${name}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
|
||||
@@ -49,7 +50,7 @@ binary_sensor:
|
||||
|
||||
light:
|
||||
- platform: cwww
|
||||
name: "${name} Light"
|
||||
name: Light
|
||||
id: mi_desk_light
|
||||
gamma_correct: 1
|
||||
default_transition_length: 100ms
|
||||
|
||||
Reference in New Issue
Block a user