From a529a1274567a65a00956616901531d37dd31d2b Mon Sep 17 00:00:00 2001 From: Angeliki Papadopoulou <56366807+apapadopoulou@users.noreply.github.com> Date: Thu, 15 Apr 2021 19:05:07 +0300 Subject: [PATCH] Remove redundant text from documentation (#49262) I found an extra "when" in the documentation text. --- homeassistant/util/percentage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/util/percentage.py b/homeassistant/util/percentage.py index ec05a2dc2ec..42beeeb5523 100644 --- a/homeassistant/util/percentage.py +++ b/homeassistant/util/percentage.py @@ -8,7 +8,7 @@ def ordered_list_item_to_percentage(ordered_list: list[str], item: str) -> int: When using this utility for fan speeds, do not include "off" Given the list: ["low", "medium", "high", "very_high"], this - function will return the following when when the item is passed + function will return the following when the item is passed in: low: 25