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

@@ -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