from unittest.mock import patch


def _patch_async_setup_entry(return_value=True):
    """Patch the async entry setup of sonarr."""
    return patch(
        "homeassistant.components.sonarr.async_setup_entry", return_value=return_value,
    )