async def _async_service_fetch_system_variables(hass: HomeAssistant, service: ServiceCall) -> None:
    """Service to fetch system variables from backend."""
    entry_id = service.data[CONF_ENTRY_ID]
    if control := _async_get_control_unit(hass=hass, entry_id=entry_id):
        await control.central.fetch_program_data(scheduled=False)
        await control.central.fetch_sysvar_data(scheduled=False)
Service to fetch system variables from backend.
custom_components/homematicip_local/services.py