Say the floor's config-validation guard is future wiring, not present

Nothing at this commit enforces MIN_FRAMEWORK_VERSION during
validation; the native backend's validator arrives with the wiring PR.
The comment no longer invites skipping it.
This commit is contained in:
J. Nick Koston
2026-08-21 16:07:30 -05:00
parent cbf1241401
commit 97ed253c38
+2 -2
View File
@@ -107,8 +107,8 @@ class InstalledPaths(NamedTuple):
def check_and_install(framework_version: Version) -> InstalledPaths:
"""Ensure framework, toolchain, and ninja are installed; return their paths."""
if framework_version < MIN_FRAMEWORK_VERSION:
# Config validation enforces this too; keep the module honest when
# called directly.
# Config validation will enforce this once the native backend is
# wired in; keep the module honest when called directly.
raise EsphomeError(
f"The native toolchain requires the Arduino core "
f">= {MIN_FRAMEWORK_VERSION}, got {framework_version}"