1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-22 03:33:52 +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

@@ -293,7 +293,7 @@ async def number_in_range_to_code(config, condition_id, template_arg, args):
return var
@coroutine_with_priority(40.0)
@coroutine_with_priority(100.0)
async def to_code(config):
cg.add_define("USE_NUMBER")
cg.add_global(number_ns.using)