From b72e0f1d87625b6b5d7e5927d6f26a15d2cc8eea Mon Sep 17 00:00:00 2001 From: mkmer Date: Sun, 1 Jan 2023 14:10:41 -0500 Subject: [PATCH] Fix Whirlpool type error in get_brand_for_region (#84944) Fix type error --- homeassistant/components/whirlpool/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/whirlpool/util.py b/homeassistant/components/whirlpool/util.py index 9467064dc96..55b094f76ac 100644 --- a/homeassistant/components/whirlpool/util.py +++ b/homeassistant/components/whirlpool/util.py @@ -3,6 +3,6 @@ from whirlpool.backendselector import Brand, Region -def get_brand_for_region(region: Region) -> bool: +def get_brand_for_region(region: Region) -> Brand: """Get the correct brand for each region.""" return Brand.Maytag if region == Region.US else Brand.Whirlpool