mirror of
https://github.com/esphome/esphome.git
synced 2026-09-29 07:50:21 +00:00
3a9bc34bc94b69a06a6232a3783ca1d9ebe88abd
__init__.py new interface config is already guarded by config[CONF_TYPE] in SPI_ETHERNET_TYPES in (only) such cases, _validate will provide a default if one not in config _final_validate will use this to check for collision with spi component to_code will generate #define USE_ETHERNET_SPI ethernet_component.cpp #ifdef USE_ETHERNET_SPI is the guard we want. we don't need (and don't want) #ifdef ESP-IDF ethernet_component.h no need for using SPIInterface = spi_host_device_t; just use spi_host_device_t remove ESP_IDF guards they are all nested under USE_ETHERNET_SPI guards
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
564 MiB
Languages
C++
55.2%
Python
44.2%
C
0.3%
JavaScript
0.2%
