mirror of
https://github.com/esphome/esphome.git
synced 2026-09-19 19:18:47 +00:00
co-authored by
J. Nick Koston
parent
d6bc4fea1c
commit
3ed1356bb6
@@ -235,6 +235,6 @@ async def to_code(config):
|
||||
|
||||
|
||||
@coroutine_with_priority(CoroPriority.NETWORK_SERVICES)
|
||||
async def network_component_to_code(config):
|
||||
async def network_component_to_code(config: ConfigType) -> None:
|
||||
var = cg.new_Pvariable(config[CONF_ID])
|
||||
await cg.register_component(var, config)
|
||||
|
||||
Reference in New Issue
Block a user