mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Fix fan speed restore issue on boot (#1867)
This commit is contained in:
@@ -39,7 +39,7 @@ void FanState::setup() {
|
||||
call.set_direction(recovered.direction);
|
||||
call.perform();
|
||||
}
|
||||
float FanState::get_setup_priority() const { return setup_priority::HARDWARE - 1.0f; }
|
||||
float FanState::get_setup_priority() const { return setup_priority::DATA - 1.0f; }
|
||||
uint32_t FanState::hash_base() { return 418001110UL; }
|
||||
|
||||
void FanStateCall::perform() const {
|
||||
|
||||
Reference in New Issue
Block a user