Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Feb 5, 2025
1 parent 1aeb970 commit c224cea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion components/tc_bus/tc_bus.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "protocol.h"
#include "tc_bus.h"

#include "esphome.h"
#include "esphome/core/application.h"
#include "esphome/core/defines.h"
#include "esphome/core/log.h"
Expand Down
6 changes: 5 additions & 1 deletion components/tc_bus/tc_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include "protocol.h"

#include "esphome.h"
#include "esphome/core/application.h"
#include "esphome/core/defines.h"
#include "esphome/core/log.h"
Expand Down Expand Up @@ -31,6 +30,7 @@
#include "esphome/components/number/number.h"
#endif


namespace esphome
{
namespace tc_bus
Expand Down Expand Up @@ -80,7 +80,11 @@ namespace esphome
uint32_t serial_number;
};

#ifdef USE_API
class TCBusComponent : public Component, public remote_base::RemoteReceiverListener, public esphome::api::CustomAPIDevice
#else
class TCBusComponent : public Component, public remote_base::RemoteReceiverListener
#endif
{
#ifdef USE_TEXT_SENSOR
SUB_TEXT_SENSOR(bus_command)
Expand Down

0 comments on commit c224cea

Please sign in to comment.