mirror of
https://github.com/GrKoR/esphome_aux_ac_component.git
synced 2025-12-06 03:26:56 +03:00
feat: support esp-idf
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
/// немного переработанная версия старого компонента
|
||||
#pragma once
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <stdarg.h>
|
||||
#ifndef F
|
||||
#define F(string_literal) (string_literal)
|
||||
#endif
|
||||
|
||||
#include "esphome.h"
|
||||
#include "esphome/components/binary_sensor/binary_sensor.h"
|
||||
@@ -16,6 +18,8 @@
|
||||
#include "esphome/core/component.h"
|
||||
#include "esphome/core/helpers.h"
|
||||
|
||||
using String = std::string;
|
||||
|
||||
// весь функционал сохранения пресетов прячу под дефайн
|
||||
// #define PRESETS_SAVING
|
||||
#ifdef PRESETS_SAVING
|
||||
|
||||
Reference in New Issue
Block a user