mirror of
https://github.com/home-assistant/core.git
synced 2025-04-29 03:37:51 +00:00
9 lines
290 B
Python
9 lines
290 B
Python
"""Utility functions for the Whirlpool Sixth Sense integration."""
|
|
|
|
from whirlpool.backendselector import Brand, Region
|
|
|
|
|
|
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
|