Add SharkIQ EU region support (#89349)

* SharkIQ Dep & Codeowner Update

* Update code owners

* Add EU Region Support

* Update Config Flow Tests

* Standardize Region Comparison Strings

* Add Translation Support to Region Selector

* Fix Validation Tests
This commit is contained in:
Mark Adkins 2023-03-28 02:48:32 -04:00 committed by GitHub
parent db6f0827aa
commit 38f3b9f165
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 80 additions and 18 deletions

View file

@ -1,6 +1,6 @@
"""Constants used in shark iq tests."""
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
from homeassistant.const import CONF_PASSWORD, CONF_REGION, CONF_USERNAME
# Dummy device dict of the form returned by AylaApi.list_devices()
SHARK_DEVICE_DICT = {
@ -69,6 +69,11 @@ SHARK_PROPERTIES_DICT = {
TEST_USERNAME = "test-username"
TEST_PASSWORD = "test-password"
TEST_REGION = "elsewhere"
UNIQUE_ID = "foo@bar.com"
CONFIG = {CONF_USERNAME: TEST_USERNAME, CONF_PASSWORD: TEST_PASSWORD}
CONFIG = {
CONF_USERNAME: TEST_USERNAME,
CONF_PASSWORD: TEST_PASSWORD,
CONF_REGION: TEST_REGION,
}
ENTRY_ID = "0123456789abcdef0123456789abcdef"