Revert nextion clang-tidy changes (#2566)

This commit is contained in:
Otto Winter
2021-10-20 20:31:13 +02:00
committed by Jesse Hills
parent 996ec59d28
commit 3af297aa76
13 changed files with 78 additions and 70 deletions
@@ -8,10 +8,7 @@ namespace esphome {
namespace nextion {
class NextionSensor;
class NextionSensor : public NextionComponent,
public sensor::Sensor,
public PollingComponent,
public std::enable_shared_from_this<NextionSensor> {
class NextionSensor : public NextionComponent, public sensor::Sensor, public PollingComponent {
public:
NextionSensor(NextionBase *nextion) { this->nextion_ = nextion; }
void send_state_to_nextion() override { this->set_state(this->state, false, true); };