From 1fdcbc3f1550b049dc47540a5f581180edf18b11 Mon Sep 17 00:00:00 2001 From: tdfountain <174762217+tdfountain@users.noreply.github.com> Date: Sun, 18 Aug 2024 14:14:54 -0700 Subject: [PATCH] Fix comment typo for _serial_from_status() in NUT (#124175) Fix comment typo for _serial_from_status() --- homeassistant/components/nut/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/nut/__init__.py b/homeassistant/components/nut/__init__.py index 3825db92983..2ce67c76649 100644 --- a/homeassistant/components/nut/__init__.py +++ b/homeassistant/components/nut/__init__.py @@ -172,7 +172,7 @@ def _firmware_from_status(status: dict[str, str]) -> str | None: def _serial_from_status(status: dict[str, str]) -> str | None: - """Find the best serialvalue from the status.""" + """Find the best serial value from the status.""" serial = status.get("device.serial") or status.get("ups.serial") if serial and ( serial.lower() in NUT_FAKE_SERIAL or serial.count("0") == len(serial.strip())