1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-10 22:03:46 +01:00

[core] Update some coroutine priorities (#6755)

This commit is contained in:
Jesse Hills
2024-05-16 16:46:16 +12:00
committed by GitHub
parent 996f71c03c
commit 034c196ad8
7 changed files with 6 additions and 8 deletions

View File

@@ -156,7 +156,7 @@ async def new_datetime(config, *args):
return var
@coroutine_with_priority(40.0)
@coroutine_with_priority(100.0)
async def to_code(config):
cg.add_define("USE_DATETIME")
cg.add_global(datetime_ns.using)