Use existing packages in empty board configs

This commit is contained in:
2023-10-05 20:59:30 +02:00
parent f1d1522e31
commit b8e91aa950
2 changed files with 12 additions and 20 deletions
+6 -10
View File
@@ -1,16 +1,12 @@
# To bootstrap and then use OTA to flash firmware. # To bootstrap and then use OTA to flash firmware.
esp32:
board: esp32doit-devkit-v1
esphome: esphome:
name: empty32 name: empty32
name_add_mac_suffix: true name_add_mac_suffix: true
esp32: packages:
board: esp32doit-devkit-v1 wifi: !include ../templates/wifi.yaml
ota: !include ../templates/ota.yaml
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
domain: ""
+6 -10
View File
@@ -1,16 +1,12 @@
# To bootstrap and then use OTA to flash firmware. # To bootstrap and then use OTA to flash firmware.
esp8266:
board: nodemcuv2
esphome: esphome:
name: empty8266 name: empty8266
name_add_mac_suffix: true name_add_mac_suffix: true
esp8266: packages:
board: nodemcuv2 wifi: !include ../templates/wifi.yaml
ota: !include ../templates/ota.yaml
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
domain: ""