Add config for empty esp01s (relay controller)

This commit is contained in:
2023-10-05 21:03:48 +02:00
parent b8e91aa950
commit f544131865
+18
View File
@@ -0,0 +1,18 @@
# To bootstrap and then use OTA to flash firmware.
esp8266:
board: esp01_1m
esphome:
name: empty01s
name_add_mac_suffix: true
packages:
wifi: !include ../templates/wifi.yaml
ota: !include ../templates/ota.yaml
switch:
- platform: gpio
pin: GPIO0
name: "Relay"
inverted: true