def set_addon_options_side_effect_fixture(addon_options):
    """Return the set add-on options side effect."""

    async def set_addon_options(hass, slug, options):
        """Mock set add-on options."""
        addon_options.update(options["options"])

    return set_addon_options