mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 23:37:34 +00:00
Fix wifi so it doesn't double register.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user