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,7 +1,6 @@
|
||||
substitutions:
|
||||
device: nspanel-office-r
|
||||
name: Office R NSPanel
|
||||
name_short: Office R
|
||||
area: Office R
|
||||
comment: "${area} | NSPanel"
|
||||
panel_recv_topic: "tele/${device}/RESULT"
|
||||
@@ -11,6 +10,7 @@ substitutions:
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
friendly_name: ${name}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
on_boot:
|
||||
@@ -196,7 +196,7 @@ time:
|
||||
|
||||
binary_sensor:
|
||||
# - platform: gpio
|
||||
# name: ${name} Left Button
|
||||
# name: Left Button
|
||||
# pin:
|
||||
# number: 14
|
||||
# inverted: true
|
||||
@@ -204,7 +204,7 @@ binary_sensor:
|
||||
# - switch.toggle: relay_1
|
||||
|
||||
# - platform: gpio
|
||||
# name: ${name} Right Button
|
||||
# name: Right Button
|
||||
# pin:
|
||||
# number: 27
|
||||
# inverted: true
|
||||
@@ -216,7 +216,7 @@ binary_sensor:
|
||||
# data:
|
||||
# entity_id: light.office_r_desk_strip
|
||||
- platform: gpio
|
||||
name: ${name} Left Button
|
||||
name: Left Button
|
||||
pin:
|
||||
number: 14
|
||||
inverted: true
|
||||
@@ -232,7 +232,7 @@ binary_sensor:
|
||||
# - lambda: 'id(nspanel_id).send_custom_command("event,buttonPress1,navigate.cardGrid_main,button");'
|
||||
|
||||
- platform: gpio
|
||||
name: ${name} Right Button
|
||||
name: Right Button
|
||||
pin:
|
||||
number: 27
|
||||
inverted: true
|
||||
@@ -260,7 +260,7 @@ output:
|
||||
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
name: "${name_short} Presence Light"
|
||||
name: Presence Light
|
||||
id: neo
|
||||
rgb_order: GRB
|
||||
pin: 23
|
||||
@@ -278,26 +278,26 @@ light:
|
||||
transition_length: 2s # defaults to 1s
|
||||
update_interval: 2s
|
||||
- platform: binary
|
||||
name: ${name_short} Light
|
||||
name: Light
|
||||
id: light_1
|
||||
output: relay_1
|
||||
# # - platform: binary
|
||||
# # name: ${name_full} Relay 2
|
||||
# # name: Relay 2
|
||||
# # output: relay_2
|
||||
|
||||
switch:
|
||||
# - platform: gpio
|
||||
# name: ${name_short} Light
|
||||
# name: Light
|
||||
# id: relay_1
|
||||
# pin:
|
||||
# number: 22
|
||||
- platform: gpio
|
||||
# name: ${name_full} Relay 2
|
||||
# name: Relay 2
|
||||
id: relay_2
|
||||
pin:
|
||||
number: 19
|
||||
- platform: gpio
|
||||
name: ${name} Screen Power
|
||||
name: Screen Power
|
||||
id: screen_power
|
||||
entity_category: config
|
||||
pin:
|
||||
@@ -327,7 +327,7 @@ sensor:
|
||||
b_constant: 3950
|
||||
reference_temperature: 22°C
|
||||
reference_resistance: 10kOhm
|
||||
name: "${name_short} Temperature"
|
||||
name: Temperature
|
||||
- platform: template
|
||||
id: room_temperature_id
|
||||
|
||||
@@ -335,7 +335,7 @@ sensor:
|
||||
|
||||
# text_sensor:
|
||||
# - platform: ble_scanner
|
||||
# name: "${name_short} BLE Scanner"
|
||||
# name: BLE Scanner
|
||||
|
||||
# esp32_ble_beacon:
|
||||
# type: iBeacon
|
||||
|
||||
Reference in New Issue
Block a user