mirror of
https://github.com/home-assistant/core.git
synced 2025-05-16 11:59:16 +00:00

* New integration for Comelit SimpleHome * Address first review comments * cleanup * aiocomelit bump and coordinator cleanup * address review comments * Fix some review comments * Use config_entry.unique_id as last resort * review comments * Add config_flow tests * fix pre-commit missing checks * test_conflig_flow coverage to 100% * fix tests * address latest review comments * new ruff rule * address review comments * simplify unique_id
17 lines
403 B
Python
17 lines
403 B
Python
"""Common stuff for Comelit SimpleHome tests."""
|
|
from homeassistant.components.comelit.const import DOMAIN
|
|
from homeassistant.const import CONF_DEVICES, CONF_HOST, CONF_PIN
|
|
|
|
MOCK_CONFIG = {
|
|
DOMAIN: {
|
|
CONF_DEVICES: [
|
|
{
|
|
CONF_HOST: "fake_host",
|
|
CONF_PIN: "1234",
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
MOCK_USER_DATA = MOCK_CONFIG[DOMAIN][CONF_DEVICES][0]
|