def mock_config_entry_v2(mock_config_entry_v1, entry_data_v5) -> config_entries.ConfigEntry:  # )
    """Create a mock config entry for Homematic(IP) Local."""

    entry = MockConfigEntry(
        entry_id=const.CONFIG_ENTRY_ID,
        version=2,
        domain=HMIP_DOMAIN,
        title=const.INSTANCE_NAME,
        data=entry_data_v5,
        options={},
        pref_disable_new_entities=False,
        pref_disable_polling=False,
        source="user",
        unique_id=const.CONFIG_ENTRY_UNIQUE_ID,
        disabled_by=None,
    )
    entry.runtime_data = "123"
    return entry
Create a mock config entry for Homematic(IP) Local.
tests/conftest.py