mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 21:10:25 +00:00
* add immich integration * bump aioimmich==0.3.1 * rework to require an url as input and pare it afterwards * fix doc strings * remove name attribute from deviceinfo as it is default behaviour * add translated uom for count sensors * explicitly pass in the config_entry in coordinator * fix url in strings to uppercase * use data_updates attribute instead of data * remove left over * match entries only by host * remove quotes * import SOURCE_USER directly, instead of config_entries * split happy and sad flow tests * remove unneccessary async_block_till_done() calls * replace url example by "full URL" * bump aioimmich==0.4.0 * bump aioimmich==0.5.0 * allow multiple users for same immich instance * Fix tests * limit entities when user has no admin rights * Fix tests * Fix tests --------- Co-authored-by: Joostlek <joostlek@outlook.com>
25 lines
470 B
Python
25 lines
470 B
Python
"""Constants for the Immich integration tests."""
|
|
|
|
from homeassistant.const import (
|
|
CONF_API_KEY,
|
|
CONF_HOST,
|
|
CONF_PORT,
|
|
CONF_SSL,
|
|
CONF_URL,
|
|
CONF_VERIFY_SSL,
|
|
)
|
|
|
|
MOCK_USER_DATA = {
|
|
CONF_URL: "http://localhost",
|
|
CONF_API_KEY: "abcdef0123456789",
|
|
CONF_VERIFY_SSL: False,
|
|
}
|
|
|
|
MOCK_CONFIG_ENTRY_DATA = {
|
|
CONF_HOST: "localhost",
|
|
CONF_API_KEY: "abcdef0123456789",
|
|
CONF_PORT: 80,
|
|
CONF_SSL: False,
|
|
CONF_VERIFY_SSL: False,
|
|
}
|