ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
network_component.h
Go to the documentation of this file.
1#pragma once
3#if defined(USE_NETWORK) && defined(USE_ESP32)
5
6namespace esphome::network {
7class NetworkComponent : public Component {
8 public:
9 void setup() override;
10 // AFTER_BLUETOOTH: BLE controller must initialize before esp_netif_init per IDF guidance.
11 float get_setup_priority() const override { return setup_priority::AFTER_BLUETOOTH; }
12};
13} // namespace esphome::network
14#endif
float get_setup_priority() const override
constexpr float AFTER_BLUETOOTH
Definition component.h:47