mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Fix Whirlpool type error in get_brand_for_region (#84944)
Fix type error
This commit is contained in:
parent
b65d4a9efd
commit
b72e0f1d87
@ -3,6 +3,6 @@
|
|||||||
from whirlpool.backendselector import Brand, Region
|
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."""
|
"""Get the correct brand for each region."""
|
||||||
return Brand.Maytag if region == Region.US else Brand.Whirlpool
|
return Brand.Maytag if region == Region.US else Brand.Whirlpool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user