From dd1f0b229d4c64bbf4c1d652b78d52068f883cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Poczkodi?= Date: Thu, 29 Feb 2024 05:29:30 +0100 Subject: [PATCH] sensor.h last try for now --- esphome/components/cc1101/cc1101.cpp | 1 + esphome/components/cc1101/cc1101.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/components/cc1101/cc1101.cpp b/esphome/components/cc1101/cc1101.cpp index c308a85726..814d34bc84 100644 --- a/esphome/components/cc1101/cc1101.cpp +++ b/esphome/components/cc1101/cc1101.cpp @@ -24,6 +24,7 @@ TODO: Libretiny? (USE_LIBRETINY) */ +#include "esphome/components/sensor/sensor.h" #include "esphome/core/helpers.h" #include "esphome/core/log.h" #include "cc1101.h" diff --git a/esphome/components/cc1101/cc1101.h b/esphome/components/cc1101/cc1101.h index f4b9497e5b..db0179b361 100644 --- a/esphome/components/cc1101/cc1101.h +++ b/esphome/components/cc1101/cc1101.h @@ -1,7 +1,7 @@ #pragma once #include "esphome/core/component.h" -//#include "esphome/components/sensor/sensor.h" +#include "esphome/components/sensor/sensor.h" #include "esphome/components/spi/spi.h" namespace esphome {