Files
esphome/tests/component_tests
Jesse Hills 78a0ffb812 [core] Drop unused return values from FINAL_VALIDATE_SCHEMA validators
loader.py declares final_validate_schema as Callable[[ConfigType], None]
and config.py discards whatever it returns, so a validator wired straight
to FINAL_VALIDATE_SCHEMA that ends in "return config" implies the value
matters when it does not. Drop those returns and annotate the functions
-> None. Validators composed into a cv.All still return their config,
since each one feeds the next. Returned validation calls are kept as
plain statements so no validation step is lost.
2026-10-15 00:15:51 +13:00
..