From b9a9067d98f9141149641fc1396abb1b904280a4 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 23 Apr 2026 20:41:15 -0500 Subject: [PATCH] [mdns] Wrap validator error string at 80 cols --- esphome/components/mdns/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/components/mdns/__init__.py b/esphome/components/mdns/__init__.py index 741669280c8..2b25cf243d7 100644 --- a/esphome/components/mdns/__init__.py +++ b/esphome/components/mdns/__init__.py @@ -78,7 +78,8 @@ def _require_network_interface(config: ConfigType) -> ConfigType: if not (has_wifi or has_ethernet): options = "'wifi'" if CORE.is_esp8266 else "'wifi' or 'ethernet'" raise cv.Invalid( - f"mdns on this platform requires a network interface — add a {options} component to your configuration." + "mdns on this platform requires a network interface — " + f"add a {options} component to your configuration." ) return config