mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 15:34:53 +01:00
Set up output_switch at priority DATA instead of HARDWARE. (#2648)
This commit is contained in:
parent
366552a969
commit
97eaf3d4a1
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class OutputSwitch : public switch_::Switch, public Component {
|
|||
void set_output(BinaryOutput *output) { output_ = output; }
|
||||
|
||||
void setup() override;
|
||||
float get_setup_priority() const override { return setup_priority::HARDWARE; }
|
||||
float get_setup_priority() const override { return setup_priority::HARDWARE - 1.0f; }
|
||||
void dump_config() override;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Reference in a new issue