1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 15:12:06 +00:00
This commit is contained in:
Jesse Hills
2025-09-13 10:12:49 +12:00
parent 6d427bec49
commit b6e0502203
3 changed files with 5 additions and 4 deletions

View File

@@ -71,6 +71,7 @@ CONFIG_SCHEMA = cv.All(
}
).extend(cv.polling_component_schema("60s")),
cv.has_at_most_one_key(CONF_PAGES, CONF_LAMBDA),
cv.only_with_esp_idf, # When trying to add library via platformio it breaks, using as an idf component works fine
)

View File

@@ -2,7 +2,7 @@
#include "esphome/core/application.h"
#ifdef USE_ESP32
#ifdef USE_ESP_IDF
#include "esphome/core/log.h"
@@ -73,4 +73,4 @@ void HOT EPDiyDisplay::draw_pixel_at(int x, int y, Color color) {
} // namespace esphome::epdiy
#endif // USE_ESP32
#endif // USE_ESP_IDF

View File

@@ -1,6 +1,6 @@
#pragma once
#ifdef USE_ESP32
#ifdef USE_ESP_IDF
#include "esphome/core/component.h"
@@ -60,4 +60,4 @@ class EPDiyDisplay : public display::Display {
} // namespace esphome::epdiy
#endif // USE_ESP32
#endif // USE_ESP_IDF