Remove redundant text from documentation ()

I found an extra "when" in the documentation text.
pull/49271/head
Angeliki Papadopoulou 2021-04-15 19:05:07 +03:00 committed by GitHub
parent ec56ae2cbc
commit a529a12745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
homeassistant/util

View File

@ -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