diff --git a/esphome/components/wifi/__init__.py b/esphome/components/wifi/__init__.py index c10509ee72..34eb8ec505 100644 --- a/esphome/components/wifi/__init__.py +++ b/esphome/components/wifi/__init__.py @@ -455,7 +455,6 @@ def wifi_network(config, ap, static_ip): @coroutine_with_priority(CoroPriority.COMMUNICATION) async def to_code(config): var = cg.new_Pvariable(config[CONF_ID]) - await cg.register_component(var, config) prio = get_network_priority("wifi") if prio is not None: