From fa5d6955a779006b625f3e7196f3c21a297ec7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Poczkodi?= Date: Thu, 29 Feb 2024 06:03:48 +0100 Subject: [PATCH] AUTO_LOAD = ["sensor"] maybe --- esphome/components/cc1101/__init__.py | 1 + esphome/components/cc1101/cc1101.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/cc1101/__init__.py b/esphome/components/cc1101/__init__.py index 8b2d3b1ef3..58a1e752c2 100644 --- a/esphome/components/cc1101/__init__.py +++ b/esphome/components/cc1101/__init__.py @@ -14,6 +14,7 @@ from esphome.const import ( ) DEPENDENCIES = ["spi"] +AUTO_LOAD = ["sensor"] CODEOWNERS = ["@gabest11"] diff --git a/esphome/components/cc1101/cc1101.cpp b/esphome/components/cc1101/cc1101.cpp index 814d34bc84..c308a85726 100644 --- a/esphome/components/cc1101/cc1101.cpp +++ b/esphome/components/cc1101/cc1101.cpp @@ -24,7 +24,6 @@ TODO: Libretiny? (USE_LIBRETINY) */ -#include "esphome/components/sensor/sensor.h" #include "esphome/core/helpers.h" #include "esphome/core/log.h" #include "cc1101.h"