mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 19:32:19 +01:00
Fix MQTT on_message trigger (#583)
Fixes https://github.com/esphome/issues/issues/363 Fixes https://github.com/esphome/issues/issues/364
This commit is contained in:
@@ -87,7 +87,7 @@ void DeepSleepComponent::begin_sleep(bool manual) {
|
||||
ESP.deepSleep(*this->sleep_duration_);
|
||||
#endif
|
||||
}
|
||||
float DeepSleepComponent::get_setup_priority() const { return -100.0f; }
|
||||
float DeepSleepComponent::get_setup_priority() const { return setup_priority::LATE; }
|
||||
void DeepSleepComponent::prevent_deep_sleep() { this->prevent_ = true; }
|
||||
|
||||
} // namespace deep_sleep
|
||||
|
Reference in New Issue
Block a user