mirror of
https://github.com/esphome/esphome.git
synced 2025-09-26 23:22:21 +01:00
Allow setup to continue past mqtt if network/wifi is disabled (#5754)
This commit is contained in:
@@ -147,7 +147,7 @@ void MQTTClientComponent::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, " Availability: '%s'", this->availability_.topic.c_str());
|
||||
}
|
||||
}
|
||||
bool MQTTClientComponent::can_proceed() { return this->is_connected(); }
|
||||
bool MQTTClientComponent::can_proceed() { return network::is_disabled() || this->is_connected(); }
|
||||
|
||||
void MQTTClientComponent::start_dnslookup_() {
|
||||
for (auto &subscription : this->subscriptions_) {
|
||||
|
Reference in New Issue
Block a user