From f070ef6d08cbafa5f984accae910bddfc32fe176 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 5 Apr 2026 09:43:58 -1000 Subject: [PATCH] preen --- esphome/components/ethernet/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/ethernet/__init__.py b/esphome/components/ethernet/__init__.py index ba80af74db..fe358f293d 100644 --- a/esphome/components/ethernet/__init__.py +++ b/esphome/components/ethernet/__init__.py @@ -234,7 +234,7 @@ def _is_framework_spi_polling_mode_supported() -> bool: return False -def _validate_spi_interface(config): +def _validate_spi_interface(config: ConfigType) -> ConfigType: """Set default SPI interface or validate user choice against the variant.""" if not CORE.is_esp32: return config