mirror of
https://github.com/esphome/esphome.git
synced 2025-09-22 21:22:22 +01:00
Fix incorrect entity count due to undefined execution order with globals (#10497)
This commit is contained in:
@@ -423,7 +423,7 @@ async def _add_automations(config):
|
||||
DATETIME_SUBTYPES = {"date", "time", "datetime"}
|
||||
|
||||
|
||||
@coroutine_with_priority(-100.0)
|
||||
@coroutine_with_priority(-1000.0)
|
||||
async def _add_platform_defines() -> None:
|
||||
# Generate compile-time defines for platforms that have actual entities
|
||||
# Only add USE_* and count defines when there are entities
|
||||
|
Reference in New Issue
Block a user