28 lines
468 B
YAML
28 lines
468 B
YAML
|
|
esphome:
|
||
|
|
name: ${device_id}
|
||
|
|
name_add_mac_suffix: true
|
||
|
|
friendly_name: "${device_name}"
|
||
|
|
project:
|
||
|
|
name: "${project_name}"
|
||
|
|
version: "${project_version}"
|
||
|
|
|
||
|
|
# https://templates.blakadder.com/wemos_D1_Mini_ESP32.html
|
||
|
|
esp32:
|
||
|
|
board: wemos_d1_mini32
|
||
|
|
framework:
|
||
|
|
type: esp-idf
|
||
|
|
|
||
|
|
api:
|
||
|
|
encryption:
|
||
|
|
key: !secret api_key
|
||
|
|
|
||
|
|
output:
|
||
|
|
- id: led0_out
|
||
|
|
platform: gpio
|
||
|
|
pin: 2
|
||
|
|
|
||
|
|
light:
|
||
|
|
- platform: binary
|
||
|
|
id: led0
|
||
|
|
name: "LED"
|
||
|
|
output: led0_out
|