Fix incorrect entity count due to undefined execution order with globals (#10497)
This commit is contained in:
1 parent
950299e52b
commit
de998f2f39
2 files changed
+23
-1
No files matched your search
@@ -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