Update includes

This commit is contained in:
Djordje 2024-11-14 16:48:39 +01:00
parent 6524cc2f51
commit d42ea77f2d
5 changed files with 2 additions and 6 deletions

View file

@ -15,7 +15,6 @@
#include "esphome/components/climate/climate.h"
// IR
#include "esphome/components/midea_ir/midea_data.h"
#include "ir_transmitter.h"
namespace esphome {

View file

@ -3,6 +3,7 @@
#ifdef USE_ARDUINO
#ifdef USE_REMOTE_TRANSMITTER
#include "esphome/components/remote_base/midea_protocol.h"
#include "esphome/components/midea_ir/midea_data.h"
namespace esphome {
namespace midea {

View file

@ -0,0 +1 @@
AUTO_LOAD = ["climate_ir", "coolix"]

View file

@ -3,7 +3,6 @@ import esphome.config_validation as cv
from esphome.components import climate_ir
from esphome.const import CONF_ID, CONF_USE_FAHRENHEIT
AUTO_LOAD = ["climate_ir", "coolix"]
CODEOWNERS = ["@dudanov"]
midea_ir_ns = cg.esphome_ns.namespace("midea_ir")

View file

@ -1,7 +1,5 @@
#pragma once
//#ifdef USE_REMOTE_TRANSMITTER
#include "esphome/components/remote_base/midea_protocol.h"
#include "esphome/components/climate/climate_mode.h"
#include "esphome/core/helpers.h"
@ -124,5 +122,3 @@ class SpecialData : public MideaData {
} // namespace midea_ir
} // namespace esphome
//#endif // USE_REMOTE_TRANSMITTER