Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Oct 25, 2024
1 parent 10988b3 commit ea5890d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions components/tc_bus/tc_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
#include "esphome/core/helpers.h"
#include "esphome/core/log.h"

#ifdef USE_TEXT_SENSOR
#include "esphome/components/text_sensor/text_sensor.h"
#endif
#ifdef USE_BINARY_SENSOR
#include "esphome/components/binary_sensor/binary_sensor.h"
#endif
#ifdef USE_TEXT_SENSOR
#include "esphome/components/text_sensor/text_sensor.h"
#endif
#ifdef USE_SELECT
#include "esphome/components/select/select.h"
#endif
Expand Down Expand Up @@ -148,12 +148,14 @@ namespace esphome
ESPPreferenceObject pref_;
};

#ifdef USE_SELECT
class ModelSelect : public select::Select, public Parented<TCBusComponent> {
public:
ModelSelect() = default;
protected:
void control(const std::string &value) override;
};
#endif

} // namespace tc_bus

Expand Down

0 comments on commit ea5890d

Please sign in to comment.