async def mock_bermuda_entry(hass: HomeAssistant):
    """This creates a mock config entry"""
    config_entry = MockConfigEntry(domain=DOMAIN, data=MOCK_CONFIG, entry_id="test", title=NAME)
    config_entry.add_to_hass(hass)
    await hass.async_block_till_done()
    return config_entry
This creates a mock config entry
tests/conftest.py