Trying to fix test error for CustomAPIDevice

This commit is contained in:
Hareesh M U 2023-11-04 13:04:42 +00:00
parent 6f4fb305c8
commit 59499d1970

View file

@ -113,7 +113,7 @@ enum PeriodicDataValue : uint8_t { HEAD = 0XAA, END = 0x55, CHECK = 0x00 };
enum AckDataStructure : uint8_t { COMMAND = 6, COMMAND_STATUS = 7 };
class LD2450Component : public Component, public api::CustomAPIDevice, public uart::UARTDevice {
class LD2450Component : public Component, public uart::UARTDevice, public esphome::api::CustomAPIDevice {
#ifdef USE_SENSOR
SUB_SENSOR(target_count)
SUB_SENSOR(still_target_count)