This commit is contained in:
Tomasz Duda 2024-10-16 23:13:10 +02:00
parent 8b58df23b6
commit de470a296e
3 changed files with 2 additions and 5 deletions

View file

@ -1,5 +1,4 @@
#include "sensor_mlx90393.h" #include "sensor_mlx90393.h"
#if defined(USE_ARDUINO) || defined(USE_ESP_IDF)
#include "esphome/core/log.h" #include "esphome/core/log.h"
namespace esphome { namespace esphome {
@ -90,4 +89,3 @@ void MLX90393Cls::update() {
} // namespace mlx90393 } // namespace mlx90393
} // namespace esphome } // namespace esphome
#endif

View file

@ -1,6 +1,5 @@
#pragma once #pragma once
#include "esphome/core/defines.h"
#if defined(USE_ARDUINO) || defined(USE_ESP_IDF)
#include "esphome/core/component.h" #include "esphome/core/component.h"
#include "esphome/components/sensor/sensor.h" #include "esphome/components/sensor/sensor.h"
#include "esphome/components/i2c/i2c.h" #include "esphome/components/i2c/i2c.h"
@ -58,4 +57,3 @@ class MLX90393Cls : public PollingComponent, public i2c::I2CDevice, public MLX90
} // namespace mlx90393 } // namespace mlx90393
} // namespace esphome } // namespace esphome
#endif

View file

@ -208,6 +208,7 @@ lib_deps =
lvgl/lvgl@8.4.0 ; lvgl lvgl/lvgl@8.4.0 ; lvgl
pavlodn/HaierProtocol@0.9.31 ; haier pavlodn/HaierProtocol@0.9.31 ; haier
https://github.com/Sensirion/arduino-gas-index-algorithm.git#3.2.1 ; Sensirion Gas Index Algorithm Arduino Library https://github.com/Sensirion/arduino-gas-index-algorithm.git#3.2.1 ; Sensirion Gas Index Algorithm Arduino Library
functionpointer/arduino-MLX90393@1.0.2 ; mlx90393
; All the actual environments are defined below. ; All the actual environments are defined below.