mirror of
https://github.com/esphome/esphome.git
synced 2025-10-28 05:33:53 +00:00
Remove redundant get_setup_priority() overrides returning default value (#9253)
This commit is contained in:
@@ -12,7 +12,6 @@ class SwitchBinarySensor : public binary_sensor::BinarySensor, public Component
|
||||
void set_source(Switch *source) { source_ = source; }
|
||||
void setup() override;
|
||||
void dump_config() override;
|
||||
float get_setup_priority() const override { return setup_priority::DATA; }
|
||||
|
||||
protected:
|
||||
Switch *source_;
|
||||
|
||||
Reference in New Issue
Block a user