mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 06:58:11 +01:00
Await cg.get_variable in Update component (#6974)
This commit is contained in:
parent
e39961f7f1
commit
5bd5b777a6
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ async def setup_update_core_(var, config):
|
|||
await mqtt.register_mqtt_component(mqtt_, config)
|
||||
|
||||
if web_server_id_config := config.get(CONF_WEB_SERVER_ID):
|
||||
web_server_ = cg.get_variable(web_server_id_config)
|
||||
web_server_ = await cg.get_variable(web_server_id_config)
|
||||
web_server.add_entity_to_sorting_list(web_server_, var, config)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue