Fix incorrect preprocessor check

This commit is contained in:
Oxan van Leeuwen
2023-02-09 17:53:54 +01:00
committed by GitHub
parent 487d02f303
commit 53a7260e01

View File

@@ -23,7 +23,7 @@
#ifdef USE_BINARY_SENSOR
#include "esphome/components/binary_sensor/binary_sensor.h"
#endif
#ifdef USE_BINARY_SENSOR
#ifdef USE_SENSOR
#include "esphome/components/sensor/sensor.h"
#endif