mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 11:44:13 +01:00
2059283707
* 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>
10 lines
350 B
Python
10 lines
350 B
Python
import esphome.codegen as cg
|
|
|
|
KEY_ESP8266 = "esp8266"
|
|
KEY_BOARD = "board"
|
|
KEY_PIN_INITIAL_STATES = "pin_initial_states"
|
|
CONF_RESTORE_FROM_FLASH = "restore_from_flash"
|
|
CONF_EARLY_PIN_INIT = "early_pin_init"
|
|
|
|
# esp8266 namespace is already defined by arduino, manually prefix esphome
|
|
esp8266_ns = cg.global_ns.namespace("esphome").namespace("esp8266")
|