mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 10:47:51 +00:00

* update to 1.18.5 and add Brand to config, required for getting shared appliances * update version to 0.18.6 * start fixing tests * fix typo * check for falsy values instead of explicit None * move CONF_BRAND from global constants to whirlpool constants * add test for no brand, fix __init__ import * add brand to string.json * add brand to re-auth * add title/description, add brand info to description * add reauth strings * pass already initialized data dict Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * remove trailing comma * Update strings again * fix reauth tests to add brand --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
18 lines
341 B
Python
18 lines
341 B
Python
"""Constants for the Whirlpool Appliances integration."""
|
|
|
|
from whirlpool.backendselector import Brand, Region
|
|
|
|
DOMAIN = "whirlpool"
|
|
CONF_BRAND = "brand"
|
|
|
|
CONF_REGIONS_MAP = {
|
|
"EU": Region.EU,
|
|
"US": Region.US,
|
|
}
|
|
|
|
CONF_BRANDS_MAP = {
|
|
"Whirlpool": Brand.Whirlpool,
|
|
"Maytag": Brand.Maytag,
|
|
"KitchenAid": Brand.KitchenAid,
|
|
}
|