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}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user