1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-18 11:12:20 +01:00

Remove redundant get_setup_priority() overrides returning default value (#9253)

This commit is contained in:
J. Nick Koston
2025-06-29 13:46:28 -05:00
committed by GitHub
parent ddbcf8549c
commit ed9850c4a4
129 changed files with 0 additions and 147 deletions

View File

@@ -12,8 +12,6 @@ class AnalogThresholdBinarySensor : public Component, public binary_sensor::Bina
void dump_config() override;
void setup() override;
float get_setup_priority() const override { return setup_priority::DATA; }
void set_sensor(sensor::Sensor *analog_sensor);
template<typename T> void set_upper_threshold(T upper_threshold) { this->upper_threshold_ = upper_threshold; }
template<typename T> void set_lower_threshold(T lower_threshold) { this->lower_threshold_ = lower_threshold; }