1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix misleading + unclear comment in homeassistant.const (#152878)

This commit is contained in:
Erik Montnemery
2025-09-24 13:22:32 +02:00
committed by GitHub
parent 9babc85517
commit e14f5ba44d

View File

@@ -37,7 +37,7 @@ REQUIRED_NEXT_PYTHON_HA_RELEASE: Final = ""
# Format for platform files
PLATFORM_FORMAT: Final = "{platform}.{domain}"
# Type alias to avoid 1000 MyPy errors
# Explicit reexport to allow other modules to import Platform directly from const
Platform = EntityPlatforms
BASE_PLATFORMS: Final = {platform.value for platform in Platform}