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 {