mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-05 20:38:27 +02:00
Lint
This commit is contained in:
@@ -8,11 +8,8 @@
|
||||
namespace esphome {
|
||||
namespace esp32_hall {
|
||||
|
||||
class ESP32HallSensor : public sensor::PollingSensorComponent {
|
||||
class ESP32HallSensor : public sensor::Sensor, public PollingComponent {
|
||||
public:
|
||||
explicit ESP32HallSensor(const std::string &name, uint32_t update_interval)
|
||||
: sensor::PollingSensorComponent(name, update_interval) {}
|
||||
|
||||
void dump_config() override;
|
||||
|
||||
void update() override;
|
||||
|
||||
Reference in New Issue
Block a user