1
mirror of https://github.com/home-assistant/core synced 2024-08-28 03:36:46 +02:00
ha-core/homeassistant/components/whirlpool/util.py
2023-01-01 20:10:41 +01:00

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