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:
@@ -6,6 +6,7 @@ substitutions:
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
friendly_name: ${name}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
on_boot:
|
||||
@@ -85,14 +86,14 @@ pca9685:
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
name: "${name} Status Button"
|
||||
name: Status Button
|
||||
filters:
|
||||
- invert:
|
||||
pin: 39
|
||||
|
||||
light:
|
||||
# - platform: esp32_rmt_led_strip
|
||||
# name: "${name} Status Light"
|
||||
# name: Status Light
|
||||
# id: neo
|
||||
# rgb_order: GRB
|
||||
# pin: 27
|
||||
@@ -101,7 +102,7 @@ light:
|
||||
# chipset: ws2812
|
||||
# restore_mode: ALWAYS_OFF
|
||||
- platform: cwww
|
||||
name: "${name} Light 1"
|
||||
name: Light 1
|
||||
id: light_1
|
||||
default_transition_length: 200ms
|
||||
restore_mode: ALWAYS_ON
|
||||
@@ -110,7 +111,7 @@ light:
|
||||
cold_white_color_temperature: 6536 K
|
||||
warm_white_color_temperature: 2000 K
|
||||
- platform: cwww
|
||||
name: "${name} Light 2"
|
||||
name: Light 2
|
||||
id: light_2
|
||||
default_transition_length: 200ms
|
||||
restore_mode: ALWAYS_ON
|
||||
@@ -119,7 +120,7 @@ light:
|
||||
cold_white_color_temperature: 6536 K
|
||||
warm_white_color_temperature: 2000 K
|
||||
- platform: cwww
|
||||
name: "${name} Light 3"
|
||||
name: Light 3
|
||||
id: light_3
|
||||
default_transition_length: 200ms
|
||||
restore_mode: ALWAYS_ON
|
||||
@@ -128,7 +129,7 @@ light:
|
||||
cold_white_color_temperature: 6536 K
|
||||
warm_white_color_temperature: 2000 K
|
||||
- platform: cwww
|
||||
name: "${name} Light 4"
|
||||
name: Light 4
|
||||
id: light_4
|
||||
default_transition_length: 200ms
|
||||
restore_mode: ALWAYS_ON
|
||||
@@ -201,6 +202,6 @@ power_supply:
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
name: "${name} Relay"
|
||||
name: Relay
|
||||
id: relay_2
|
||||
pin: 19
|
||||
|
||||
Reference in New Issue
Block a user