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

@@ -7,6 +7,7 @@ substitutions:
esphome:
name: mcu-${device}
friendly_name: ${name}
area: ${area}
comment: ${comment}
@@ -172,7 +173,7 @@ ota:
light:
- platform: xiaomi_bslamp2
id: my_light
name: ${name}
name: Light
default_transition_length: ${default_transition_length}
# When the brightness changes, update the front panel illumination.
@@ -291,7 +292,7 @@ sensor:
# The possible light modes are: "off", "rgb", "white" and "night".
text_sensor:
- platform: xiaomi_bslamp2
# name: ${name} Light Mode
# name: Light Mode
id: my_light_mode
output: