Unified device setup / descriptors / variables. Purely cosmetic ;-)
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
substitutions:
|
||||
name: "sleepingroom"
|
||||
friendly_name: "Luftqualität Schlafzimmer"
|
||||
|
||||
esphome:
|
||||
name: sleepingroom
|
||||
platform: ESP32
|
||||
board: nodemcu-32s
|
||||
|
||||
name: ${name}
|
||||
friendly_name: ${friendly_name}
|
||||
name_add_mac_suffix: false
|
||||
project:
|
||||
name: sensor.${name}
|
||||
version: "1.0"
|
||||
min_version: 2021.9.0
|
||||
on_boot:
|
||||
then:
|
||||
- light.turn_on:
|
||||
@@ -41,10 +48,15 @@ esphome:
|
||||
id: pm25_warn
|
||||
state: "grün"
|
||||
|
||||
esp32:
|
||||
board: nodemcu-32s
|
||||
framework:
|
||||
type: arduino
|
||||
|
||||
wifi:
|
||||
ssid: "Voltage-legacy"
|
||||
password: !secret voltage_legacy_psk
|
||||
use_address: sleepingroom.home
|
||||
use_address: ${name}.home
|
||||
power_save_mode: high
|
||||
fast_connect: on
|
||||
|
||||
|
Reference in New Issue
Block a user