1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Early pin init (#3439)

* Added early_pin_init configuration parameter for ESP8266 platform

* Added #include to core

* Updated test3.yaml to include early_pin_init parameter

Co-authored-by: Rainer Oellermann <ro@playplaycode.com>
This commit is contained in:
rainero84
2022-05-09 07:21:43 +02:00
committed by GitHub
parent 8e3af515c9
commit 2059283707
4 changed files with 13 additions and 2 deletions

View File

@@ -1,8 +1,6 @@
esphome:
name: $device_name
comment: $device_comment
platform: ESP8266
board: d1_mini
build_path: build/test3
on_boot:
- if:
@@ -15,6 +13,10 @@ esphome:
includes:
- custom.h
esp8266:
board: d1_mini
early_pin_init: True
substitutions:
device_name: test3
device_comment: test3 device