mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Fix Whirlpool type error in get_brand_for_region (#84944)
Fix type error
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user